Skip to content

Case Converter

One tool for every text case: pick a style from the list and the text is converted instantly.

Processed locally in your browser

Options
Code-style cases (camelCase, snake_case…) convert every line separately.0 chars · 0 lines
The result will appear here.

What is Case Converter?

A case converter rewrites the capitalization and word separators of a text. It covers prose styles (UPPER CASE, lower case, Title Case, Sentence case, aLtErNaTiNg and iNVERSE) and programming styles (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case and Train-Case).

Conversion is Unicode aware: accented letters, Cyrillic and Greek are handled, "straße" becomes "STRASSE" in upper case, and code-style conversions split words on spaces, underscores, hyphens, dots, camelCase boundaries and numbers. Prose styles keep your punctuation and line breaks; code styles convert each line separately.

How does it work?

  1. Paste or type your text in the input box.
  2. Choose the target case in the "Convert to" list; the result appears immediately.
  3. Copy the converted text, or switch style to compare several conversions of the same input.

Common use cases

  • Fixing text typed with Caps Lock or a headline that arrived in ALL CAPS.
  • Converting a phrase into a variable, class, CSS class or constant name.
  • Capitalizing the first letter of each sentence in a pasted paragraph.
  • Producing alternating or inverse case for stylistic text.

Examples

Try this input in the tool above:

Input
The quick brown fox jumps over the lazy dog. XMLHttpRequest is not a café!
Output
The quick brown fox jumps over the lazy dog. Xmlhttprequest is not a café!

Privacy

Case Converter runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

Title Case here capitalizes every word; for style-guide rules use the Title Case Converter. Sentence case cannot know proper nouns or acronyms, so review names afterwards.

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (userName) while PascalCase capitalizes every word including the first (UserName).

Does it work with accents and other alphabets?

Yes. Accented Latin letters, Greek and Cyrillic are converted correctly, and characters without case (such as Chinese or Arabic) are left unchanged.

Are line breaks preserved?

Yes. Prose styles keep the text as is apart from the case, and code styles convert every line independently.

More tools in Text Tools →