Case Converter

Paste your text and pick a case to change it to capitals, small letters, title or sentence case, or a camelCase, snake_case or kebab-case name.

The converted text appears as you type. Paste up to 200,000 characters.
Change the Text To
Names for Code and Files
Each line becomes one name, split into words at spaces, punctuation and changes of case.

Results

25 words in UPPER CASE

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.

Every letter is a capital. ß is written SS.

How to Use the Case Converter

  1. Paste your text into Your Text, or type it. The converted text appears on the right as you type.
  2. 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.
  3. 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.
  4. 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.
  5. 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:

CaseResultUsed For
UPPER CASETHE QUICK BROWN FOX, FROM STRASSE 9Headings, warnings, initials
lower casethe quick brown fox, from straße 9Hashtags, email addresses, undoing caps
Title CaseThe Quick Brown Fox, from Straße 9Titles of books, articles and headings (Chicago style)
Sentence caseThe quick brown fox, from straße 9Body text, captions, APA reference titles
Capitalized CaseThe Quick Brown Fox, From Straße 9Names and labels where every word starts with a capital
aLtErNaTiNg cAsEtHe QuIcK bRoWn FoX, fRoM sTrAßE 9Mocking or playful posts
iNVERSE cASETHE QUICK BROWN FOX, FROM sTRASSE 9Text typed with Caps Lock left on
camelCasetheQuickBrownFoxFromStraße9JavaScript and Java variables
PascalCaseTheQuickBrownFoxFromStraße9Class and component names
snake_casethe_quick_brown_fox_from_straße_9Python variables, database columns
CONSTANT_CASETHE_QUICK_BROWN_FOX_FROM_STRASSE_9Constants and environment variables
kebab-casethe-quick-brown-fox-from-straße-9URLs, file names, CSS classes
dot.casethe.quick.brown.fox.from.straße.9Config 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:

TextCaseResultWhy
StraßeUPPER CASESTRASSEGerman sharp s has no single capital in the default mapping
ΟΔΟΣlower caseοδοςCapital sigma at the end of a word becomes final sigma
istanbulUPPER CASEISTANBULTurkish needs İ here; the neutral mapping gives I
İSTANBULlower casei̇stanbulCapital İ becomes i plus a combining dot above
ISTANBULlower caseistanbulTurkish needs ı here; the neutral mapping gives i
ΑθήναUPPER CASEΑΘΉΝΑThe accent on ή stays on the capital Ή
fileUPPER CASEFILEThe 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:

TextcamelCasesnake_casekebab-case
XMLHttpRequestxmlHttpRequestxml_http_requestxml-http-request
user_iduserIduser_iduser-id
first-namefirstNamefirst_namefirst-name
Total Price (USD)totalPriceUsdtotal_price_usdtotal-price-usd
version2Betaversion2Betaversion2_betaversion2-beta
don’t stopdontStopdont_stopdont-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.