Skip to content

Text Case Guide: When to Use Each Case (With Converter)

Why Text Case Matters

Text case — the pattern of uppercase and lowercase letters — carries meaning beyond the letters themselves. UPPERCASE FEELS LIKE SHOUTING. lowercase feels casual. Title Case Feels Formal. The wrong case in the wrong context creates a disconnect between your message and your audience's expectations.

Convert text between common case formats with WritePadPro's Case Converter — paste your text and switch between UPPERCASE, lowercase, Title Case, Sentence case, and more with a single click.

Case conventions are governed by style guides (AP, Chicago, APA), platform norms (social media, email), industry standards (programming naming conventions), and accessibility requirements. Using the wrong case is not a grammar error in the traditional sense, but it affects how your text is perceived and whether it complies with formatting standards. This guide covers every case format you will encounter, when to use each, and how to convert between them.

The 9 Text Cases Explained

1. UPPERCASE (ALL CAPS)

Example: THIS IS UPPERCASE TEXT

Rules: Every letter is capitalized. No exceptions.

When to use:

  • Acronyms and initialisms: NASA, HTML, SEO, FAQ
  • Legal document headings: TERMS AND CONDITIONS, LIABILITY
  • Warning labels: DANGER, CAUTION, DO NOT ENTER
  • Design elements: navigation labels, button text (in some design systems)

When NOT to use: Body text, email, social media, comments. All-caps body text is harder to read (all-caps words lose the varied outlines of mixed-case words) and is widely perceived as shouting online. Accessibility guidance commonly advises against all-caps body text, partly because some screen readers may spell out short all-caps words letter by letter.

2. lowercase

Example: this is lowercase text

Rules: Every letter is lowercase. No capitalization at sentence starts.

When to use:

  • Casual branding (e.g., "adidas," "ebay" logo)
  • Social media (informal tone on Twitter, Instagram)
  • CSS class names and HTML attributes
  • URL slugs: /blog/text-case-guide

When NOT to use: Formal documents, academic writing, business correspondence. Missing sentence-initial capitals is a grammar violation in standard English. Use the Character Counter alongside case conversion to verify your text still meets platform length requirements after case changes.

3. Title Case

Example: This Is Title Case Text

Rules: Capitalize the first letter of every major word. Minor words (articles, short prepositions, conjunctions) remain lowercase unless they are the first or last word.

When to use:

  • Book titles, article titles, blog post titles
  • Headings (H1, H2, H3) in many style guides
  • Proper nouns and product names

The Title Case Debate: Different style guides disagree on which words to capitalize. This is the most contentious case format in English. See the comparison below.

4. Sentence case

Example: This is sentence case text

Rules: Capitalize only the first letter of the first word and proper nouns. Everything else is lowercase.

When to use:

  • Subheadings in APA style
  • Google's UI text guidelines
  • Many modern web design systems
  • Email subject lines (informal style)

Sentence case has become common in web design because it feels more natural and conversational than title case. Google’s Material Design and Microsoft’s style guide both call for sentence case in interface text.

5. camelCase

Example: thisIsCamelCaseText

Rules: No spaces. First word lowercase, subsequent words capitalized. No underscores or hyphens.

When to use:

  • JavaScript variable and function names: getUserName, calculateTotal
  • Java method names
  • JSON property keys (a common convention)

6. PascalCase

Example: ThisIsPascalCaseText

Rules: Same as camelCase but the first word is also capitalized.

When to use:

  • Class names in JavaScript, Java, C#, Python: UserAccount, HttpRequest
  • Component names in React: NavigationBar, SearchInput
  • TypeScript interfaces and types

7. snake_case

Example: this_is_snake_case_text

Rules: All lowercase. Words separated by underscores.

When to use:

  • Python variable and function names (PEP 8 convention)
  • Ruby method names
  • Database column names: first_name, created_at
  • File names in many systems: user_profile.py

8. kebab-case

Example: this-is-kebab-case-text

Rules: All lowercase. Words separated by hyphens.

When to use:

  • URL slugs: /blog/text-case-guide
  • CSS class names: .nav-item, .btn-primary
  • HTML attributes and custom data attributes
  • Package names in npm

9. SCREAMING_SNAKE_CASE

Example: THIS_IS_SCREAMING_SNAKE_CASE

Rules: All uppercase. Words separated by underscores.

When to use:

  • Constants in most programming languages: MAX_RETRIES, API_BASE_URL
  • Environment variables: DATABASE_URL, NODE_ENV

For cleaning up spacing issues after case conversion, use the Remove Extra Spaces tool. For more on writing conventions, see our Number to Words Guide which covers formatting rules for numbers in text.

Title Case: The Style Guide Battle

Title case is the most inconsistent case format because different style guides define it differently. The disagreements center on which words to capitalize.

AP Style (Associated Press)

Capitalize all words of four or more letters. Capitalize short verbs ("Is," "Are," "Was"). Lowercase articles (a, an, the), prepositions under four letters (in, on, at, to, for, of), and conjunctions under four letters (and, but, or, nor).

Example: "How to Write Better Headlines for Your Blog"

AP applies these rules to composition titles such as books, films and songs; AP news headlines themselves are written in sentence case.

Chicago Manual of Style

Capitalize all "major" words: nouns, pronouns, verbs, adjectives, adverbs. Lowercase articles (a, an, the), prepositions (regardless of length, unless first or last), and the coordinating conjunctions and, but, for, or and nor.

Example: "How to Write Better Headlines for Your Blog" (same in this case)

Difference example: AP: "Running Through the Park" vs Chicago: "Running through the Park" ("Through" is 7 letters — AP capitalizes it, Chicago does not because it is a preposition.)

APA Style (American Psychological Association)

For titles in reference lists: Sentence case (only first word + proper nouns). For headings within papers: Title case that capitalizes words of four or more letters, closer to AP than to Chicago.

Example (reference): "How to write better headlines for your blog"
Example (heading): "How to Write Better Headlines for Your Blog"

Which to Choose?

ContextRecommended Style
Blog posts / web contentAP or Chicago
Academic papers (APA)Sentence case for references, title case for headings
JournalismAP Style
Book publishingChicago Manual of Style
UI/UX designSentence case (Google and Microsoft guidelines)

Consistency matters more than which style you choose. Pick one and apply it to every heading on your site. For grammar rules related to capitalization, see our Grammar Mistakes Guide.

Programming Naming Conventions

In programming, case conventions are more than style choices — they are shared standards, often enforced by linters, that affect code readability, team collaboration, and sometimes functionality (in Go, a capitalized name is exported).

Language / ContextVariables / FunctionsClasses / TypesConstants
JavaScriptcamelCasePascalCaseSCREAMING_SNAKE
Pythonsnake_casePascalCaseSCREAMING_SNAKE
JavacamelCasePascalCaseSCREAMING_SNAKE
C#camelCase (private) / PascalCase (public)PascalCasePascalCase
Rubysnake_casePascalCaseSCREAMING_SNAKE
GocamelCase (private) / PascalCase (exported)PascalCasePascalCase or camelCase
CSSkebab-case——
HTML attributeskebab-case——
URL slugskebab-case——
Database columnssnake_case——
Environment variables——SCREAMING_SNAKE

Following these conventions is not optional in professional development. Code that uses get_user_name in a JavaScript codebase (where getUserName is standard) signals inexperience. Linters and formatters enforce these conventions automatically. See our HTML Entities Guide for related web development formatting standards.

Accessibility and Case

Case formatting affects how assistive technologies interpret your text.

Screen Readers and ALL CAPS

Depending on the screen reader, its settings and the word, all-caps text may be read as a word or spelled out letter by letter — helpful for an acronym like "FBI", confusing for an ordinary word. Accessibility guides often recommend styling text with CSS text-transform: uppercase instead of typing it in capitals, so that assistive technology generally receives the original mixed-case text while the display shows uppercase.

Readability of Case Formats

Readability research has long found that all-caps text is slower to read than mixed case (Title Case and Sentence case). A common explanation is that lowercase letters, with their ascenders and descenders, give words more distinctive shapes, while all-caps words form uniform rectangles. For anything longer than a short label, mixed case is easier on readers.

Using WritePadPro's Case Converter

WritePadPro's Case Converter transforms text between multiple case formats instantly.

Step 1: Paste Your Text

Open the Case Converter and enter your content.

Step 2: Select the Target Case

Click one of the eight mode buttons:

  • UPPERCASE — converts every letter to capitals
  • lowercase — converts every letter to lowercase
  • Title Case — capitalizes each word except short words such as a, the, and, of and to, which stay lowercase unless they come first or last
  • Sentence case — capitalizes the first letter of each sentence and the pronoun “I”; it cannot recognize proper nouns, so re-capitalize names afterward
  • aLtErNaTiNg — alternates lowercase and uppercase letter by letter
  • camelCase, snake_case and kebab-case — join the words of each line for code, with punctuation removed

PascalCase and SCREAMING_SNAKE_CASE have no button of their own. For SCREAMING_SNAKE_CASE, convert to snake_case, paste the result back into the input and apply UPPERCASE.

Step 3: Copy the Result

The converted text appears instantly in the Result box, while your original text stays unchanged. Use Copy or Download to save it.

Privacy

All conversion runs locally in your browser. Your text is never transmitted to any server.

Summary

Text case is a formatting decision with real consequences for readability, professionalism, programming standards, and accessibility. The nine case formats — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and SCREAMING_SNAKE_CASE — each serve specific purposes in specific contexts.

For web content, Title Case or Sentence case for headings are the safest choices. For URLs, kebab-case is the standard. For programming, follow your language's conventions exactly. For accessibility, avoid typing in ALL CAPS — use CSS text-transform instead.

Convert text between common case formats with WritePadPro's Case Converter — instant transformation with one click. For headline capitalization in a specific style (APA, Chicago, MLA or AP), use the Title Case Converter.

Frequently Asked Questions

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every major word: 'How to Write Better Headlines for Your Blog.' Sentence case capitalizes only the first word and proper nouns: 'How to write better headlines for your blog.' Title Case is traditional for headings in publishing and journalism. Sentence case has become common in modern web design because it feels more natural and conversational; Google's Material Design and Microsoft's style guide both call for it in interface text. Choose one style and apply it consistently across your entire site.

Which words should be lowercase in Title Case?

In most style guides, lowercase these words unless they are the first or last word of the title: articles (a, an, the), short prepositions (in, on, at, to, for, of, by), and coordinating conjunctions (and, but, or, nor). AP Style capitalizes all words of four or more letters. Chicago Manual of Style lowercases all prepositions regardless of length. The key is consistency — pick one style guide and follow it for every heading. WritePadPro's Case Converter lowercases a fixed list of short words (articles, coordinating conjunctions and short prepositions); for APA, Chicago, MLA or AP rules, use WritePadPro's Title Case Converter.

Why do programmers use different case conventions?

Programming languages use specific case conventions to distinguish between different types of identifiers at a glance. In JavaScript, camelCase identifies variables and functions (getUserName), PascalCase identifies classes and components (UserAccount), and SCREAMING_SNAKE identifies constants (MAX_RETRIES). These conventions are not arbitrary — they make code more readable by conveying structural information through formatting. A developer seeing PascalCase knows it is a class without checking the definition. Style guides set these conventions, and linters can enforce them automatically.

Is ALL CAPS bad for accessibility?

It can be, in two ways. First, depending on the screen reader and its settings, some all-caps words may be spelled out letter by letter instead of read as words, which confuses listeners. Second, readability research has long found all-caps text slower to read than mixed case, in part because all-caps words lose their distinctive shapes. Accessibility guides often recommend CSS text-transform: uppercase for visual all-caps styling instead of typing in capitals, so that assistive technology generally receives the original mixed-case text while sighted users see uppercase.

Try These Tools

Related Articles