How to use the case converter
Paste text in the top box and pick a format. The result appears below right away. Use Copy result to copy it, or Use result as input to apply another format on top.
For a single line of up to 120 characters, such as a title or a variable name, All formats lists all 12 results with a copy button on each.
The formats
Here is what each format does to “the quick brown fox”.
- UPPERCASE: THE QUICK BROWN FOX. lowercase: the quick brown fox
- Title Case: The Quick Brown Fox. Headline rules, so short words like of and the stay lowercase.
- Capitalize Each Word: every word gets a capital, short words included (The Lord Of The Rings).
- Sentence case: The quick brown fox. A new sentence starts after a period, question mark or exclamation mark followed by a space, and at the start of each line.
- iNVERSE cASE: tHE qUICK bROWN fOX. Swaps every letter, which fixes text typed with Caps Lock on.
- aLtErNaTiNg: tHe QuIcK bRoWn FoX
- Programming: theQuickBrownFox (camelCase), TheQuickBrownFox (PascalCase), the_quick_brown_fox (snake_case), THE_QUICK_BROWN_FOX (CONSTANT_CASE), the-quick-brown-fox (kebab-case)
Title case rules used here
Style guides do not fully agree on title case. This converter follows the rules that AP and Chicago share, and AP for longer prepositions.
- Lowercase: articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, so, yet) and prepositions of three letters or fewer (as, at, by, in, of, off, on, per, to, up, via), plus vs.
- The first word, the last word and the first word after a colon are always capitalized, as in Star Wars: The Empire Strikes Back.
- Prepositions of four letters or more, such as with, from and into, are capitalized (AP style). Chicago lowercases all prepositions, so adjust those by hand if your publication follows Chicago.
- Words with capitals inside, such as iPhone or NASA, are left alone. Text written entirely in capitals is lowercased first.
camelCase, snake_case and other programming cases
Identifiers cannot contain spaces, so each language has conventions for joining words. JavaScript and Java use camelCase for variables and PascalCase for classes. Python and SQL columns usually use snake_case, constants and environment variables use CONSTANT_CASE, and URLs and CSS classes use kebab-case.
Word boundaries are spaces, underscores, hyphens, dots and a capital letter after a lowercase letter. So userName, user_name and user-name convert into each other, and an acronym name like XMLHttpRequest becomes xml_http_request. Put one name per line to convert a whole list.
Changing case in Word, Excel and Google Docs
Most editors can change case too. Use this converter for title case and programming cases, which they do not offer.
- Microsoft Word: select text and press Shift + F3 to cycle through lowercase, UPPERCASE and Capitalize Each Word.
- Excel and Google Sheets: =UPPER(A1), =LOWER(A1) and =PROPER(A1). PROPER capitalizes every word.
- Google Docs: Format → Text → Capitalization, then lowercase, UPPERCASE or Title Case.
FAQ
What is title case?
Title case capitalizes the main words of a headline while keeping short articles, conjunctions and prepositions lowercase, as in “The Lord of the Rings”. Capitalize Each Word, by contrast, capitalizes every word.
What is the difference between title case and sentence case?
Title case capitalizes most words (How to Train Your Dragon). Sentence case capitalizes only the first word and proper nouns (How to train your dragon), the way a normal sentence is written.
How do I change uppercase to lowercase in Word?
Select the text and press Shift + F3 until it shows the case you want. In Excel use =LOWER(A1). Or paste the text here and choose lowercase.
What is the difference between camelCase and PascalCase?
Both join words without spaces. camelCase starts with a lowercase letter (userName) and PascalCase starts with a capital (UserName).
Does it work with other languages?
Any script with upper and lower case, such as Latin, Greek or Cyrillic, is converted. Characters without case, such as Chinese, Japanese, Korean, digits and symbols, are left unchanged.
Is my text saved?
The last text and format are saved only in this browser (localStorage). Nothing is uploaded.
Something not working, or a feature you want? Send feedback