Instantly transform your text between 15+ formats including Title Case, camelCase, and snake_case. Free, secure, and works entirely in your browser with zero data sent to servers.
What Is a Case Converter and Why Does It Matter?
A case converter is a text formatting tool that transforms any written input into a specific capitalization style instantly. Whether you are a developer naming variables, a writer formatting article titles, a marketer drafting hashtags, or a student cleaning up notes, getting text case right saves time and prevents errors that are surprisingly hard to spot manually.
Most writing and coding tools do not let you switch between all text case formats in one place. This free online case converter handles everything from standard writing styles like Title Case and Sentence case to programming conventions like camelCase, snake_case, and kebab-case, all without installing anything.
Who Uses a Text Case Converter?
Text case conversion comes up more often than you think. Here are the most common real-world uses:
Variable and Function Naming
Convert plain English descriptions directly into camelCase, PascalCase, snake_case, or CONSTANT_CASE to paste straight into your code editor.
Headlines and Titles
Quickly apply proper Title Case to blog post headings, article titles, or book chapters without memorizing which words to capitalize.
Social Media and Hashtags
Generate clean, readable #Hashtags from any phrase in a single click. Also handy for formatting ad copy and email subject lines consistently.
Notes and Assignments
Fix inconsistently cased notes copied from slides or the web. Sentence case is especially useful for cleaning up ALL-CAPS or randomly capitalized text.
Meta Titles and Descriptions
Apply consistent capitalization across page titles and meta descriptions so your search listings look polished and professional.
Config and Environment Variables
Convert readable names into CONSTANT_CASE or COBOL-CASE for environment variables, config keys, and shell scripts without typos.
All Text Case Formats Explained
Not sure which format you need? This quick reference shows what each case type looks like and where it is commonly used.
| Format | Example Output | Common Use |
|---|---|---|
| Title Case | The Quick Brown Fox | Blog titles, headings, book chapters |
| Sentence case | The quick brown fox | Body text, email subjects, captions |
| UPPERCASE | THE QUICK BROWN FOX | Acronyms, emphasis, button labels |
| lowercase | the quick brown fox | URLs, usernames, casual writing |
| Capitalized Case | The Quick Brown Fox | Every word capitalized, no exceptions |
| camelCase | theQuickBrownFox | JavaScript variables, JSON keys |
| PascalCase | TheQuickBrownFox | Class names, React components, C# |
| snake_case | the_quick_brown_fox | Python, Ruby, database columns |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX | Environment variables, constants |
| kebab-case | the-quick-brown-fox | CSS classes, HTML attributes, URLs |
| COBOL-CASE | THE-QUICK-BROWN-FOX | COBOL, some config file keys |
| dot.case | the.quick.brown.fox | Java packages, i18n keys, logging |
| path/case | the/quick/brown/fox | File paths, REST API routes |
| #Hashtag | #The #Quick #Brown #Fox | Social media, Twitter, Instagram |
| aLtErNaTiNg | tHe qUiCk bRoWn fOx | Memes, satire, emphasis for fun |
| rAnDoM | tHe quICk BROwn fOx | Internet humor, mocking tone text |
| iNVERSE | THE QUICK BROWN FOX inverted | Inverting existing capitalization |
Tips for Getting the Best Results
Use "To Input" for Chaining
Convert to lowercase first to normalize messy input, then click "To Input" and switch to the case you actually want. This two-step method gives cleaner results than converting directly from mixed-case text.
Turn On Trim Spaces
If your source text was copied from a PDF, spreadsheet, or web page, enable "Trim Spaces" before converting. It removes double spaces and extra blank lines that would otherwise carry over into your output.
Preserve Acronyms in Titles
Title Case automatically preserves words that are already fully uppercase, so abbreviations like NASA, API, or HTML stay correctly capitalized instead of becoming Nasa, Api, or Html.
Upload Instead of Pasting
For long documents, use the Upload button instead of pasting. It supports .txt, .md, .json, .html, .js, and .css files, and the converter handles large text without losing any content.
Frequently Asked Questions
-
Title Case follows English style guide rules: short prepositions, articles, and conjunctions such as "a", "an", "the", "and", "or", "in", and "of" are left lowercase unless they are the first word. Capitalized Case simply capitalizes the first letter of every single word with no exceptions. For example, "War and Peace" in proper Title Case stays as "War and Peace", while Capitalized Case gives "War And Peace".
-
No. All conversion happens entirely in your browser using JavaScript. Your text never leaves your device and is never sent to any server. You can even disconnect from the internet after the page loads and the tool will continue to work normally.
-
Programming case formats like camelCase, snake_case, and kebab-case are designed for identifiers — variable names, function names, and keys — which cannot contain spaces, punctuation, or special characters. The converter strips those characters to produce a valid, usable identifier. These formats are not meant for sentences or prose.
-
Both. You can paste text directly or upload a plain text file using the Upload button, which accepts .txt, .md, .json, .html, .js, and .css files. Very large inputs above 50,000 characters will show a warning, but the converter will still process them. For extremely large files, using the Download button to save your output is recommended.
-
Press Ctrl+Enter on Windows and Linux, or Cmd+Enter on Mac, to copy the converted output to your clipboard instantly without reaching for the Copy button. You can also click anywhere inside the output text area to select all the text at once.
-
COBOL-CASE, also called SCREAMING-KEBAB-CASE or UPPER-KEBAB-CASE, uses all uppercase letters separated by hyphens, for example THE-QUICK-BROWN-FOX. It originates from the COBOL programming language but also appears in certain configuration file standards, HTTP header conventions, and some shell script environments.