Text Case Converter

Convert text formats instantly. Runs entirely locally in your browser.

·
0 characters

Standard Formats

Programming Formats

Advertisement

Case Formatting Guide

Title Case vs Capitalized Case

Capitalized Case capitalizes the first letter of every single word.Title Case capitalizes the first letter of major words, but leaves minor words (a, an, the, and, but, or, for, nor, on, at, to, from, by) lowercase unless they are the first word of the sentence.

Programming Formats

  • camelCase: No spaces, first word lowercase, subsequent words capitalized. Used for JavaScript/Java variables.
  • PascalCase: No spaces, all words capitalized. Used for Classes and React components.
  • snake_case: Lowercase words separated by underscores. Used for Python variables and database columns.
  • kebab-case: Lowercase words separated by hyphens. Used for CSS classes and URLs.
  • CONSTANT_CASE: Uppercase words separated by underscores. Used for global constants.

Frequently Asked Questions

What's the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (myVariableName) and is the convention for variables and functions in JavaScript. PascalCase capitalizes the first letter of every word (MyComponentName) and is the convention for classes and React components.

When would I use snake_case instead of camelCase?

snake_case is the standard naming convention in Python, Ruby, and most SQL database column names, while camelCase is standard in JavaScript, Java, and C# — the right choice depends on the language or system you're writing for.

Does Title Case capitalize every word?

Standard Title Case capitalizes the first letter of major words but conventionally leaves short articles, conjunctions, and prepositions (a, the, and, of) lowercase unless they're the first or last word — style guides vary on the exact rule set.

Is this tool useful for anything besides code?

Yes — beyond programming naming conventions, it's commonly used for cleaning up pasted text, formatting headlines, or normalizing inconsistent capitalization in spreadsheets and documents.

⚡ Related Developer Tools

View All 30+ Tools →