In this article
Writing styles
| Style | Example | Use for |
|---|---|---|
| Sentence case | How to bake bread at home | Most headings on modern websites, buttons, emails |
| Title Case | How to Bake Bread at Home | Book, article and film titles; many blog headlines |
| UPPERCASE | HOW TO BAKE BREAD | Short labels, warnings, acronyms – use sparingly |
| lowercase | how to bake bread | Tags, casual brand styles |
Title Case rules for small words
In Title Case, major words are capitalised but short “minor” words usually are not – unless they are the first or last word. Typical lowercase words are articles (a, an, the), short conjunctions (and, but, or, nor) and short prepositions (of, in, on, at, to, for, by). Style guides differ on details: AP style capitalises prepositions of four letters or more, while Chicago keeps all prepositions lowercase. Pick one and be consistent.
The Case Converter keeps common small words lowercase in Title Case and always capitalises the first word.
Sentence case is winning
Many large organisations – including Google’s and Microsoft’s style guides for interfaces – recommend sentence case for headings and buttons because it is easier to read and feels less shouty. If you are designing a website or app, sentence case is a safe default.
Headings on one website should match
Whichever style you choose, apply it everywhere: page titles, menu items, buttons and email subject lines. A site that mixes “Contact Us”, “About us” and “OUR SERVICES” looks unplanned. Write the rule into a short style note – for example, “sentence case for everything except product names” – and share it with anyone who writes for you.
Fixing text typed in CAPS
Someone sent a whole paragraph in capitals? Choose Sentence case: it lowercases everything, capitalises the first letter after each full stop, question mark or exclamation mark, and fixes a lone “i”. Then check names and places by hand – no tool can know that “karachi” should be “Karachi”.
Coding styles
| Style | Example | Common in |
|---|---|---|
| camelCase | userFirstName | JavaScript variables, JSON keys, Java |
| PascalCase | UserFirstName | Class names, React components, C# |
| snake_case | user_first_name | Python, Ruby, database columns |
| kebab-case | user-first-name | URLs, CSS classes, file names |
| CONSTANT_CASE | MAX_FILE_SIZE | Constants and environment variables |
Programming languages treat “userName” and “username” as different names, so consistent casing prevents bugs. Converting a list of database columns to camelCase for an API, or headings to kebab-case for URLs, is a few seconds’ work with the converter.
How to convert
- Paste your text into the Case Converter.
- Click the style you want – there are 12, from Title Case to CONSTANT_CASE.
- Copy the result.
Accented and non-English letters are handled correctly.
Related clean-up tools
- Making web addresses? The Slug Generator also removes accents and symbols.
- Messy spacing after converting? Use Remove Extra Spaces.
- Need to change one word everywhere? Try Find and Replace.