Case Converter

Convert text between any case format instantly. Perfect for developers and writers.

Input Text
0 chars · 0 words
Output — UPPERCASE
Converted text will appear here...

About the Case Converter

This case converter switches text between twelve cases — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, dot.case, CONSTANT_CASE and two novelty cases — showing every result at once. It splits on existing case changes, hyphens and underscores rather than only on spaces, so programming conventions convert properly.

A case converter covers two different needs from one input. Editorially, you want Title Case for a heading or Sentence case for a caps-lock accident. In code, you need camelCase for a JavaScript variable, PascalCase for a component, snake_case for a database column or kebab-case for a CSS class and URL slug.

The programming conversions are where naive tools fail. Converting "user ID number" to camelCase should give userIdNumber, and converting an existing PascalCase name to snake_case has to detect the capital letters as boundaries. Words are split on spaces, hyphens, underscores and case changes so any input form converts correctly.

Every conversion is shown at once, so you can pick the one you need rather than switching modes and re-pasting. Output copies with a click and nothing is uploaded.

How to use the Case Converter

  1. Paste your text. Enter the words, name or sentence to convert.
  2. Review every case. All conversions are shown together for comparison.
  3. Pick the one you need. Choose the editorial or programming convention you want.
  4. Copy the result. Copy the converted text with a click.

Case Converter features

  • Twelve cases, with every result shown at once
  • Programming conventions: camelCase, PascalCase, snake_case, kebab-case, dot.case, CONSTANT_CASE
  • Prose conventions: UPPERCASE, lowercase, Title Case, Sentence case
  • Splits on case changes, hyphens and underscores, not just spaces
  • Copy any result
  • Runs in your browser; nothing is uploaded

Frequently asked questions

Which cases can I convert to?

UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, dot.case and CONSTANT_CASE, plus alternating and inverted case for novelty use. Every one is shown at once, so there is no mode to pick first.

Why does converting an identifier work correctly here?

Because words are detected from case changes, hyphens and underscores as well as spaces. That means getUserName splits into get, user and name — so it becomes get_user_name rather than getusername.

What is the difference between Title Case and Sentence case?

Title Case capitalises each significant word, as a headline does. Sentence case capitalises only the first word and any proper nouns, which is what most style guides now use for headings too.

Which convention should I use in code?

Follow the language. camelCase for JavaScript variables, PascalCase for classes and React components, snake_case for Python and SQL, kebab-case for CSS classes, file names and URLs, and CONSTANT_CASE for constants and environment variables.