Case Converter β 9 Formats
Convert text between 9 case formats β UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case.
Tool code processes selected files and entered content in your browser and does not submit them to a TOOLGRID processing endpoint. TOOLGRID measures tool usage, not the content you enter.
Loading toolβ¦
Browser-basedWhat this tool does
Change text casing across nine common formats in one paste. Useful for renaming variables across coding conventions and reformatting headings.
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.
What you can do with this tool
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.
What to check before relying on the result
- Performance and maximum practical input size depend on browser memory, device speed, and the structure of the input.
- Review the generated result before replacing or publishing an original file.
How to use
- 1
Type or paste any text into the input field.
- 2
Scan the output grid β every casing variant is generated at once.
- 3
Click to copy the variant 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
Title Case mechanically capitalizes each detected word; it does not apply editorial rules for articles or conjunctions. Sentence case lowercases the input and capitalizes its first character; it does not identify proper nouns. Review names, acronyms, and publication-specific style manually.
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.
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.
URLs vs Urls vs urls β there is no universal acronym convention for camelCase or PascalCase. This converter applies mechanical casing rules and does not recognize domain-specific names, so review acronyms manually.
FAQ
Which 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?
Multiline input is accepted, but output layout depends on the selected case. Identifier-oriented variants normalize separators and can collapse line breaks, so review the copied result instead of assuming every variant preserves the input layout.
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?
Case conversion runs in your browser. Tool code does not submit entered text to a TOOLGRID processing endpoint; review your browser, extensions, and device security before using any web tool with sensitive material.
Useful next steps
Open a nearby browser tool when you need to validate, convert, or reuse the result.