Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more — plus handy text cleanup tools.
Case options
Everyday text
For code & files
Utilities
Clean up
Line tools
Stylized Unicode text
0 characters · 0 words
Why use a text case converter?
Case conversion needs come up in small but annoying ways all the time: a paragraph typed with Caps Lock stuck on, a spec written in Title Case that needs to become a camelCase variable name, a CSV column header that has to turn into a snake_case database field, a headline that needs proper title capitalization before it goes live. None of this is hard to do by hand for one word, but retyping an entire paragraph or a long list of field names by hand is slow and easy to get wrong.
This tool does the conversion with a small amount of plain JavaScript running directly in your browser — there's no library to load and nothing to send to a server. As you type or paste text and switch between case options, the result updates instantly, computed fresh in memory on your own device every time.
Paste or type your text, then pick UPPERCASE, lowercase, Title Case, camelCase, or snake_case, and press Copy to grab the result. For camelCase and snake_case specifically, the converter treats spaces, hyphens, underscores, and punctuation as word breaks — and it also detects existing camelCase or PascalCase boundaries, so pasting "hello-world", "Hello World", or even an already-cased "helloWorld" all convert cleanly to the same result instead of producing something broken like "helloworld" or "hello-World".
Developers reach for this most often when renaming variables or fields between naming conventions used by different languages and databases, writers use it to fix a sentence that got typed in all caps by accident, and editors use Title Case to get consistent headline capitalization without memorizing which small words to skip. If you also need to compare two versions of text or just count words and characters, the Text Diff Checker and Word & Character Counter tools cover that with the same local, nothing-uploaded approach.
Beyond the classic formats, Sentence case fixes text that got typed entirely in caps by capitalizing just the first letter of each sentence, while aLtErNaTiNg CaSe and iNVERSE cASE are the two novelty styles people reach for to make a comment stand out or read as sarcastic on social media — one flips the case of every other letter, the other flips every single letter's case relative to the original. Alongside the case options, three cleanup utilities handle the messy formatting that often comes with pasted text: Remove extra spaces collapses repeated spaces and tabs down to one per gap without touching your line breaks, Remove extra line breaks collapses stray blank lines left over from copy-pasting, and Sort lines A-Z alphabetizes a list — handy for cleaning up a pasted list of names, tags, or CSV-style rows before using them elsewhere.
Frequently asked questions
What case styles are supported?
UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, aLtErNaTiNg CaSe, and iNVERSE CASE.
Can it clean up extra spaces or line breaks too?
Yes — separate utilities remove extra spaces, remove extra line breaks, and sort lines alphabetically.
Does converting case require uploading my text anywhere?
No — the conversion runs instantly in your browser as you type.