Common Text Case Styles, Explained

Writing an article, naming a variable, or formatting a title often means running into a handful of different case styles. Here's a basic rundown.

ALL UPPERCASE and all lowercase

ALL UPPERCASE is commonly used for emphasis, abbreviations, or visual impact in headers, but writing an entire passage in all caps in formal writing is usually seen as impolite — it can come across as shouting. all lowercase, meanwhile, is common in casual online writing or when going for a minimalist style.

Title Case

In an English title, every major word is capitalized, while articles, prepositions, and conjunctions are usually left lowercase (unless they start or end the title). It's commonly used for book titles, article headlines, and header text — though exactly which words count as minor words can vary slightly between style guides.

Sentence case

Only the first letter of a sentence and any proper nouns are capitalized, with every other word left lowercase. This is the most common default format in everyday writing and the basic rule most body text follows.

camelCase / PascalCase

A common naming convention in programming: camelCase leaves the first word lowercase and capitalizes the first letter of every word after that (like myVariableName), while PascalCase capitalizes even the first word (like MyClassName). Neither uses spaces or underscores to separate words.

snake_case and kebab-case

snake_case joins all-lowercase words with underscores (commonly used for variable names), while kebab-case joins words with hyphens (commonly used in URL paths and CSS class names). Which one to use is usually dictated by the conventions of the language or platform you're working in.

Why programming languages have different capitalization preferences

Different programming languages and frameworks have each developed their own naming conventions over time — variables commonly use camelCase or snake_case, while class names widely use PascalCase. None of these conventions is objectively more correct from a technical standpoint; they're mostly readability norms the community has settled on over time. When working on a team, sticking to a shared convention matters more than arguing over which style is better.

The exact rules for title case vary by style guide

Which words should be capitalized in an English title, and which prepositions or conjunctions can stay lowercase, isn't fully consistent across different writing style guides. For formal publications, it's best to check the specific style guide you're following rather than relying on habit.

Frequently Asked Questions

Does writing everything in lowercase come across as impolite or unprofessional?

It depends on the context. All-lowercase writing is common and perfectly acceptable in casual chats or minimalist-style content. But in formal emails, resumes, and similar contexts, ignoring basic capitalization rules can come across as careless — it's best to stick to standard sentence case there.

Is there a tool that can automatically convert text case?

Yes. Many word processors, code editors, and online tools have a built-in case-conversion feature that can switch selected text to all uppercase, all lowercase, or title case with one click — the exact steps vary by tool.