Case Converter
Paste your text, pick a case, and get an instant, ready-to-copy result — UPPERCASE, camelCase, snake_case and five more.
How it works
Paste your text
Drop in a sentence, a variable name, a title — anything you need converted.
Pick a case
Click UPPERCASE, camelCase, snake_case, or any of the other 5 — the result updates instantly.
Copy the result
One click copies the converted text, ready to paste wherever you need it.
What people use a case converter for
Different situations expect different capitalization — matching it by hand is tedious and easy to get wrong.
Naming variables & files
Fixing headline capitalization
Cleaning up pasted text
Standardizing style guides
Data cleanup in spreadsheets
A few things worth knowing about text case
The four "programming cases" — camelCase, PascalCase, snake_case and kebab-case — all solve the same problem: most programming languages don't allow spaces inside a variable, function or file name, so a multi-word name has to be joined some other way while staying readable. Which one is expected depends entirely on the language and style guide you're working in: JavaScript and Java favor camelCase for variables and PascalCase for classes, Python and Ruby favor snake_case, and CSS classes and URL slugs almost always use kebab-case.
Converting between cases isn't just a find-and-replace on spaces. This tool recognizes word boundaries a few different ways — actual spaces, hyphens, underscores, and the capital letters inside existing camelCase or PascalCase text — so pasting in "already-kebab-case" or "alreadyCamelCase" text converts correctly instead of mangling it, because the words are identified first and rebuilt from scratch in whichever case you pick.
Title Case and Sentence case exist for regular writing rather than code. Title Case capitalizes the first letter of every word, which is the convention for headlines and titles. Sentence case only capitalizes the very first letter of each sentence, which is how ordinary prose is written — useful for cleaning up text that was typed in all caps or with inconsistent capitalization.
Frequently asked questions
Which text cases can this tool convert to?
Eight: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and kebab-case. The first four are for regular writing; the last four are the naming conventions programmers use for variables, files and CSS classes.
What's the difference between camelCase, PascalCase, snake_case and kebab-case?
They're the same idea — join words together with no spaces — using different rules. camelCase starts lowercase and capitalizes every word after the first (myVariableName). PascalCase capitalizes every word including the first (MyClassName). snake_case lowercases everything and joins words with underscores (my_file_name). kebab-case lowercases everything and joins words with hyphens (my-css-class), which is also why it's sometimes called dash-case.
Can I convert text that's already in one of these cases?
Yes. Converting already-uppercase or already-camelCase text works the same as converting plain text — the tool splits your input back into individual words first (recognizing spaces, hyphens, underscores and camelCase capital letters as word boundaries), then rebuilds it in whichever case you pick.
How does Sentence case handle multiple sentences?
It lowercases everything, then capitalizes the first letter of your text and the first letter after any period, exclamation point or question mark followed by a space. It's a simple, reliable rule that covers the vast majority of real writing, though it won't special-case abbreviations like "Mr." that happen to end in a period.
Does this change my text as I type, or do I need to click a button?
Both work. Pick a case from the buttons and the result updates instantly; if you keep typing in the input box afterward, the output keeps updating live in whichever case you last selected.
Is my text uploaded anywhere?
No. Every conversion happens locally in your browser with JavaScript. Nothing you type or paste here is sent to a server, logged, or stored.