Case Converter

Paste your text, pick a case, and copy the result - upper, lower, title, sentence, camelCase, snake_case and more.

Converted in place - click a button above.

Every case in one place

Retyping a heading just to fix its capitalisation is a waste of time, and re-casing code identifiers by hand is worse. Paste your text once, click a style, and the box is rewritten in place ready to copy. Nine conversions are covered, from everyday writing styles to the naming conventions programmers use.

What each option does

  • UPPERCASE - every letter capitalised: HELLO WORLD.
  • lowercase - every letter reduced: hello world.
  • Title Case - each major word capitalised, with small words like "of" and "the" left lowercase unless first or last: A Tale of Two Cities.
  • Sentence case - first letter of each sentence capitalised, the rest lowercase.
  • camelCase - joined, first word lowercase: myVariableName.
  • PascalCase - joined, every word capitalised: MyVariableName.
  • snake_case - lowercase words joined by underscores: my_variable_name.
  • kebab-case - lowercase words joined by hyphens: my-variable-name.
  • aLtErNaTiNg - flip-flopping caps for a playful, mocking look.

Title case done properly

Naive title case capitalises the first letter of every word, which gives you the wrong result for phrases like "The Lord Of The Rings". Real title case keeps short articles, conjunctions and prepositions - a, an, the, and, but, or, of, to, in, on, at, by, with and friends - lowercase, unless they land first or last. This tool applies that rule, so "gone with the wind" comes out as "Gone with the Wind".

Related text tools

Need to check length instead of case? The character counter and word counter give live totals. Turning a heading into a URL? The slug generator produces a clean kebab-case slug with accents and stop words handled.

Frequently asked questions

What is the difference between title case and sentence case?
Title case capitalises the first letter of every important word, like "The Lord of the Rings", and is used for headlines and titles. Sentence case only capitalises the first word and any proper nouns, like "The lord of the rings", the way you write a normal sentence.
Which small words stay lowercase in title case?
Short articles, conjunctions and prepositions stay lowercase unless they are the first or last word - words such as a, an, the, and, but, or, for, nor, of, to, in, on, at, by and with. This tool follows that convention automatically, so "gone with the wind" becomes "Gone with the Wind".
What is camelCase versus PascalCase?
Both join words with no spaces and capitalise each word after the first. camelCase leaves the first letter lowercase (myVariableName), while PascalCase capitalises it too (MyVariableName). camelCase is common for variables and PascalCase for class and component names.
When should I use snake_case or kebab-case?
snake_case joins words with underscores (user_id) and is common in Python, databases and file names. kebab-case joins with hyphens (user-id) and is used for URLs, CSS classes and slugs because hyphens are URL-friendly.
Is my text uploaded when I convert it?
No. Every conversion runs in your browser with JavaScript, so nothing you paste is sent to a server. It is safe to use with private or unpublished writing.