How to use the Case Converter
- Paste your text
- Click the case you want
- Copy the converted text
Change text case in one click
Paste your text and click a button: UPPER CASE, lower case, Title Case, Sentence case, Capitalize Each Word, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, aLtErNaTiNg or iNVERSE. Then copy the result.
Fix text typed with Caps Lock on
Paste it and click lower case or Sentence case to fix it at once. Going the other way, UPPER CASE is useful for headings, labels and codes.
Title case rules
Title Case follows the common rule used by AP-style guides: short articles, conjunctions and prepositions (a, an, the, and, but, for, of, on, to, byโฆ) stay lowercase unless they are the first word. Chicago style also lowercases longer prepositions such as โwithโ and โbetweenโ, so adjust those by hand if you follow it.
Sentence case capitalises only the first word and names โ โHow to write a great headlineโ โ while title case capitalises the main words โ โHow to Write a Great Headlineโ. Sentence case here also fixes a lone โiโ to โIโ.
In Word, Excel, Google Docs and Python
- Word โ select the text and press Shift + F3 to cycle between cases.
- Excel โ
=LOWER(A1),=UPPER(A1)and=PROPER(A1). - Google Docs โ Format โ Text โ Capitalisation.
- Python โ
s.lower(),s.upper()ands.title().
Which case to use where
| Case | Example | Typical use |
|---|---|---|
| Title Case | How to Write a Great Headline | Headlines, book and song titles |
| Sentence case | How to write a great headline | Buttons, menus, email subjects, many news sites |
| camelCase | userFirstName | JavaScript and Java variables |
| PascalCase | UserFirstName | Class names, C# methods, React components |
| snake_case | user_first_name | Python, database columns |
| kebab-case | user-first-name | URLs, CSS classes, file names |
| CONSTANT_CASE | USER_FIRST_NAME | Constants and environment variables |
Good to know
- Acronyms. Title Case and Sentence case lowercase everything first, so "NASA" becomes "Nasa" and "iPhone" becomes "Iphone". Fix brand names and acronyms by hand afterwards.
- Programming cases work line by line. Paste a list of labels, one per line, and click snake_case to turn every line into its own variable name. Words are split at spaces, hyphens, underscores, dots and existing capital letters, so userName becomes user_name.
- Small words. In Title Case, a, an, and, as, at, but, by, for, in, nor, of, on, or, per, the, to, vs and via stay lowercase unless they start the text.
Frequently asked questions
How do I change text from all caps to normal?
Paste it and click Sentence case. It lowercases everything, then capitalises the first letter of each sentence and the word "I". Check names and acronyms afterwards.
What is the difference between camelCase and PascalCase?
Both join words without spaces. camelCase starts with a lowercase letter (firstName), PascalCase with a capital (FirstName).
Does Title Case keep acronyms like NASA?
No. The text is lowercased first, so acronyms and brand names such as NASA or iPhone need a quick fix by hand after converting.