Case Converter
Convert text to UPPER CASE, lower case, camelCase, PascalCase, snake_case, kebab-case and more — instantly in your browser.
Updated March 2026
How to Convert Text Case
Convert to any format in one click
1. Paste or type your text
Into the input box — works with multiple lines.
2. Click a format
UPPERCASE, camelCase, snake_case, or any of the 10 supported case styles.
3. Copy the result
Click Copy or press `Shift+Enter`. Use `Shift+←/→` to cycle through formats without the mouse.
What This Case Converter Does
10 case styles, automatic input detection
camelCase and PascalCase
Standard in JavaScript, TypeScript, Java, and C# — variables/functions vs. classes/components.
snake_case and CONSTANT_CASE
Convention in Python, Ruby, and databases; CONSTANT_CASE for environment variables.
kebab-case
Standard for HTML attributes, CSS classes, URL slugs, and command-line flags.
dot.case
Config keys, Java packages, and logging frameworks.
Automatic detection
helloWorld is already recognized as camelCase — no need to split words manually first.
100% in your browser
No text is ever sent to a server during conversion.
Examples
When You'll Need This
The most common scenarios among people who use this tool
Renaming variables across languages
Porting Python to JavaScript: convert user_first_name to userFirstName in bulk.
Generating URL slugs
Convert a post title to kebab-case for a clean, readable URL.
Creating environment variables
Turn plain descriptions into ready-to-use CONSTANT_CASE for .env files or a secrets manager.
Fixing capitalization in documents
Text typed in ALL CAPS by mistake, or applying Title Case consistently across headings.
Common Mistakes
Confusing camelCase with PascalCase
The only difference is the first letter: lowercase in camelCase, uppercase in PascalCase.
Expecting editorial rules from Title Case
It capitalizes every word without skipping short prepositions — manual review is still needed for strict style-guide title case.
Expecting special characters in programmatic formats
!, @, # are stripped when converting to camelCase or snake_case, since identifiers can't contain them.
Why Use This Case Converter
It automatically detects and splits input that's already in camelCase, PascalCase, snake_case, kebab-case, or dot.case before converting — no need to separate the words manually first.
10 formats cover nearly every programming ecosystem, running entirely in your browser with no code ever sent to a server.
Frequently Asked Questions
Yes. It automatically detects and splits input written in camelCase, PascalCase, snake_case, kebab-case, and dot.case into individual words before applying the target format.
References
A comprehensive overview of every case style used across programming languages and ecosystems.
Google's official guidance on naming conventions and word choice for technical documentation.
The official Python style guide, covering snake_case for functions and variables, and CONSTANT_CASE for constants.
Related Tools
- ASCII Table Generator Developer Free ASCII table generator — create plain-text tables in MySQL, Markdown, Unicode and more styles. Paste CSV or type data, copy output in one click. No signup.
- Base64 Decoder Developer Free online Base64 decoder — decode Base64 strings back to plain text instantly in your browser. Validates input and shows decoded payload size.
- Base64 Encoder Developer Encode any text or string to Base64 instantly in your browser. Supports UTF-8, shows character count and output payload size. Free, no signup, 100% client-side.
- Base64 to Image Developer Paste a Base64 string or data URL and instantly preview the decoded image — free online converter supporting PNG, JPEG, WebP, GIF, SVG. No upload, runs locally.
- Bcrypt Generator Developer Free bcrypt hash generator and verifier — 100% client-side. Real-time cost benchmark, hash parser, code snippets for Node.js, Python, PHP, Go. No signup.