Case Converter

Change text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase and more.

How to use the case converter

Paste or type your text, then press the button for the case you want. The text in the box is replaced with the converted version, and Undo restores what you had before. Press Copy text to take the result back to your document, spreadsheet or code editor.

What each option does

  • UPPERCASE / lowercase: changes every letter, including accented letters.
  • Title Case: capitalises main words for headlines and leaves minor words lowercase.
  • Sentence case: capitalises only the first letter of each sentence.
  • camelCase / PascalCase: joins words for variable and class names.
  • snake_case / kebab-case / CONSTANT_CASE: joins words with underscores or hyphens for file names, URLs, database columns and constants.
  • Invert case: swaps upper and lower, handy after typing with Caps Lock on.

How words are detected for code-style cases

For the programming cases, each line is split into words at spaces, punctuation, underscores and hyphens, and also where a lowercase letter is followed by a capital, so userFirstName converts cleanly to user_first_name. Line breaks are kept, which lets you convert a whole column of names in one go.

Frequently asked questions

What is title case?

Title case capitalises the first letter of the main words in a heading. This tool capitalises every word except short articles, conjunctions and prepositions such as “a”, “and”, “of” and “to”, unless they are the first or last word.

What is the difference between camelCase, snake_case and kebab-case?

All three join words without spaces. camelCase capitalises each word after the first (userFirstName), snake_case joins lowercase words with underscores (user_first_name) and kebab-case joins them with hyphens (user-first-name).

Does sentence case keep names capitalised?

No. Sentence case lowercases everything and then capitalises the first letter of each sentence and the standalone word “I”. Proper nouns such as names and places need to be re-capitalised by hand.

Is my text sent anywhere?

No. The conversion runs entirely in your browser and the text is not stored or transmitted.

Related tools