Text case might seem like a stylistic quirk — something you adjust once and forget. In practice, the case convention you choose carries real meaning, and using the wrong one in the wrong context can create confusion, break code, or undermine the tone of your writing.
The Main Text Case Conventions
UPPERCASE (ALL CAPS)
Every letter capitalized. Used for acronyms (NASA, HTML, API), emphasis in headlines, and certain legal or regulatory text. In digital communication, all-caps is often read as shouting — use it deliberately and sparingly.
lowercase
No capitals at all. Common in informal communication, poetry, certain brand names (adidas, bell hooks), and as the base convention for URLs and slugs.
Title Case
Major words capitalized, minor words (a, the, of, in) lowercase. Standard for article headlines, book titles, and formal headings. Style guides (APA, Chicago, AP) differ slightly on which words to capitalize — our tool follows the most common convention.
Sentence case
Only the first word and proper nouns are capitalized — exactly as you'd write a normal sentence. Increasingly preferred for UI text, button labels, and blog headings because it feels more conversational and reads faster.
camelCase
No spaces; each new word starts with a capital, except the first: myVariableName. Standard in JavaScript, Java, and many other programming languages for variable and function names.
PascalCase
Like camelCase, but the first word is also capitalized: MyClassName. Used for class names and components in most object-oriented languages and frameworks like React.
snake_case
Words separated by underscores, all lowercase: my_variable_name. Standard in Python and Ruby, common in database column names and file names.
kebab-case
Words separated by hyphens, all lowercase: my-class-name. Used in CSS class names, HTML attributes, and URL slugs. Never used in programming languages where a hyphen would be read as a minus sign.
Quick Reference by Context
- Blog post titles: Title Case or Sentence case
- CSS classes: kebab-case
- JavaScript variables: camelCase
- Python variables: snake_case
- React components: PascalCase
- Database columns: snake_case
- URL slugs: kebab-case
- Acronyms: UPPERCASE
- UI button labels: Sentence case
When You Need to Switch
The most common scenario: you've exported data, copied a heading, or received text that needs to match a specific format. Instead of retyping, use our Text Case Converter — paste your text and switch between any convention in one click.