Case Converter

Switch text between nine case styles, including camelCase, snake_case and kebab-case.

Output updates as you type.


Result will appear here.

Features

  • Nine case styles covering prose and code conventions
  • Preserves punctuation and spacing where appropriate
  • Handles existing camelCase and snake_case input correctly
  • Feed the result back in with one click

How to use it

  1. Paste your text into the input box.
  2. Choose the case style you want.
  3. The result appears immediately below.
  4. Press Copy result, or Use result as input to chain conversions.

Which case style to use where

Prose styles and code styles solve different problems. Sentence case capitalises only the first word and proper nouns, it is the house style for most UK publications and increasingly for UI labels, because it reads faster than title case. Title case capitalises principal words and is standard for headlines in US publications. This tool uses a simple every-word rule for title case; strict style guides also lowercase short prepositions and articles, so check the output against your guide.

Code conventions are largely arbitrary but strongly enforced by ecosystem. JavaScript and Java use camelCase for variables and PascalCase for classes. Python and Ruby prefer snake_case. CSS classes and URL slugs use kebab-case, since underscores were historically unreliable in URLs. CONSTANT_CASE marks compile-time constants and environment variables almost universally.

The tricky part is splitting the input into words before rejoining it. This tool detects existing boundaries from spaces, hyphens, underscores and lowercase-to-uppercase transitions, so converting myVariableName straight to my-variable-name works without a manual pass first.

Frequently asked questions

Yes, completely. Case Converter is free with no usage limits, no account and no sign-up. There is no paid tier and no trial that expires. Tools marked Premium on this site carry that label to indicate a deeper feature set, not a price.
Case Converter covers nine case styles covering prose and code conventions, preserves punctuation and spacing where appropriate, handles existing camelCase and snake_case input correctly, among other things. Everything is available immediately with no account, no sign-up and no usage limit.
Prose styles and code styles solve different problems. Sentence case capitalises only the first word and proper nouns, it is the house style for most UK publications and increasingly for UI labels, because it reads faster than title case. Title case capitalises principal words and is standard for headlines in US publications. This tool uses a simple every-word rule for title case; strict style guides also lowercase short prepositions and articles, so check the output against your guide.
Everything happens inside your browser. The text you enter is processed by JavaScript running on your own device and is never sent to a server, there is no backend to send it to. You can confirm this in your browser's Network tab while you use the tool. Because nothing depends on a server, the tool also keeps working offline once the page has loaded, the site registers a service worker that caches it after your first visit.

Related tools

Further reading

📖 Uppercase, lowercase, Title Case: Convert Text Case Without Retyping

Read the full guide on the 123MiniApps blog.

Pick a theme

Ten hand-tuned palettes.