Skip to content
Utilboxes

Case Converter

Paste your text and click a case to convert it: uppercase, lowercase, title case, sentence case, or code styles such as camelCase, PascalCase, snake_case and kebab-case. Title case leaves minor words like 'and' and 'of' lowercase, as publishers do. Your original is kept, so you can try each case in turn. Nothing is uploaded.

Runs entirely in your browser

Updated

How to use the Case Converter

  1. 1Paste your text.
  2. 2Click the case you want; the result appears immediately.
  3. 3Keep clicking to try others — the original is preserved so nothing is lost.
  4. 4Copy the result or download it.

How it works

The prose cases are straightforward, except title case. Proper title case does not capitalise every word: short articles, conjunctions and prepositions stay lowercase unless they are the first or last word. The tool follows that convention using a standard list of minor words, so you get 'The Rise and Fall of the House' rather than 'The Rise And Fall Of The House'.

The programming cases first split the input into words, handling spaces, hyphens, underscores and existing camelCase boundaries, then rejoin them in the target style. That means camelCase input converts cleanly to snake_case and back without losing word boundaries.

Sentence case capitalises after each sentence-ending punctuation mark and lowercases the rest, which is the fastest way to fix text that arrived in all capitals.

Your text is processed by JavaScript running in this page and is never sent over the network. That matters when you are pasting a draft, a client brief, meeting notes or anything else you would rather not hand to a server.

Tips and common mistakes

  • Use sentence case to fix text that arrived in all capitals.
  • Check names and brands after converting to sentence or lower case; they need their capitals put back.
  • Use kebab-case for web addresses and CSS class names, and snake_case for many database columns.
  • Title case rules differ between style guides; follow the one your publication uses.

Frequently asked questions

What is the difference between title case and capitalised case?
Title case follows publishing convention and leaves minor words like 'and', 'of' and 'the' lowercase unless they start or end the title. Capitalised case capitalises every word.
What is the difference between camelCase and PascalCase?
PascalCase capitalises the first letter (MyVariableName); camelCase does not (myVariableName). Both remove the spaces.
Can I convert code identifiers between styles?
Yes. Word boundaries are detected from existing capitals, underscores and hyphens, so snake_case converts cleanly to camelCase and back.
Which case should I use for headings?
Either sentence case or title case, depending on the style you follow. Sentence case is easier to read and is common on websites; title case is traditional in books and newspapers.
What are kebab-case and snake_case used for?
kebab-case joins words with hyphens and suits web addresses and CSS. snake_case joins them with underscores and is common in Python and database column names.
Does sentence case keep proper nouns capitalised?
No. It capitalises the start of each sentence and lower-cases the rest, so names need fixing by hand afterwards.

Guides