How to change the case of text
- Paste or type your text into the box.
- Open Convert to and pick a style, for example Title Case or snake_case.
- Copy the result with Copy, or save it with Download.
- Change the style at any time. The result updates at once.
About the styles
UPPER CASE and lower case change every letter. Title Case capitalizes each important word and keeps small words such as “of” and “the” in lower case. Sentence case capitalizes the first letter of each sentence and lowers the rest, which is a quick fix for text typed with caps lock on.
The programming styles first split your text into words, then join them again. camelCase and PascalCase remove spaces and capitalize each word. snake_case, kebab-case and CONSTANT_CASE join words with underscores or dashes. Existing camelCase is split correctly, so “userName” becomes “user_name” in snake case.
aLtErNaTiNg swaps between lower and upper case letter by letter. It is mostly used for jokes.
Tips
- Titles in sentence case read as calmer and are common in modern style guides. Title Case is common for headlines in print.
- To turn a heading into a web address, the slug generator also removes accents and symbols.
- If a copied block has odd spacing, run it through remove extra spaces first.
- Need to count the result against a limit? Use the word counter.
Good to know
Case conversion only changes letters. Numbers, spaces, punctuation and line breaks are kept as they were, except in the programming styles, where spaces and symbols become joins between words. Some letters change length when moved to upper case. The German sharp s, for example, becomes two letters. That is normal and follows the language rules built into your browser.
Privacy
The conversion happens in your browser. Your text is never uploaded or saved on a server, and it is not added to the page address.