Case Converter — 9 Formats
Convert text between 9 case formats — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case.
Why use this tool
01Change text casing across nine common formats in one paste. Useful for renaming variables across coding conventions and reformatting headings.
Paste text into the input. The tool generates all nine common casing variants simultaneously — no need to pick one in advance. Copy whichever fits the context you're writing for.
Nine outputs in one pass: UPPERCASE (shout), lowercase (default), Title Case (headings), Sentence case (prose), camelCase (JavaScript), PascalCase (C#/Go types), snake_case (Python, SQL), CONSTANT_CASE (env vars, constants), and kebab-case (URLs, CSS classes, file names).
Especially useful when renaming a variable across coding conventions — type the variable name once, and you get every style instantly. No more mental gymnastics translating user_id to userId, UserId, USER_ID, and user-id by hand.
All conversion happens in your browser. The input never leaves your device — paste internal class names, customer identifiers, or draft headings freely. Pair with our Slug Generator when you need a URL-safe version, or Word Counter for sentence-level stats on the same input.
How to use
02Quick checks before you copy
03Confirm the input is the format you intended.
Scan the result before using it in a document, URL, config, or message.
Copy only the output you need.
Use Cases
Have a name in user_id but need it as userId for JavaScript, UserId for a C# class, and USER_ID for an env variable? Paste once and copy each style. Faster than hand-translating between four conventions.
A heading reads differently in Title Case (article headlines), Sentence case (UI copy), and UPPERCASE (badges, alerts). Try all three from one paste and pick what fits the surface.
kebab-case output is URL-safe, CSS-safe, and HTML-id-safe. Paste a feature name or article title to get a clean slug. For pure URLs with diacritic stripping, use the dedicated Slug Generator instead.
Headings copied from CMSes often arrive in inconsistent capitalization. Paste them in and pick the canonical case (usually Sentence case for body content, Title Case for section headers).
Some projects use camelCase for variables but snake_case for DB columns and kebab-case for HTTP routes. One paste generates all three styles consistently — no manual rewriting between layers.
Tips & Tricks
- 01Title Case vs Sentence case
Title Case capitalizes "important" words (most non-articles, non-conjunctions). Sentence case capitalizes only the first letter of the sentence and proper nouns. For UI strings, Sentence case is the modern convention. For article titles, Title Case still rules in English.
- 02camelCase vs PascalCase
Both join words by capitalizing internal letters. camelCase keeps the first letter lowercase (variables, methods); PascalCase capitalizes the first letter too (classes, types, constructors). Picking the right one is a code-style convention, not a meaning difference.
- 03kebab-case for URLs, snake_case for code, CONSTANT_CASE for env
URL slugs and CSS class names use kebab-case (hyphens are safe in URLs but not in identifiers). Python variables, SQL columns, and many configs use snake_case. Environment variables and global constants use CONSTANT_CASE in nearly every language.
- 04Acronyms confuse case converters
URLs vs Urls vs urls — there's no consensus on how acronyms should appear in camelCase/PascalCase. The tool follows Microsoft's PascalCase guideline (capitalize first letter only of multi-letter acronyms beyond 2 chars). If your project uses a different convention, you may need to manually adjust acronyms in the output.
FAQ
04Which case formats does this tool support?
Nine formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, CONSTANT_CASE, and kebab-case. All nine are generated at once from a single input paste — no need to select one in advance.
Does it support camelCase, PascalCase, and snake_case?
Yes — all three, plus six other common casing styles. Paste your input and copy whichever output variant you need. This is the main use case for the tool: translating an identifier between coding conventions instantly.
Can I convert multiple lines or paragraphs at once?
Yes. Paste any amount of text — sentences, paragraphs, lists, or code snippets. Every casing variant is regenerated as you type. Each variant treats the whole input as one logical "phrase" being recased.
How does it handle existing capitalization in the input?
The input's capitalization is ignored — each output applies its own casing rules from scratch. So "hello_world", "HelloWorld", and "hello world" all produce the same outputs across the nine variants.
Does it handle non-English characters?
It uses JavaScript's Unicode-aware toUpperCase()/toLowerCase() — so accented letters and most scripts case-fold correctly. For specialized linguistic rules (Turkish dotted/dotless I, German ß ↔ SS), results may vary; verify before using on non-English content.
Is my input sent to a server?
No. All case conversion runs in your browser. Paste internal class names, customer identifiers, or proprietary heading copy freely — none of it touches a server.
Related tools
03Word Counter→
Count words, characters, and lines in pasted text.
Slug Generator→
Create a clean URL slug from a title or phrase.
Text Diff Checker — Line, Word & Character→
Compare two text blocks and see additions, deletions, and changes — switchable between line, word, and character granularity.