Should you write "The Complete Guide to Text Case" or "The complete guide to text case"? Is it "New York City" or "new york city"? When is ALL CAPS appropriate, and when is it offensive?
Text case โ whether letters are uppercase (capital) or lowercase โ is one of those things most writers handle intuitively, but the rules are more nuanced and context-dependent than you might think. This guide breaks down every major text case style and when to use each.
The Basic Cases
lowercase
All letters are small: the quick brown fox
Use lowercase for:
- The body text of almost all writing (the default)
- Common nouns in general writing
- Variable names in snake_case programming conventions
- CSS class names and HTML attributes
- URL slugs and filenames in web development
- Email addresses and usernames (though they are technically case-insensitive)
UPPERCASE (ALL CAPS)
All letters are capital: THE QUICK BROWN FOX
Use uppercase for:
- Acronyms and abbreviations: NASA, FBI, URL, HTML, CSS, API
- Constants in code:
MAX_CONNECTIONS = 100,API_BASE_URL - Emphasis in informal writing: "I told you NOT to do that" (use sparingly)
- Legal documents: Certain legal citations and headers use ALL CAPS
- Form labels in some UI contexts: A design choice, but often seen in headers and navigation
When NOT to use ALL CAPS: In digital communication, writing in all caps is widely perceived as shouting and is considered rude. Avoid it in emails, messages, and social media unless you specifically intend to emphasize or "shout."
Title Case
The first letter of major words is capitalized: The Quick Brown Fox Jumps Over the Lazy Dog
Title case has two main variants:
AP/Chicago Title Case (Most Common)
Capitalize the first and last words, all "major" words (nouns, verbs, adjectives, adverbs), and leave short prepositions, articles, and conjunctions lowercase unless they're the first or last word.
Lowercase in title case: a, an, the, and, but, or, for, nor, on, at, to, in, of, up
Examples:
- "The Lord of the Rings" (not "The Lord Of The Rings")
- "A Study in Scarlet" (first word always capitalized)
- "Gone with the Wind"
All-Words Title Case
Capitalize the first letter of every single word, including articles and prepositions.
Example: "The Lord Of The Rings"
This variant is common in product names, app names, and some marketing contexts. It's also what many people use informally when they want "title case" without learning the rules.
Use title case for:
- Article headlines and blog post titles
- Book, movie, and song titles
- Chapter headings
- Product and company names
- Names of specific places, organizations, and events
Sentence Case
Only the first word and proper nouns are capitalized: The quick brown fox jumps over the lazy dog
Use sentence case for:
- Sentences in body text (this is how you normally write)
- Subheadings in many style guides (APA recommends sentence case for headings)
- UI button labels and interface copy in most modern design systems (Google Material, Apple's HIG)
- Email subject lines (though many marketers use title case here)
- Social media posts
Capitalization Rules for Specific Contexts
Proper Nouns
Proper nouns โ specific names of people, places, organizations, and products โ are always capitalized regardless of where they appear in a sentence:
- People: Elon Musk, Marie Curie, Barack Obama
- Places: Paris, the Amazon River, Mount Everest
- Organizations: Harvard University, the United Nations, Apple Inc.
- Products and brands: iPhone, Photoshop, Wikipedia
- Historical events: World War II, the Renaissance, the Great Depression
Job Titles
This is a common source of confusion. The rule:
- Capitalize when the title precedes a name or is used as a direct substitute: "President Biden," "CEO Jane Smith," "Doctor Wong"
- Lowercase when the title is used generically: "The president gave a speech," "She is a doctor"
Seasons
Despite common belief, seasons (spring, summer, fall/autumn, winter) are NOT capitalized in English unless they start a sentence or are personified in poetry/literature.
- โ "We plan to launch in spring 2026."
- โ "We plan to launch in Spring 2026."
Directions and Regions
- Capitalize when referring to a specific named region: "The South" (Southern USA), "the Middle East," "the Pacific Northwest"
- Lowercase when referring to a direction: "Drive south for three miles," "The office is east of downtown"
Text Case in Headlines and Headings
Different publications and organizations use different heading capitalization styles, and this is a common point of inconsistency:
News Media
Major newspapers and news websites use title case for headlines: "Apple Announces New iPhone with Record Battery Life"
Academic Writing
APA style (widely used in social sciences and psychology) uses sentence case for headings: "How social media affects mental health in adolescents"
Chicago Manual of Style uses title case for most headings.
Technical Documentation
Google's developer documentation style guide recommends sentence case for all headings. Microsoft's style guide does the same. This is increasingly common in technical writing.
Marketing and Branding
All over the place โ but consistency within a brand is more important than following any particular convention.
Text Case in Software Development
In code, case isn't just stylistic โ it can be functional. Here's a quick reference:
| Convention | Example | Used For |
|---|---|---|
| camelCase | myVariableName | Variables, functions (JS, Java, C#) |
| PascalCase | MyClassName | Classes, components (most languages) |
| snake_case | my_variable_name | Variables, functions (Python, Ruby) |
| UPPER_SNAKE_CASE | MY_CONSTANT | Constants, environment variables |
| kebab-case | my-class-name | CSS classes, URLs, HTML attributes |
In many languages, case matters for identifiers. In JavaScript, myVariable and MyVariable are two completely different variables. In Python, classes are distinguished from other identifiers by their PascalCase (by convention). In Go, whether an identifier starts with an uppercase or lowercase letter determines whether it's exported (public) or unexported (private) โ a language feature, not just a style preference.
Converting Text Case
Need to quickly switch between case styles? The Case Converter tool on this site converts text between:
- UPPERCASE and lowercase
- Title Case and Sentence case
- camelCase, PascalCase, snake_case, and kebab-case
Text case may seem like a minor detail, but consistency builds professionalism. Whether you're writing a research paper, building an API, or crafting marketing copy, applying the right case conventions for your context signals attention to detail and respect for your reader.