About Universal Case Converter
Convert your text to any of 20 case formats without switching between tools. Type or paste your text once, then click any case button to transform it instantly.
Whether you need UPPERCASE for a headline, snake_case for a Python variable, or #Hashtag for a social post — it’s all here in one place.
All conversions happen directly in your browser. No data is stored or sent anywhere.
How to Use
- Type or paste your text into the input box
- Click any case button from the Writing, Developer, or Fun groups
- Copy or download the result — or click another button to re-convert
You can keep clicking different buttons to preview multiple formats from the same original text using Undo.
All 20 Supported Case Formats
Writing & Everyday
| Format | Example Output | Best For |
|---|---|---|
| UPPERCASE | HELLO WORLD | Headings, emphasis, constants |
| lowercase | hello world | Normalising text, email addresses |
| Title Case | Hello World | Headlines, book and article titles |
| Sentence case | Hello world | Normal prose, messages |
| Proper Case | Hello World | Names, formal titles |
Developer & Naming Conventions
| Format | Example Output | Best For |
|---|---|---|
| camelCase | helloWorld | JavaScript variables, JSON keys |
| PascalCase | HelloWorld | Class names, React components |
| snake_case | hello_world | Python, Ruby, database columns |
| kebab-case | hello-world | CSS classes, URLs, HTML attributes |
| CONSTANT_CASE | HELLO_WORLD | Environment variables, constants |
| COBOL-CASE | HELLO-WORLD | COBOL programs, legacy systems |
| dot.case | hello.world | Config keys, namespaces |
| UPPER.DOT.CASE | HELLO.WORLD | Logging, some APIs |
| path/case | hello/world | File paths, URL routes |
| Train-Case | Hello-World | HTTP headers |
Fun & Stylistic
| Format | Example Output | Best For |
|---|---|---|
| aLtErNaTiNg | hElLo wOrLd | Memes, sarcastic tone |
| iNVERSE | HEllo WORLd | Flip existing casing |
| tOGGLE | hELLO wORLD | Fix accidental caps lock text |
| rAnDoM | heLLo WorLD | Randomised styling |
| #Hashtag | #Hello #World | Social media posts |
Key Features
✅ 20 Case Formats — Every common case style in one place
✅ Instant Conversion — Click any button for immediate results
✅ Smart Input Parsing — Correctly converts from camelCase, snake_case, and other formats, not just plain English
✅ Preserve Lines — Convert each line independently to keep your text structure intact
✅ Undo / Redo — Step back through your conversion history
✅ Upload & Download — Works with text files
✅ No Signup Required — 100% browser-based
✅ Private & Secure — No text ever leaves your device
How the Conversion Works
Preserve Lines Mode
When the Preserve lines checkbox is enabled (default), each line in your input is converted independently. This is useful when your text has meaningful line breaks you want to keep intact.
Example with Preserve Lines ON:
hello world
foo bar baz
→ snake_case →
hello_world
foo_bar_baz
Example with Preserve Lines OFF:
hello world
foo bar baz
→ snake_case →
hello_world_foo_bar_baz
Disable it when you want the entire input treated as a single continuous string — common for developer cases like camelCase or PascalCase where you’re converting a full phrase into one identifier.
Smart Word Splitting
Before applying developer case formats, the tool splits your input into words intelligently. This means it correctly handles:
- Plain text:
hello world→ words:hello,world - camelCase input:
helloWorld→ words:hello,world - snake_case input:
hello_world→ words:hello,world - kebab-case input:
hello-world→ words:hello,world
So converting from kebab-case to camelCase works correctly, not just converting from plain English.
What Gets Converted
✅ All alphabetic characters (a–z, A–Z)
✅ Accented and international characters where applicable
✅ Words separated by spaces, hyphens, underscores, dots, and slashes
What Stays the Same
❌ Numbers, punctuation, and special symbols (in most formats)
❌ Case-neutral scripts (Chinese, Japanese, Arabic, Hebrew, etc.)
Common Use Cases
Developers
Quickly reformat variable names, function names, or identifiers when switching between languages or refactoring code:
- Paste a sentence → get
camelCase,snake_case, andPascalCasein seconds - Convert environment variable names to
CONSTANT_CASE - Format CSS class names in
kebab-case
Writers & Editors
Fix capitalisation on pasted content in bulk:
- Normalise ALL CAPS text to
Sentence case - Format article titles with proper
Title Case - Convert a heading to
lowercasefor URL slug use
Social Media & Marketing
- Turn any phrase into
#Hashtagformat for Instagram or LinkedIn - Create
UPPERCASEslogans and calls to action - Stylise text with
aLtErNaTiNgcase for memes
QA & Testing
Generate test data strings in multiple naming conventions without manual reformatting.
Frequently Asked Questions
Can I convert between developer formats, not just from plain text?
Yes. The tool parses camelCase, snake_case, kebab-case, and other formats before converting, so you can go directly from myVariableName to my-variable-name without any manual cleanup.
What’s the difference between Inverse Case and Toggle Case?
They are functionally the same — both flip uppercase letters to lowercase and vice versa. They’re listed separately to match the individual tools available on this site.
What’s the difference between Title Case and Proper Case?
Title Case follows headline capitalisation rules, keeping short words like “a”, “the”, “and”, “of” in lowercase unless they’re the first word. Proper Case capitalises every single word without exception.
Example: a tale of two cities
- Title Case →
A Tale of Two Cities - Proper Case →
A Tale Of Two Cities
Is there a character limit?
No limits — convert from a single word to an entire document instantly.
Is my text private?
Yes. All conversions happen directly in your browser — no data leaves your device or gets stored anywhere.
Can I use it commercially?
Yes, completely free for personal and commercial use. No login or restrictions.
Should I use this or an individual case converter?
If you know exactly which format you need, the individual tools (like the Camel Case Converter or Title Case Converter) offer a more focused experience with format-specific documentation. Use this Universal Converter when you want to explore multiple formats quickly or aren’t sure which one you need.