Skip to content
cliplimeClipLime

Text in ALL CAPS, a headline that needs title case, a variable in the wrong style? Fix the case in one paste

What each of the twelve cases is for, the real rules behind title case, which naming style goes with which language, and what a converter cannot know about your text.

6 min readUpdated October 27, 2026

Skip the readingCase Converter: Convert text to upper, lower, title, sentence, camel, snake, kebab and other cases.

The quick answer: paste it, pick the case, copy

A column came out of the spreadsheet in ALL CAPS, a headline needs title case, or a name is user_first_name where your code wants userFirstName. Paste it into the case converter, pick the style and copy the result. A panel under it shows the first line of your text in all twelve styles at once.

  1. Paste your text. A list keeps its line breaks.
  2. Pick the style: Sentence case for text typed in capitals, Title Case for a headline, camelCase, snake_case or kebab-case for names in code.
  3. Open the options if needed: AP and APA or Chicago and MLA rules for title case, the Turkish i, and keeping capitals that already sit inside words, such as NASA.
  4. Read the result, then press Copy.
Case ConverterPaste your text, pick one of twelve styles and copy the result. Nothing is uploaded.Open it

If you already know the style, these pages open with it chosen: uppercase, lowercase, title case, sentence case, camelCase and snake_case.

The twelve cases, with an example and the usual job

This is the phrase the cat in the hat in each style.

StyleResultNormally used for
UPPER CASETHE CAT IN THE HATAcronyms, warning labels, short headings
lower casethe cat in the hatTags, usernames, emails, search terms
Title CaseThe Cat in the HatHeadlines and titles of works
Capitalize Each WordThe Cat In The HatNames and simple labels
Sentence caseThe cat in the hatOrdinary writing, interface text
camelCasetheCatInTheHatVariables and functions in JavaScript, Java, Swift
PascalCaseTheCatInTheHatClasses and types
snake_casethe_cat_in_the_hatPython, Ruby, Rust, SQL columns
kebab-casethe-cat-in-the-hatURLs, CSS classes, file names
CONSTANT_CASETHE_CAT_IN_THE_HATConstants, environment variables
aLtErNaTiNgtHe CaT iN tHe HaTMocking text in memes
iNVERSE cASEhELLO wORLD becomes Hello WorldRescuing caps lock mistakes

Fixing text typed with caps lock on

Which style rescues the text depends on how it went wrong.

What you havePickResult
MEETING NOTES FROM MONDAY. THANKS, ANNASentence caseMeeting notes from monday. Thanks, anna
hELLO wORLD (shift held while caps lock was on)iNVERSE cASEHello World
How To Write A Good Headline For NASASentence caseHow to write a good headline for NASA

In the first row monday and anna lost their capitals. A program cannot tell a name from an ordinary word, and in text that was entirely in capitals nothing hints which words were names, so put those back by hand. In the third row NASA survived, because words with capitals inside are kept on purpose. That same rule means Sentence case leaves hELLO wORLD untouched. Inverse case swaps every letter, so use it only on flipped text.

Title case: the rules, and why two tools give two answers

Title case capitalizes the important words of a title and leaves the small ones in lower case. Where the line falls is a matter of style, not grammar, so style guides draw it in different places. Two tools can disagree about one headline and both be right for their guide.

Most guides agree that the first and last word get a capital, so does the first word after a colon, and verbs are capitalized however short: What to Do When the Server Is Down. The setting that matters is how long a preposition may be before it earns a capital:

HeadlineAP and APA settingChicago and MLA setting
a walk through the parkA Walk Through the ParkA Walk through the Park
tips for working from homeTips for Working From HomeTips for Working from Home
the cat in the hatThe Cat in the HatThe Cat in the Hat

The AP and APA setting capitalizes words of four letters or more. AP uses sentence case for its own news headlines, so its four letter rule applies to the titles of books, films and the like. The Chicago and MLA setting also lowers longer prepositions such as through, with and between, but it keeps words that are only sometimes prepositions, such as inside, near, past and up, in capitals because a program cannot tell how you use them. Use the guide your publication, school or employer names, and the same one everywhere. The title case converter opens with that choice in its options.

What no converter can know

A program sees letters, not meaning. It lowers in and on unless they come first, last or after a colon, so how to log in to your account becomes How to Log in to Your Account, and a guide that treats log in as a verb wants In capitalized. Its small word lists are English only, and it cannot spot a proper noun typed in lower case. Read a headline once before it goes out.

camelCase, snake_case, kebab-case: which one for which code

Names in code cannot contain spaces, so each convention marks where a new word starts in its own way. The language community and the project you join decide which to use, not taste.

ConventionLooks likeUsual home
camelCasegetUserNameVariables and functions in JavaScript, TypeScript, Java, Kotlin, Swift; keys of many JSON APIs
PascalCaseUserAccountClasses and types in those languages
snake_caseget_user_namePython, Ruby and Rust variables and functions; SQL table and column names
kebab-caseget-user-nameURLs, CSS class names, HTML attributes, file names
CONSTANT_CASEMAX_RETRIESConstants and environment variables

Hyphens fail in most variable names because they read as a minus sign: user-name is user minus name. That is why hyphens live in addresses and style sheets, and underscores in code and data. If a project already has a habit, follow it. For JSON keys, see format and validate JSON.

The converter splits a name at spaces, punctuation, underscores, hyphens and wherever a lowercase letter or digit meets a capital. So user_first_name, user-first-name and userFirstName become the same three words, and you can convert between styles directly. Spreadsheet headers such as First Name and Date of Birth come out as firstName and dateOfBirth, one per line.

kebab-case keeps accents, so café au lait becomes café-au-lait. For a web address, use the slug generator, which turns é into e.

Accents, numbers and acronyms

  • Accents are kept. é becomes É. Scripts without case, such as Chinese and Arabic, are left as they are.
  • German ß has no capital in everyday use. Upper case writes SS and lower case gives ss, so straße becomes STRASSE and then strasse.
  • Turkish has dotted and dotless i. With the Turkish letter rules, istanbul becomes İSTANBUL.
  • Acronyms such as NASA are kept in title, capitalize and sentence case, unless the whole text is capitals. Then HOW TO WRITE A HEADLINE FOR NASA comes back as How to Write a Headline for Nasa.

The code styles drop spaces and punctuation and treat acronyms as ordinary words. If your code base keeps acronyms in capitals, fix those by hand.

InputcamelCasesnake_case
XML HTTP requestxmlHttpRequestxml_http_request
HTTPServerhttpServerhttp_server
userIDsuserIdsuser_ids
version2Updateversion2Updateversion2_update
it's readyitsReadyits_ready
2nd place winner2ndPlaceWinner2nd_place_winner

Digits stay with the word before them and apostrophes are dropped. The last row shows what the tool does not check: most languages do not allow a name that starts with a digit.

Three ways it goes wrong

  • The names disappeared. After fixing a shouting paragraph, Monday and Anna are lower case. Fix: restore them by hand.
  • The headline looks off. Verb phrases such as log in need a human eye. Fix: choose your publication's guide, then correct the few words it treats differently.
  • The name converts but cannot be used. It starts with a digit, clashes with a reserved word or is too long for your database. Fix: rename it, and check your database's limit on name length.

Clean first, then convert

Apart from the code styles, which drop spaces and punctuation, a case converter changes letters and nothing else. Extra spaces, curly quotes and invisible characters stay, so run text from the web or a PDF through the text cleaner first. Apple and apple are different lines in the duplicate line remover while its Case sensitive switch is on, which it is to begin with, so lowercase them here or switch it off before you remove duplicates and sort a list. To see what a case change did to a long text, compare the two versions with Ignore case off.

Try it yourself

Questions people ask

How do I change ALL CAPS text to normal sentences?

Paste it into the sentence case converter. It lowers every word and capitalizes the start of each sentence. Names and days come back in lower case, so restore their capitals by hand. If the text looks flipped, like hELLO wORLD, use inverse case instead.

What is the difference between title case and capitalizing every word?

Title case keeps small words such as a, of and the in lower case, except at the start and end: The Cat in the Hat. Capitalize Each Word gives every word a capital: The Cat In The Hat. Use the title case converter for headlines.

Should I use camelCase or snake_case?

Follow the language and the project you are in. camelCase is usual in JavaScript, Java and Swift, snake_case in Python, Ruby and Rust, and either is fine if a code base sticks to one. The camelCase converter and snake_case converter switch between them.

Why are names and acronyms wrong after converting?

A program cannot tell a name like Paris from any other word. Capitals inside a word (NASA, iPhone) are kept, but only when the text is not entirely in capitals. In all-capitals text every word is lowered first, so fix names and acronyms by hand.

All Text guides Browse all text tools