Text & dev
Case Converter
Paste text and convert it to any case with one click: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case or aLtErNaTiNg. Copy the result and go. This is a quick fix for a headline you accidentally typed in all caps, a spreadsheet column that needs consistent capitalization, a blog title that should be Title Case, or variable and file names that need camelCase, snake_case or kebab-case for code. Everything runs in your browser — nothing leaves the page — so you can paste sensitive text safely and reformat it in a tap.
Your text
Your converted text will appear here. Type something, then pick a case.
Counts reflect the converted output. camelCase, snake_case and kebab-case strip punctuation between words.
How the case converter works
Each button applies a transformation to your text. The simple cases (upper, lower, alternating) work character-by-character. Title and Sentence case capitalize at word or sentence boundaries. The programr cases — camelCase, snake_case and kebab-case — first split the text into words (on spaces, punctuation and case changes), then rejoin them with the right separator.
What each case does
Title Case → Capitalizes The First Letter Of Each Word camelCase → firstWordLowerRestCapitalizedNoSpaces snake_case → words_joined_with_underscores kebab-case → words-joined-with-hyphensProgramr cases ignore existing separators and rebuild from detected words.
Notes & assumptions
- Sentence case splits on . ! ? and capitalizes the first letter after each.
- Word detection for camel/snake/kebab handles spaces, hyphens, underscores and camelCase boundaries.
- Original whitespace is preserved for upper, lower, title, sentence and alternating cases.
Frequently asked questions
What's the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word, the style used for many U.S. headlines and book titles, such as "The Quick Brown Fox." Sentence case capitalizes only the first letter of each sentence and any proper nouns, like normal prose: "The quick brown fox." Pick Title Case for headings and Sentence case for body text, captions or UI labels.
What are camelCase, snake_case and kebab-case used for?
They're naming conventions common in programming. camelCase ("userName") is typical for JavaScript variables, snake_case ("user_name") for Python and database columns, and kebab-case ("user-name") for URLs, CSS classes and file names. This tool detects the words in your text — even across spaces, punctuation and existing camelCase boundaries — and rejoins them in the format you choose.
How do I fix text I accidentally typed in all caps?
Paste the all-caps text into the box and click lowercase to flatten it, or Sentence case to restore normal capitalization with each sentence starting with a capital letter. Title Case is handy if the text is actually a heading. Then use Copy result to grab the fixed version — no need to retype anything.
Does converting case change my spacing or punctuation?
For UPPERCASE, lowercase, Title Case, Sentence case and aLtErNaTiNg, your original spacing, line breaks and punctuation are preserved — only letter casing changes. The programmer cases (camelCase, snake_case and kebab-case) intentionally strip spaces and punctuation between words because those formats don't allow them, rebuilding the text from the detected words.
Is my text uploaded anywhere?
No. The converter runs entirely in your browser with JavaScript, so your text is never sent to a server or stored. You can safely paste confidential notes, draft copy or code, convert it, copy the result, and close the tab — nothing is retained.