Case Converter
Paste your text and switch it between nine cases in one click: UPPERCASE, lowercase, Title Case, Sentence case and the programmer favorites camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
How to change text case
- Paste or type your text into the box.
- Pick a case such as Title Case, camelCase or snake_case.
- Copy the converted text from the result box.
Examples
One phrase, every case
hello world
UPPERCASE: HELLO WORLD, Title: Hello World, camel: helloWorld, snake: hello_world, kebab: hello-world
Frequently asked questions
What does each case mean?
UPPERCASE makes every letter capital and lowercase makes them all small. Title Case capitalizes the first letter of every word. Sentence case capitalizes only the first letter of each sentence. camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE join words for code, using capitals, underscores or hyphens to mark word breaks.
What is the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word, like a headline: 'The Quick Brown Fox'. Sentence case capitalizes only the first letter of each sentence and leaves the rest lowercase: 'The quick brown fox'.
When should I use camelCase versus snake_case?
Both join words without spaces for identifiers in code. camelCase (firstName) is common in JavaScript and Java, while snake_case (first_name) is common in Python, Ruby and SQL column names. Use whatever your language or team style guide prefers.
Can it convert text that is already in camelCase or snake_case?
Yes. The tool splits words on spaces, hyphens, underscores and capital-letter boundaries, so 'fooBar' or 'background-color' is read as separate words and re-joined in the case you choose.
Does it handle acronyms and numbers?
Yes. Runs of capitals like HTTP are kept together, so 'HTTPServer' becomes 'http_server', and numbers are treated as their own token so they survive the conversion.
Is my text private?
Yes. Conversion runs entirely in your browser and nothing you type is uploaded or stored.
Related tools
Remove Line Breaks
Remove line breaks and paragraph breaks from text online. Flatten copied text into one line, keep spaces tidy, then copy the result. Free and private.
Reverse Text
Reverse text online by characters, words or lines. Flip a string backwards, reverse word order, or flip line order, then copy the result. Free and private.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
Bullet List Maker
Turn lines of text into a bullet or numbered list online. Pick dash, asterisk, dot, arrow or numbers, add indent, then copy. Free and private.
Caesar Cipher
Encode and decode text with the Caesar shift cipher. Pick any shift, see the result live, and brute force all 25 shifts. Runs entirely in your browser.
Character Counter
Count characters, words and lines as you type. See how your text fits Twitter, SMS and meta description limits. Free, instant and private.