How to Use the Case Converter
- Paste your text into Your Text, or type it. The converted text appears on the right as you type.
- Pick a case under Change the Text To: UPPER CASE, lower case, Title Case, Sentence case, Capitalized Case, aLtErNaTiNg cAsE or iNVERSE cASE. The button labels are written in their own case.
- For a variable, file or URL name, pick one of the cases under Names for Code and Files. Each line of your text becomes one name.
- Leave Keep acronyms and words like iPhone as typed on to keep NASA, BBC and iPhone unchanged in Title Case, Sentence case and Capitalized Case. A line typed all in capitals is changed in full either way.
- Press Copy Text to copy the result. Switch to another case at any time: the original text in the box is never changed.
Example of Converting Text to Upper Case
The example text has a German street name, a French word, a Greek city and two words with their own capitals. With UPPER CASE picked, the result is:
MEET ME AT THE STRASSE CAFÉ IN KÖLN AT 9, THEN WE FLY TO ΑΘΉΝΑ.
THE IPHONE AND NASA NOTES ARE IN THE OLD FOLDER.
Straße becomes STRASSE, because the standard capital form of ß is two letters, SS. Café is CAFÉ, with its accent, and the Greek Αθήνα becomes ΑΘΉΝΑ. In UPPER CASE every letter changes, so iPhone becomes IPHONE; the Keep switch is only for the cases where most letters are small.
All 13 Text Cases With Examples
The line the quick brown fox, from Straße 9
in all 13 cases:
| Case | Result | Used For |
|---|---|---|
| UPPER CASE | THE QUICK BROWN FOX, FROM STRASSE 9 | Headings, warnings, initials |
| lower case | the quick brown fox, from straße 9 | Hashtags, email addresses, undoing caps |
| Title Case | The Quick Brown Fox, from Straße 9 | Titles of books, articles and headings (Chicago style) |
| Sentence case | The quick brown fox, from straße 9 | Body text, captions, APA reference titles |
| Capitalized Case | The Quick Brown Fox, From Straße 9 | Names and labels where every word starts with a capital |
| aLtErNaTiNg cAsE | tHe QuIcK bRoWn FoX, fRoM sTrAßE 9 | Mocking or playful posts |
| iNVERSE cASE | THE QUICK BROWN FOX, FROM sTRASSE 9 | Text typed with Caps Lock left on |
| camelCase | theQuickBrownFoxFromStraße9 | JavaScript and Java variables |
| PascalCase | TheQuickBrownFoxFromStraße9 | Class and component names |
| snake_case | the_quick_brown_fox_from_straße_9 | Python variables, database columns |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX_FROM_STRASSE_9 | Constants and environment variables |
| kebab-case | the-quick-brown-fox-from-straße-9 | URLs, file names, CSS classes |
| dot.case | the.quick.brown.fox.from.straße.9 | Config keys, package names |
Title Case matches the Chicago Manual of Style, so the four-letter preposition from is in small letters, while in Capitalized Case every word has a capital. For AP, APA or MLA titles, use the Title Case Converter. In aLtErNaTiNg cAsE only letters count, so spaces and punctuation are skipped in the pattern. iNVERSE cASE is the one Microsoft Word calls tOGGLE cASE.
Upper and Lower Case in Other Languages
The capital and small forms are the ones Unicode lists for every letter, with no language chosen, the same as in browsers when no language is set. For most letters that is a simple swap, as in é and É. These are the letters where the result is different, or where a language has its own rule:
| Text | Case | Result | Why |
|---|---|---|---|
| Straße | UPPER CASE | STRASSE | German sharp s has no single capital in the default mapping |
| ΟΔΟΣ | lower case | οδος | Capital sigma at the end of a word becomes final sigma |
| istanbul | UPPER CASE | ISTANBUL | Turkish needs İ here; the neutral mapping gives I |
| İSTANBUL | lower case | i̇stanbul | Capital İ becomes i plus a combining dot above |
| ISTANBUL | lower case | istanbul | Turkish needs ı here; the neutral mapping gives i |
| Αθήνα | UPPER CASE | ΑΘΉΝΑ | The accent on ή stays on the capital Ή |
| file | UPPER CASE | FILE | The fi ligature becomes two capitals |
Turkish and Azerbaijani have a dotted and a dotless i, each with its own capital, so for Turkish text check every i and I by hand after converting. In lower case, Greek sigma is written ς at the end of a word and σ elsewhere, and both are correct. Greek writers leave the accents off words in capitals, but the Unicode mapping has them, so remove them with the Diacritics Remover if you need ΑΘΗΝΑ.
camelCase and snake_case for Variable and File Names
For the six code cases, each line is split into words at spaces, punctuation, underscores and hyphens, and also where a small letter or digit is followed by a capital, as in versionBeta, or where a run of capitals ends before a capital and a small letter, as in XMLHttp. Apostrophes are removed, so don’t becomes dont. The words are then joined again:
| Text | camelCase | snake_case | kebab-case |
|---|---|---|---|
| XMLHttpRequest | xmlHttpRequest | xml_http_request | xml-http-request |
| user_id | userId | user_id | user-id |
| first-name | firstName | first_name | first-name |
| Total Price (USD) | totalPriceUsd | total_price_usd | total-price-usd |
| version2Beta | version2Beta | version2_beta | version2-beta |
| don’t stop | dontStop | dont_stop | dont-stop |
An acronym inside a name is written like any other word, so XMLHttpRequest becomes xmlHttpRequest in camelCase. Accented letters are kept as they are; to write a URL or file name in plain ASCII, remove the accents with the Diacritics Remover first.
How Capital and Small Letters Are Changed
The text is converted in your browser as you type and is not sent anywhere. Capital and small letters are from the browser’s own toUpperCase and toLowerCase with no language set, which match the Unicode default case mappings, including the special cases in SpecialCasing.txt such as ß to SS. A word is a run of letters, marks and digits, with an apostrophe allowed inside it. With the Keep switch on, a word with a capital after its first letter, such as NASA or iPhone, is left as typed in Title Case, Sentence case and Capitalized Case, unless its whole line has no small letters. In Sentence case there is a capital at the start of the text, after a full stop, question mark or exclamation mark followed by a space, and at the start of every line, and the word I is a capital; the Sentence Case Converter has the switches for names, colons and line starts.
FAQs
Q1. What Is the Difference Between Title Case and Sentence Case?
The key difference between title case and sentence case is how many words get a capital. In title case most words start with a capital and only short words such as a, the and of stay small, as in The Lord of the Rings, whereas in sentence case only the first word and names get a capital, as in The lord of the rings, the way a normal sentence is written.
Q2. Can the Case Converter Make camelCase and snake_case From a Sentence?
You can convert a sentence to camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case or dot.case by picking one under Names for Code and Files. Each line of your text becomes one name, so Total Price (USD) becomes totalPriceUsd in camelCase and total_price_usd in snake_case, and a list of labels pasted one per line becomes a list of names.
Q3. What Is Alternating Case?
Alternating case is text where small and capital letters take turns, as in aLtErNaTiNg. People use it online to show a mocking tone. The converter counts only letters, so the capitals and small letters keep alternating across spaces and punctuation instead of starting again at each word.
Q4. Why Does ß Become SS in Capitals?
ß becomes SS because the standard Unicode capital form of the German sharp s is two letters. A single capital ẞ exists and some German writers use it, but it is not the default, so Straße becomes STRASSE. The text gets one letter longer for every ß.
Q5. How Do I Change Case in Word or Google Docs?
You can change case in Microsoft Word by selecting the text and choosing Change Case on the Home tab, or by pressing Shift+F3 to cycle through lowercase, UPPERCASE and Capitalize Each Word. In Google Docs, choose Format, Text, Capitalization. Neither program has title case by a style guide or camelCase, so for those, paste the text into the Case Converter.
Q6. Is My Text Uploaded Anywhere?
Your text is not uploaded anywhere: the converter changes it in your browser as you type and stores nothing. You can paste a private document, convert it and copy the result without it leaving your device.
Sources
Unicode Character Database, UnicodeData.txt and SpecialCasing.txt, for the default capital and small forms, ß to SS, final sigma and the Turkish dotted and dotless i. ECMAScript Language Specification, String.prototype.toUpperCase and toLowerCase, for the case mapping browsers use with no language set. The Chicago Manual of Style, 18th edition (2024), title case rules, for Title Case. Microsoft Support, Change the capitalization or case of text, for Word’s Change Case button and Shift+F3.