Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more.
How to use this tool
- 1
Type or paste your text — words separated by spaces work best.
- 2
Every common case is generated at once: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.
- 3
Click Copy next to whichever variant you need.
Why are there so many text cases, and when do you use each?
Capitalization isn't just style — in code it carries meaning, and different ecosystems standardized on different conventions decades ago. camelCase (first word lowercase, each later word capitalized) names variables and functions in JavaScript, Java, and Swift. PascalCase (every word capitalized) names classes, types, and UI components across most languages. snake_case (lowercase words joined by underscores) is Python's house style and the norm for database columns. kebab-case (lowercase words joined by hyphens) names files, URLs, and CSS classes, because hyphens are URL- and filename-safe where underscores and capitals are awkward. CONSTANT_CASE (uppercase with underscores) signals a constant or environment variable in almost every language. Title Case and Sentence case belong to prose — headings and sentences respectively. Converting between these by hand is slow and easy to get wrong, especially across a long label or a list of values. This tool takes your input — split into words on spaces — and produces every convention at once, so you copy the exact form your language or style guide wants instead of retyping. Because it splits on spaces, the cleanest input is a plain phrase like 'user profile id'; paste the words separated by spaces and you'll get correct camelCase, snake_case, kebab-case, and the rest in a single step.
Common use cases
Generate a URL slug or CSS class (kebab-case) from a human-readable title.
Turn a label like 'maximum retry count' into a CONSTANT_CASE environment-variable name.
Produce a database column name (snake_case) from a form-field label.
Create a camelCase variable name or a PascalCase component name from a plain description.
Fix an all-caps paste back to Sentence case, or set a heading in Title Case.
Standardize a list of labels to one convention before pasting them into code.
Frequently asked questions
How does it decide where the words are?▼
What's the difference between camelCase and PascalCase?▼
What's the difference between Title Case and Sentence case?▼
How does it handle acronyms like ID, URL, or API?▼
Why not just use my editor's built-in case commands?▼
Is my text private?▼
Related tools
Word & Character Counter
Count words, characters, sentences, paragraphs.
Reading Time Calculator
Estimate reading time for any text.
Headline Analyzer
Score headlines for engagement and SEO.
Email Subject Line Tester
Score email subject lines for open rate.
Markdown to HTML
Convert Markdown to HTML.
HTML to Markdown
Convert HTML to clean Markdown.