keentext
  1. Home
  2. Case converter

Case converter

Paste your text and pick a case. Title Case follows real headline rules, and every change can be undone.

17 words · 104 charactersSelect part of the text to convert just that part.

Convert to

For writing

For code

Fun and fixes

How to use the case converter

  1. Paste your text, type it, or open a text file.
  2. Pick a case on the right. The text changes in place.
  3. To change only part of it, select that part first: just the selection is converted.
  4. Changed your mind? Press Undo (or Ctrl+Z / ⌘Z). Then copy the result or download it as a .txt file.

Every case, with examples

CaseExampleUsed for
Sentence caseThe quick guide to writing headlinesMost body text, many UI labels, Google and Apple style headings
lowercasethe quick guide to writing headlinesTags, email addresses, a soft casual look
UPPERCASETHE QUICK GUIDE TO WRITING HEADLINESShort labels and warnings; hard to read in long text
Title CaseThe Quick Guide to Writing HeadlinesHeadlines, book and film titles, blog post titles
Capitalized Each WordThe Quick Guide To Writing HeadlinesNames and places lists, some product names
camelCasequickGuideToHeadlinesVariables in JavaScript, Java and Swift
PascalCaseQuickGuideToHeadlinesClass, type and component names
snake_casequick_guide_to_headlinesPython, Ruby and database column names
kebab-casequick-guide-to-headlinesURLs, file names and CSS classes
CONSTANT_CASEQUICK_GUIDE_TO_HEADLINESConstants and environment variables
dot.casequick.guide.to.headlinesConfiguration keys and some file names

The code cases work line by line, so a list of names becomes a list of identifiers in one go. They split words at spaces, punctuation and existing capitals, so XMLHttpRequest becomes xml_http_request in snake_case.

The title case rules we follow

Title Case here follows headline style as the AP Stylebook describes it, which most news sites and blogs use:

  • Capitalize the first and the last word, and every noun, verb, adjective, adverb and pronoun.
  • Lowercase articles (a, an, the), short conjunctions (and, but, or, nor, for, so, yet) and prepositions of three letters or fewer (as, at, by, in, of, on, per, to, via, vs.).
  • Capitalize prepositions of four letters or more, such as “With”, “From” and “About”.
  • Capitalize the first word after a colon or a dash, as in “Star Wars: A New Hope”.
  • Keep acronyms and brand spellings as you typed them (NASA, iPhone), and leave links and email addresses alone.
  • Capitalize both parts of hyphenated words (“Well-Known”).

If your text is all in capitals, it is lowercased first, because there is no way to tell acronyms apart. Chicago style lowercases every preposition, even long ones; if your publication uses Chicago, check words like “with” and “about” by hand.

Tips

  • Sentence case cannot know which words are names. “we met anna in paris” becomes “We met anna in paris”: capitalize names by hand afterwards.
  • Clean spaces trims each line, turns double spaces and tabs into one space and removes extra blank lines. For more fixes, use the text cleaner.
  • Need to count the result? The word counter and character counter are one click away.

Questions and answers

What is the difference between Title Case and Capitalized Each Word?

Title Case keeps small words such as “of”, “the” and “in” lowercase in the middle of a title, the way newspapers and publishers write headlines. Capitalized Each Word capitalizes every word, including the small ones.

Does it keep acronyms like NASA or brand names like iPhone?

Yes, in Title Case and Sentence case. Words written in capitals and words with a capital inside are left as you typed them, unless the whole text is in capitals.

Can I undo a conversion?

Yes. Press Undo in the toolbar, as many times as you like, or use Ctrl+Z (⌘Z on a Mac).

Can I convert just part of my text?

Yes. Select the part you want to change, then pick a case. Everything else stays as it was.

Which title case style is it: AP, Chicago or APA?

AP style: prepositions of four letters or more are capitalized. APA title case also capitalizes words of four letters or more, so it matches closely. Chicago lowercases all prepositions.

Is my text sent anywhere?

No. The conversion happens in your browser, and the text is not saved or uploaded.