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
| Button | Result |
|---|---|
| UPPER CASE | THE QUICK BROWN FOX. IT'S AN IPHONE, ISN'T IT? NASA SAID SO. |
| lower case | the quick brown fox. it's an iphone, isn't it? nasa said so. |
| Title Case | The Quick Brown Fox. It's An iPhone, Isn't It? Nasa Said So. |
| Sentence case | The quick brown fox. It's an iphone, isn't it? Nasa said so. |
| camelCase | theQuickBrownFoxItsAnIphoneIsntItNasaSaidSo |
| PascalCase | TheQuickBrownFoxItsAnIphoneIsntItNasaSaidSo |
| snake_case | the_quick_brown_fox_its_an_iphone_isnt_it_nasa_said_so |
| kebab-case | the-quick-brown-fox-its-an-iphone-isnt-it-nasa-said-so |
| CONSTANT_CASE | THE_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
- Type or paste the text into the box.
- Press one of the nine buttons. The text in the box is replaced by the converted text.
- 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 toolsWord Counter
Paste or type text to count words, characters with and without spaces, sentences, paragraphs and lines, plus reading time at 200 wpm and speaking time at 130.
Reverse String
Reverse text by character, word order, letters in each word or line order. Emoji, flags and accented letters stay whole instead of breaking apart.
Remove Duplicate Lines
Remove duplicate lines, or comma, tab or space separated items, keeping the first or last copy, with case, trimming, blank-line and sort options.
Text Replacement
Find and replace text in a pasted block, as plain text or regex, with a case option. Replace All gives the result and the number of replacements made.
Lorem Ipsum Generator
Generate lorem ipsum placeholder text as paragraphs, sentences or words, up to 100 paragraphs or 5,000 words, with optional HTML paragraph tags.
Random Text Generator
Generate 1 to 100 sentences or paragraphs picked from a fixed list of 20 well-known sayings. Useful as filler text and writing prompts.