Skip to content
PocketDesk
Your files are processed on your device, never uploaded

Case converter

Switch the case of any text in one step. Your text never leaves your device.

  • Runs in your browser
  • No sign-up
Result

How to change the case of text

  1. Paste or type your text into the box.
  2. Open Convert to and pick a style, for example Title Case or snake_case.
  3. Copy the result with Copy, or save it with Download.
  4. 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.

Questions

Which cases are supported?

UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and aLtErNaTiNg.

How does Title Case treat small words?

Short words such as a, an, the, of, and, in and to stay lower case, unless they are the first or last word.

Do camelCase and snake_case work on many lines?

Yes. Each line is converted on its own, so you can paste a list of names and get a list of identifiers.

Does it work with accents and other scripts?

Yes, for scripts that have upper and lower case, such as Latin, Greek and Cyrillic. Hindi and Chinese have no case, so they stay as they are.

Is my text uploaded?

No. The conversion runs in your browser, and your text never leaves your device.

More text tools