around the script tag below to activate site-wide auto ads. --> Skip to content

Case Conversion Guide: Title Case, Sentence Case & More

Text casing rules feel like small details until an inconsistent headline or a broken variable name makes them very visible. Each casing style exists for a specific context, and mixing them up is one of the fastest ways to make writing or code look unpolished.

The main casing styles, side by side

StyleExampleTypical use
UPPERCASEWARNINGEmphasis, acronyms, alerts
lowercaseplease confirmCasual tone, some UI labels
Title CaseThe Great GatsbyHeadlines, book/movie titles
Sentence casePlease confirm your emailBody text, form labels, buttons
camelCaseuserFirstNameJavaScript variables, JSON keys
snake_caseuser_first_namePython variables, database columns

Title Case vs Sentence case: the one people mix up most

Title Case capitalizes the first letter of every major word ("The Art of War"), while Sentence case only capitalizes the first word and proper nouns ("The art of war"). Style guides differ on which "minor" words (a, the, of, and) stay lowercase in Title Case — but the more practical modern trend, especially in UI design, favors Sentence case for nearly everything except formal titles, since it reads as less shouty and matches how people actually write.

Why camelCase and snake_case exist at all

Programming variable names can't contain spaces, so developers needed a way to represent multi-word names as a single unbroken string. camelCase (capitalizing each word after the first) and snake_case (joining words with underscores) both solve this — the specific choice is usually dictated by a language's community convention rather than personal preference: JavaScript and Java favor camelCase, while Python and Ruby favor snake_case.

A quick decision guide

  • Writing a headline or article title? Sentence case is the modern, less-shouty default; Title Case if your style guide requires it.
  • Naming a JavaScript variable or function? camelCase.
  • Naming a Python variable or database column? snake_case.
  • Writing a UI button label? Sentence case ("Save changes", not "Save Changes").

Frequently asked questions

Sentence case has become the more common default for UI text and headlines in recent design systems, reserving Title Case mainly for formal publication titles.

Consistency matters more than the specific choice — mixing conventions within the same codebase makes it harder to read and maintain, so following your language's community convention is the safest default.

Conclusion

Each casing style solves a specific readability or technical problem — matching the style to the context (writing vs. code, formal vs. casual) is what makes text feel intentional rather than inconsistent.

Convert your text instantly with the Case Converter.