Skip to content
tools.best

Browse all tools

Convert Case

Paste text, pick a case, copy the result. Twelve conversions, from UPPER CASE to snake_case.

Runs in your browser. Your text is not sent to a server. Sources: Unicode Updated

Case
66 characters
66 characters

Text cases explained: sentence, title, camelCase and more

CaseRuleExample
Sentence caseLowercase everything, then capitalize the first letter of the text, of each line and after . ! ?. The pronoun "I" is capitalized.The quick brown fox. It barked!
lower caseEvery letter lowercase.the quick brown fox. it barked!
UPPER CASEEvery letter uppercase.THE QUICK BROWN FOX. IT BARKED!
Capitalized CaseFirst letter of every word uppercase, the rest lowercase.The Quick Brown Fox. It Barked!
Title CaseLike Capitalized Case, but articles, conjunctions and prepositions of three letters or fewer stay lowercase unless they come first.The Return of the King
aLtErNaTiNgLetters alternate lower, upper, lower. Spaces and punctuation are skipped.tHe QuIcK bRoWn FoX. iT bArKeD!
iNVERSEEvery letter swaps its case.hELLO wORLD
camelCaseWords joined, each capitalized except the first.theQuickBrownFox
PascalCaseWords joined, each capitalized.TheQuickBrownFox
snake_caseLowercase words joined with underscores.the_quick_brown_fox
kebab-caseLowercase words joined with hyphens.the-quick-brown-fox
CONSTANT_CASEUppercase words joined with underscores.THE_QUICK_BROWN_FOX

How to change a heading to title case and snake_case

Take the heading the quick brown fox jumps over the lazy dog.

  1. Title Case capitalizes the first word and every word of four letters or more, and keeps the second "the" lowercase: The Quick Brown Fox Jumps Over the Lazy Dog
  2. snake_case lowercases the words and joins them with underscores, ready for a variable or file name: the_quick_brown_fox_jumps_over_the_lazy_dog
  3. Swap moves that result to the left pane. Choosing camelCase now splits it at the underscores and gives theQuickBrownFoxJumpsOverTheLazyDog
The line "the quick brown fox. it barked" in eight cases from the case converter: Sentence case, UPPER CASE, Title Case, aLtErNaTiNg, camelCase theQuickBrownFoxItBarked, snake_case the_quick_brown_fox_it_barked, kebab-case and CONSTANT_CASE.
The five code cases drop the full stop and the spaces; the other cases only change letters.

How camelCase and snake_case split words

camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE first split the text into words. A new word starts at any space or punctuation mark, at a lowercase letter followed by an uppercase one, and before the last capital of a run of capitals.

That is why parseHTTPResponse becomes parse_http_response and not parse_h_t_t_p_response. Each line is converted on its own, so a list of names stays a list.

What case conversion leaves unchanged

Sentence, lower, upper, capitalized, alternating and inverse case only touch letters. Digits, punctuation, line breaks and spacing stay exactly as you typed them. The five code cases remove punctuation and spaces, because that is their job.

The tool has no dictionary. Sentence case will lowercase names and acronyms ("paris", "nasa"), so check proper nouns after converting. Title Case keeps a word that you typed with capitals inside it, such as iPhone or NASA, unless the whole line is in capitals.

For a headline that has to follow APA, AP, Chicago or MLA style, use Capitalize My Title, which knows each guide's list of short words. For bold or italic letters that survive a copy and paste into a profile or a plain-text message, the Unicode text converter swaps letters for styled characters. After converting a list, the alphabetical order generator sorts it, and the letter counter checks its length.

Convert Case: FAQ

How do I change uppercase to lowercase, or small letters to capitals?
Paste the text into the left pane and choose lower case. If the text was typed with Caps Lock on and you want normal sentences back, choose Sentence case instead: it lowers everything and then capitalizes the first letter of each sentence. For the reverse, UPPER CASE turns every small letter into a capital, and Capitalized Case capitalizes only the first letter of each word.
What is the difference between Title Case and Capitalized Case?
Capitalized Case gives every word a capital letter: The Lord Of The Rings. Title Case leaves short articles, conjunctions and prepositions in lower case unless they come first: The Lord of the Rings.
Which title case rule does this tool follow?
The APA rule: capitalize the first word and every word of four letters or more, and lowercase articles, conjunctions and prepositions of three letters or fewer. For AP, Chicago or MLA style use Capitalize My Title.
Does it work with accented letters and other alphabets?
Yes. Upper and lower case use the Unicode case mappings built into your browser, so é becomes É and Greek or Cyrillic letters convert too. Scripts without case, such as Chinese or Arabic, are left as they are.
Is there a limit on how much text I can convert?
There is no fixed limit. The conversion runs on your device, so very long documents depend on your device's memory, not on a server.

Sources