Skip to main content
CalcChef

Case Converter

Convert text to UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE in one click. How it works

Use the Case Converter

Words are runs of letters and numbers. Title Case lower-cases all-capital words and keeps words with a capital after the first letter, such as iPhone. Sentence case lower-cases the rest of each sentence, so proper nouns and acronyms change too. camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE join the words (apostrophes are dropped) and keep letters and numbers only.

About the Case Converter

The converter has nine buttons: UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Title Case capitalizes every word, including "the" and "of", and lower-cases all-capital words first, so "NASA" becomes "Nasa". camelCase turns "user name" into "userName", and snake_case turns "hello big world" into "hello_big_world".

One text through all nine buttons

ButtonResult
UPPER CASETHE QUICK BROWN FOX. IT'S AN IPHONE, ISN'T IT? NASA SAID SO.
lower casethe quick brown fox. it's an iphone, isn't it? nasa said so.
Title CaseThe Quick Brown Fox. It's An iPhone, Isn't It? Nasa Said So.
Sentence caseThe quick brown fox. It's an iphone, isn't it? Nasa said so.
camelCasetheQuickBrownFoxItsAnIphoneIsntItNasaSaidSo
PascalCaseTheQuickBrownFoxItsAnIphoneIsntItNasaSaidSo
snake_casethe_quick_brown_fox_its_an_iphone_isnt_it_nasa_said_so
kebab-casethe-quick-brown-fox-its-an-iphone-isnt-it-nasa-said-so
CONSTANT_CASETHE_QUICK_BROWN_FOX_ITS_AN_IPHONE_ISNT_IT_NASA_SAID_SO

Input text: the quick BROWN fox. it's an iPhone, isn't it? NASA said so. Title Case keeps iPhone because it has a capital after its first letter, and turns NASA into Nasa. The four code styles drop the punctuation and apostrophes.

How to use this tool

  1. Type or paste the text into the box.
  2. Press one of the nine buttons. The text in the box is replaced by the converted text.
  3. Use the undo button to get back the text from before the last conversion, then copy the result.

Frequently asked questions

How do I fix text typed in Caps Lock?
Paste the text and press Sentence case: it lower-cases everything and puts a capital back at the start of each sentence and each line. Read the result before you use it, because names, acronyms and the word "I" come out in lower case. If the text was all headings, press Title Case instead.
Does Title Case follow APA, MLA or Chicago rules?
No. It capitalizes every word, so "the lord of the rings" becomes "The Lord Of The Rings". If your style guide keeps short words such as "of" in lower case, change them by hand.
Why does Sentence case turn "I" into "i" and change names?
It lower-cases the whole text first, then capitalizes only the first letter after a full stop, exclamation mark or question mark followed by a space, and at the start of each line. It knows nothing about words, so "YESTERDAY I MET DR. SMITH IN PARIS." becomes "Yesterday i met dr. Smith in paris.": the pronoun and the place lose their capitals, and Smith keeps one only because "Dr." ends in a full stop. Fix those by hand.
How does camelCase treat spaces, punctuation and accents?
Spaces, commas, hyphens, underscores, apostrophes and emoji are dropped and the next word is capitalized: "hello,world" becomes "helloWorld" and "don’t stop" becomes "dontStop". Letters outside ASCII are kept: "café au lait" becomes "caféAuLait", which not every programming language accepts as a name.
Can it convert to snake_case, kebab-case or CONSTANT_CASE?
Yes. "hello big world" becomes "hello_big_world" in snake_case, "hello-big-world" in kebab-case, "HELLO_BIG_WORLD" in CONSTANT_CASE and "HelloBigWorld" in PascalCase. Words split only at spaces and punctuation, so a name already in camelCase is one word: "userName" in snake_case is "username". To split a name at its capitals, use the Slug to Pascal Case Converter.
Is there a length limit, and can I undo a conversion?
The text can be up to 100,000 characters; above that the buttons are disabled and a message shows. Undo restores the text from before the last conversion once, and typing in the box clears it.

Related Tools

View all tools