Was this tool helpful?
How to use the Case Converter
- 1Paste your text.
- 2Click the case style you want.
- 3Copy the converted text.
Which case should I use?
Title Case is used for headlines and book titles. Sentence case is the standard for normal writing and many modern UI labels. camelCase and snake_case are naming conventions in programming, and kebab-case is used for URLs and CSS class names.
Programming case styles
| Style | Example | Commonly used for |
|---|---|---|
| camelCase | userFirstName | JavaScript and Java variables |
| PascalCase | UserFirstName | Classes and React components |
| snake_case | user_first_name | Python, Ruby and database columns |
| kebab-case | user-first-name | URLs, CSS classes and file names |
| UPPERCASE | USER_FIRST_NAME | Constants and environment variables |
Title Case vs Sentence case
Title Case capitalises the main words ("How to Write a Great Headline") and is common in US headlines and book titles. Sentence case capitalises only the first word and proper nouns ("How to write a great headline") and is preferred by many UK publishers, apps and modern websites because it is easier to read.
Every style, on one example
Here is how the converter changes the phrase "user first name":
| Style | Result | Typical use |
|---|---|---|
| UPPERCASE | USER FIRST NAME | Headings for emphasis, acronyms |
| lowercase | user first name | Tags, email addresses |
| Title Case | User First Name | Headlines, book and film titles |
| Sentence case | User first name | Normal writing, buttons and menus |
| camelCase | userFirstName | JavaScript and Java variables |
| PascalCase | UserFirstName | Class and component names |
| snake_case | user_first_name | Python, database columns |
| kebab-case | user-first-name | URLs, CSS classes, file names |
Two things to check after converting
- Sentence case lowercases everything except the first letter of each sentence, so names and places ("London", "iPhone") become lowercase. Re-capitalise proper nouns afterwards.
- Title Case keeps short words such as "a", "and", "of" and "the" lowercase unless they come first or last. Style guides differ on longer words like "with" or "from" (AP capitalises words of four letters or more), so match your publication's guide.
Frequently asked questions
Does Title Case keep small words lowercase?
Yes. Short words like 'a', 'and', 'of' and 'the' stay lowercase unless they are the first or last word, following common style guides.
How do I change text to uppercase in Word or Google Docs?
In Word, select the text and press Shift+F3 to cycle through cases. In Google Docs, use Format → Text → Capitalization. Or paste it here and copy the result.
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (userFirstName); PascalCase capitalises every word including the first (UserFirstName). Many languages use camelCase for variables and PascalCase for classes.