Case Converter
Convert text between case styles. UPPERCASE, lowercase, Title Case, sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE — all runs in your browser.
Text in, new case out
Pick a style — see your text re-cased instantly. Programmer casings (camel, snake, kebab) split on whitespace, underscores and dashes.
Hello World
hello_world
What you'll use this for
Switching between human-friendly prose and machine-friendly identifiers — without hand editing every word.
Variable renaming
Convert between userName, user_name, UserName, and user-name across languages.
SEO slugs
Turn article titles into kebab-case URL paths. Pair with the slug generator for full transliteration.
Constants
Promote a string list to CONSTANT_CASE for enums, env vars, or feature flags.
Legacy migrations
Bulk-rename columns or fields when porting between camelCase and snake_case codebases.
How to change text case
Paste your text
Drop it into the left editor. One word, a paragraph, or a long list — all work.
Pick a case style
Choose from 11 options — natural language casings (UPPER, lower, Title, Sentence) and programmer casings (camel, Pascal, snake, kebab, CONSTANT).
Click Convert
Or leave auto-convert on for live updates. Runs locally — no upload.
Copy or download
Copy to clipboard or save the result as .txt.
Frequently asked questions
Eleven: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, tOGGLE cASE, and aLtErNaTiNg case.
Yes. Uppercase and lowercase conversions use the browser's locale-aware string methods, so accented and non-Latin characters round-trip correctly. Note that some scripts (e.g. Turkish) have locale-dependent casing rules.
Yes. No signup, no limits, no ads. Runs entirely in your browser.
The programmer casings (camel, Pascal, snake, kebab, CONSTANT) split the input on whitespace, underscores, and hyphens, then rejoin with the right separator. Punctuation inside words is preserved.
Most case changes are lossy — once you've lower-cased "HCODX" the original casing is gone. Pick a different style and re-run to switch, but you can't recover the original prose-cased input from snake_case without context.
About case conversion
Case conversion is one of the most common text manipulations in programming. Code identifiers, file names, URL slugs, environment variables, and prose all use different conventions — switching between them by hand is tedious and error-prone.
Natural-language casings
- UPPERCASE — emphasis, headings, acronyms.
- lowercase — neutral default, URLs, hashtags.
- Title Case — book and article titles, headings.
- Sentence case — paragraphs, UI copy.
Programmer casings
- camelCase — JavaScript, Java, Swift variables.
- PascalCase — class names, types, components.
- snake_case — Python, Ruby, SQL identifiers.
- kebab-case — URL slugs, CSS classes, HTML attributes.
- CONSTANT_CASE — env vars, language constants, enums.