Case Converter

Paste text and switch among common letter-case and programmer naming styles, then copy the result.

Use the tool

Letter case is a convention, not a single global rule

Upper and lower case are straightforward in English. Title case here capitalises the first letter after a space or simple punctuation, which is useful for headings but will not apply every publisher’s “do not capitalise small words” style guide. Sentence case capitalises the first letter of the text and the first letter after a full stop, question mark, or exclamation mark.

The developer styles — camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE — split the input on spaces, hyphens, or underscores and rejoin the words. They are handy when you are renaming identifiers or turning a heading into a slug. They are not a full Unicode identifier parser, and they will not know your project’s lint rules.

Toggle case flips each letter. Alternating case walks only the letters and leaves punctuation in place, which is useful for a playful line and a poor choice for a legal heading. Copy uses your browser’s clipboard when the page is allowed to write to it.

The text does not leave this page. Accents and other Latin letters are preserved in upper/lower where the JavaScript string methods support them; title-casing of every language’s rules is not claimed.

A practical workflow is to keep the original in the input box and only copy from the output, so you can switch styles without retyping. For a document title, title case plus a quick manual pass on small words is usually enough. For code, generate snake_case or camelCase and then run your project’s formatter, which will catch reserved words and numbers at the start of a name.

If you paste rich text and see odd symbols, paste into the box as plain text first (many editors have a “paste without formatting” command) so the converter is working on letters, not leftover markup.

Frequently asked questions

Why isn’t “of” left small in title case?

This tool uses a simple first-letter rule, not a word list of articles and prepositions. Edit those words if a style guide requires it.

Will camelCase drop punctuation?

Words are split on spaces, hyphens, and underscores. Other punctuation may stay attached to a word. Clean the input if you need a strict identifier.

Is text uploaded?

No. Conversion runs in your browser.

Does Copy always work?

It uses the clipboard API. If a browser blocks it, select the output box and copy manually.

Results

Enter figures or add a file to see a result.