Case Converter
Paste text in any shape and take it out in any other. The splitter understands acronyms, digits and punctuation, so HTTPResponse2XX becomes http_response_2xx rather than h_t_t_p_response.
Press Esc to clear
Conversions
camelCase
helloWorldAgain
PascalCase
HelloWorldAgain
snake_case
hello_world_again
kebab-case
hello-world-again
CONSTANT_CASE
HELLO_WORLD_AGAIN
dot.case
hello.world.again
Title Case
Hello World Again
Sentence case
Hello world again.
UPPERCASE
HELLO WORLD AGAIN
lowercase
hello world again
aLtErNaTiNg
hElLo WoRlD
About the Case Converter
Naming conventions are a tax you pay every time you move a value between two systems. A column in a database is snake_case, the JSON field it becomes is camelCase, the CSS class next to it is kebab-case, and the environment variable is CONSTANT_CASE. Converting a list of them by hand is the kind of work that is too small to script and too tedious to enjoy.
The hard part of case conversion is not the joining, it is the splitting. Deciding where the word boundaries are in XMLHttpRequest requires knowing that a run of capitals followed by a lowercase letter means the last capital starts a new word. Deciding what to do with version2 or v2Point1 requires a rule about digits. This tool applies those rules consistently across every output format, so a round trip through two conversions gets you back where you started.
Title Case follows a conventional style guide: the first and last words are always capitalised, and short articles, conjunctions and prepositions in between are not. That means "the lord of the rings" becomes "The Lord of the Rings" rather than "The Lord Of The Rings".
Each output has its own copy button, and the input is preserved as you switch, so you can convert once and take three formats away. Long lists work fine — each line is converted independently when you turn on line mode, which is what you want when renaming a file list or a set of database columns.
Everything runs locally in your browser. No text is uploaded, logged or stored.
Frequently asked questions
How does it split words that have no spaces?
On case changes, on digit boundaries, and on any punctuation or whitespace. A run of capitals is kept together as an acronym until the last capital before a lowercase letter, so XMLHttpRequest splits into XML, Http and Request.
Can I convert a whole list at once?
Yes. Turn on line mode and every line is converted independently, which keeps a list of column names or filenames as a list.
Which words stay lowercase in Title Case?
Articles, coordinating conjunctions and short prepositions — a, an, the, and, but, or, for, nor, of, in, on, at, to, by and a few others — unless they are the first or last word.
You might also need
- Text
Word & Character Counter
Count words, characters, sentences and reading time as you type. Nothing is uploaded.
- Text
Slug Generator
Turn titles into clean URL slugs, with real transliteration for accented and Cyrillic text.
- Text
Bulk Find & Replace
Apply a list of find-and-replace rules in order, as plain text or regular expressions.