Case Converter

A case converter changes the capitalization of your text in one click. Paste or type your text, then choose uppercase, lowercase, title case, sentence case, camelCase, snake_case or another format, and the result replaces the text in the box, ready to copy. It runs in your browser and your text is never uploaded.

Runs in your browser. Your text is never uploaded.

How to use the case converter

  1. Type or paste your text into the box.
  2. Click the case you want. The text in the box is replaced with the converted version straight away.
  3. Made a mistake? Press Undo to step back through your conversions, one at a time.
  4. Press Copy text to put the result on your clipboard, or Download .txt to save it as a file.

How each case works

Each button applies one rule to the whole text. The rules are deterministic, so the same input always gives the same output.

Style guides do not agree on title case. AP style capitalizes prepositions and conjunctions of four or more letters, and APA capitalizes every word of four letters or more, while this tool follows a common short-word rule. If a publisher or professor requires a specific style, use the title case converter, which has separate APA, AP, Chicago and MLA rules, and check the result against your guide.

Worked example

Converting a tale of two cities: the story of up-to-date london to Title Case:

A Tale of Two Cities: The Story of up-To-Date London
  • “A” is capitalized because it is the first word, although “a” is normally a short word.
  • “of” and “the” stay lowercase, but the “The” after the colon is capitalized.
  • “up-to-date” becomes “Up-To-Date”, because each part of a hyphenated word is capitalized.
  • “London” is capitalized as the last word.

All the cases, with an example

Each row shows what the sample text “the quick brown fox” becomes.

CaseResult
UPPER CASETHE QUICK BROWN FOX
lower casethe quick brown fox
Title CaseThe Quick Brown Fox
Sentence caseThe quick brown fox
Capitalize Each WordThe Quick Brown Fox
camelCasetheQuickBrownFox
PascalCaseTheQuickBrownFox
snake_casethe_quick_brown_fox
kebab-casethe-quick-brown-fox
CONSTANT_CASETHE_QUICK_BROWN_FOX
dot.casethe.quick.brown.fox
aLtErNaTiNgtHe QuIcK bRoWn FoX
iNVERSETHE QUICK BROWN FOX

Frequently asked questions

Which words stay lowercase in title case?

Short articles, conjunctions and prepositions: a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, off, on, per, to, up, via, vs. They are capitalized when they are the first or last word of a line or follow a colon or sentence end. If your style guide uses a different list, adjust the result by hand.

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

Title Case leaves short words such as “of” and “and” in lower case, the way headlines are usually written. Capitalize Each Word capitalizes every word without exception.

Does sentence case keep names and acronyms capitalized?

No. Sentence case lowercases the text and then capitalizes only the start of each sentence and the word “I”, because a program cannot reliably tell which words are names. Capitalize proper nouns and acronyms yourself afterwards.

What are camelCase, PascalCase, snake_case and kebab-case?

They are ways of joining words without spaces, mainly for naming things in code. camelCase starts lower case and capitalizes later words, PascalCase capitalizes every word, snake_case joins lower-case words with underscores and kebab-case joins them with hyphens.

Does it work with accented letters and other languages?

Yes for scripts that have upper and lower case, such as Latin, Greek and Cyrillic, using the case rules built into your browser. Scripts without case, such as Chinese, are left unchanged. Rules specific to one language, such as the Turkish dotted and dotless i, are not applied.

Is my text uploaded or stored?

No. The conversion runs in your browser and nothing leaves your device.

Sources and references