Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more.
About this calculator
Paste text, tap a button and the Text Case Converter rewrites it as UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and more. The result appears in the second box, ready to copy.
Writers use it to fix text typed with Caps Lock on, to format headlines and to tidy copied text. Developers use it to rename variables and turn titles into identifiers.
How to use it
- Paste or type your text in the first box.
- Tap the case you want, for example snake_case.
- Copy the result from the second box.
What each case does
Each button rewrites the text with a different capitalisation rule. UPPERCASE and lowercase change every letter. Title Case capitalises the first letter of each word. Sentence case capitalises only the first letter of each sentence. The programmer styles remove spaces and join words: camelCase (helloWorldExample), PascalCase (HelloWorldExample), snake_case (hello_world_example) and kebab-case (hello-world-example).
Worked example
Input: hello world example
| UPPERCASE | HELLO WORLD EXAMPLE |
| Title Case | Hello World Example |
| camelCase | helloWorldExample |
| PascalCase | HelloWorldExample |
| snake_case | hello_world_example |
| kebab-case | hello-world-example |
Everything runs in your browser. Your text is not uploaded or stored.
Tips and common mistakes
- Use Sentence case for body text and Title Case for headlines.
- Variable naming: camelCase in JavaScript and Java, snake_case in Python and SQL, kebab-case in URLs and CSS classes.
- If your text came from ALL CAPS, convert to lowercase first, then apply Title or Sentence case.
- Proper nouns and acronyms such as NASA or iPhone may need hand-fixing after conversion.
- Style guides differ on small words in titles (a, of, the). Check yours.
Frequently asked questions
What is the difference between Title Case and Sentence case?
Title Case capitalises each main word, while Sentence case capitalises only the first word of each sentence and proper nouns.
What is camelCase?
A naming style that joins words and capitalises each word except the first, such as userFirstName.
What is snake_case?
Lower-case words joined by underscores, common in Python and databases.
What is kebab-case?
Lower-case words joined by hyphens, used in URLs and CSS.
Does it keep my line breaks?
Yes, the case buttons change letters only.
Is my text sent anywhere?
No. The conversion happens in your browser.