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.
How to use the case converter
- Type or paste your text into the box.
- Click the case you want. The text in the box is replaced with the converted version straight away.
- Made a mistake? Press Undo to step back through your conversions, one at a time.
- 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.
- UPPER CASE and lower case change every letter using your browser's Unicode case mapping, so accented letters work too. Letters in scripts without capitals, such as Chinese or Thai, are left alone, and the German sharp s becomes “SS” in upper case.
- Title Case capitalizes the main words and keeps 22 short words lowercase: a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, off, on, per, to, up, via, vs. The first and last word of a line, and the first word after a colon, question mark, exclamation mark or full stop, are always capitalized. Each part of a hyphenated word is capitalized. Words that already mix cases, such as iPhone or McDonald, are left as written. Other words, including all-capitals ones, are converted.
- Sentence case makes everything lowercase and then capitalizes the first letter of each sentence and each new line, and the pronoun “I”. It cannot know which words are names, so proper nouns and acronyms need to be fixed by hand.
- Capitalize Each Word capitalizes the first letter of every word with no exceptions and lowercases the rest.
- camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case first split each line into words, at spaces, punctuation, underscores, hyphens and changes from lower to upper case, and then join them in the chosen style. Each line is converted separately, so you can convert a whole list of names at once. Apostrophes are dropped.
- aLtErNaTiNg and iNVERSE are for fun. Alternating switches between lower and upper case on every letter, and inverse swaps the case of every letter.
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.
| Case | Result |
|---|---|
| UPPER CASE | THE QUICK BROWN FOX |
| lower case | the quick brown fox |
| Title Case | The Quick Brown Fox |
| Sentence case | The quick brown fox |
| Capitalize Each Word | The Quick Brown Fox |
| camelCase | theQuickBrownFox |
| PascalCase | TheQuickBrownFox |
| snake_case | the_quick_brown_fox |
| kebab-case | the-quick-brown-fox |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX |
| dot.case | the.quick.brown.fox |
| aLtErNaTiNg | tHe QuIcK bRoWn FoX |
| iNVERSE | THE 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.
Related tools
- Title Case ConverterCapitalize titles and headings in APA, AP, Chicago or MLA style.
- Character CounterCharacters with and without spaces, plus limit checks for X, YouTube, SMS and more.
- Word CounterLive word, character, sentence and paragraph counts, reading time and keyword density.
- Remove Line BreaksJoin broken lines into one paragraph, with options for paragraphs and hyphens.
- Remove Extra SpacesCollapse double spaces, trim lines and fix tabs and no-break spaces.
- Fancy Text GeneratorTurn plain text into bold, script, gothic, circled and other copy-and-paste styles.
Sources and references
- Wikipedia: Title case — how AP, APA and Chicago differ on which words to capitalize
- Wikipedia: Naming convention (programming) — camelCase, snake_case and related styles
- MDN Web Docs: String.prototype.toUpperCase() — Unicode case mapping used for upper and lower case