Skip to the tool

Case Converter

Switch text between seven letter-casing styles—from UPPERCASE to kebab-case—in one click.

Each casing style serves a different audience. UPPERCASE and Title Case suit headings and print, while camelCase, snake_case, and kebab-case are naming conventions written for code: camelCase traces back to Smalltalk and was popularized by Java, snake_case is the standard in C and Python, and kebab-case dominates URLs and CSS class names.

Converting between these styles is a common step when moving data between systems—an API response using camelCase fields may need to become snake_case database columns, or a spreadsheet header in Title Case may need to become a kebab-case URL slug.

Common uses

Frequently asked questions

What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariable) while PascalCase capitalizes every word including the first (MyVariable); this tool currently produces camelCase, the more common choice for variable names.
Why do URLs use kebab-case instead of snake_case?
Search engines historically treated hyphens as word separators but underscores as part of a single word, so kebab-case slugs were indexed and ranked more accurately.
Does Title Case capitalize small words like "of"?
This tool capitalizes the first letter of every word for simplicity, unlike AP or Chicago style guides which keep short words such as "of" and "the" lowercase mid-sentence.

Related tools