Free Text Case Converter
Convert between 13 cases in one click — UPPERCASE, Title Case, camelCase, snake_case, kebab-case, and more.
Result
What this case converter does
This free online case converter transforms your text between 13 different capitalization styles instantly. Whether you need Title Case for a headline, camelCase for a JavaScript variable, snake_case for a Python function, kebab-case for a URL slug, or SCREAMING_SNAKE for a constant, everything happens in one click. No sign-up, no server upload, no character limit — just paste text, click a style button, and copy the result.
How to use the case converter
- Paste or type your text into the input box at the top.
- Click any case button — the converted output appears in the box below, and the button highlights to show which style you’re viewing.
- Edit the input anytime — the output updates automatically to match the currently selected case.
- Click 📋 Copy to send the result to your clipboard.
The 13 cases explained with examples
| Case name | Example | Best used for |
|---|---|---|
| UPPERCASE | HELLO WORLD | Headers, warnings, acronyms, legal disclaimers |
| lowercase | hello world | URL slugs, email addresses, hashtags, code identifiers |
| Title Case | Hello World | Article headlines, book titles, product names, movie titles |
| Sentence case | Hello world | Body copy, blog posts, natural prose |
| camelCase | helloWorld | JavaScript, Java, Swift, C# variable and function names |
| PascalCase | HelloWorld | Class names in most languages, React components, C# types |
| snake_case | hello_world | Python, Ruby, Rust variables and functions; SQL columns |
| CONSTANT_CASE | HELLO_WORLD | Constants and environment variables |
| kebab-case | hello-world | URL slugs, CSS class names, HTML attributes |
| dot.case | hello.world | Namespaces, package names, config file keys |
| aLtErNaTiNg | hElLo WoRlD | Meme text (SpongeBob sarcasm), stylized social posts |
| InVeRsE cAsE | hELLO wORLD | Flipping existing capitalization |
| Reverse | dlrow olleh | Puzzles, RTL testing, text obfuscation |
Programming case conventions by language
Every programming language has strong conventions about which cases to use where. Following them makes your code instantly readable to other developers and often satisfies automatic linters.
JavaScript, TypeScript, Java, Swift
Use camelCase for variables, functions, methods, and properties. PascalCase for class names, interfaces, types, and React components. SCREAMING_SNAKE_CASE for module-level constants.
Python, Ruby, Rust, Elixir
Use snake_case for variables, functions, methods, module names, and file names. PascalCase for classes. SCREAMING_SNAKE_CASE for constants.
Go
Use camelCase for unexported (package-private) identifiers and PascalCase for exported (public) identifiers — Go uses capitalization for visibility.
CSS, HTML, URLs
Use kebab-case for class names, custom properties, HTML attributes, and URL paths. Google explicitly recommends dashes over underscores in URLs.
SQL
Most style guides prefer snake_case for table and column names. Some teams use lowercase-only. Never use camelCase in SQL — case sensitivity varies wildly across databases.
Real-world use cases
Writers and editors — Convert a headline to Title Case without capitalizing every article and preposition. Convert an all-caps quote to Sentence case for a natural read. Fix inconsistent capitalization in a bulk paste from another source.
Developers — Rename a Python variable to JavaScript style in one click. Convert database column names between snake_case and camelCase for API responses. Generate URL slugs from article titles.
SEO teams — Convert page titles to kebab-case URL slugs. Strip capitalization from meta keywords. Standardize hashtags to lowercase.
Marketers and social media managers — Convert product names to a consistent style across every channel. Transform any text to aLtErNaTiNg case for meme replies or stylized posts.
Students — Fix accidental caps-lock lines. Convert essay titles to proper Title Case. Standardize citation formatting.
Case converter comparison
| Feature | This tool | Word / Docs | Online rivals |
|---|---|---|---|
| Number of cases | 13 | 3 (Sentence, lower, UPPER, Title, tOGGLE) | Typically 5–8 |
| Programming cases (camel, snake, kebab, dot) | ✅ | ❌ | Some |
| Live update when editing input | ✅ | ❌ | Rare |
| Handles Unicode & accents | ✅ | ✅ | Varies |
| Runs offline in the browser | ✅ | Requires app | Some upload text |
| Sign-up required | ❌ Never | Microsoft/Google account | Varies |
Pro tips
- For URL slugs, always use kebab-case in lowercase. Google recommends dashes over underscores, and case-sensitive servers treat
/My-Pageand/my-pageas different URLs. - Title Case has multiple rulesets. Chicago style capitalizes major words; AP style capitalizes anything 4+ letters. Our converter uses the simplest rule: capitalize every word. Adjust manually for articles like “of,” “the,” “and” if your style guide demands it.
- Sentence case is friendlier for UI copy. Modern product design (Google, Apple, Slack) has moved away from Title Case for buttons and menu items — Sentence case reads more natural and less shouty.
- PascalCase and camelCase differ only in the first character. Both remove spaces and capitalize word starts.
- Case conversion preserves Unicode. Accented characters (é, ñ, ü) and non-Latin scripts convert correctly. Emoji pass through unchanged.
Frequently asked questions (FAQs)
Both remove spaces and capitalize each new word. The only difference is the first letter: camelCase starts with lowercase (helloWorld), PascalCase starts with uppercase (HelloWorld). Convention: camelCase for variables, PascalCase for classes and React components.
Title Case capitalizes every word (“The Quick Brown Fox”). Sentence case capitalizes only the first word and proper nouns (“The quick brown fox”). Book titles use Title Case; body sentences use Sentence case.
Yes. Accented characters, Cyrillic, Greek, and other Unicode scripts convert correctly. Emojis and symbols pass through unchanged.
Use kebab-case (dashes) in lowercase. Google explicitly recommends dashes over underscores, and lowercase is required because case-sensitive servers treat different capitalizations as different URLs.
No. Every conversion is a JavaScript string operation in your browser. Nothing is uploaded, logged, or stored on any server.
No practical limit. You can paste an entire novel and the browser handles it. Very large files (10 MB+) may briefly freeze the UI while processing — that’s a browser limit, not ours.