Case Converter

Convert text case

What Is This Tool?

The Case Converter instantly transforms any text into nine common letter-case styles: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. It intelligently splits your text into words — even if it's already in camelCase or snake_case — so you can convert between programming naming conventions cleanly. Everything runs locally in your browser.

How to Use

1

Type or paste your text into the input box.

2

All nine case variations update automatically as you type.

3

Click Copy next to the style you want to use.

4

Click Example to see a sample, or Clear to start over.

Features

  • Nine case styles generated at once, live
  • Smart word-splitting handles spaces, hyphens, underscores, and camelCase boundaries
  • Correctly re-cases existing camelCase or snake_case identifiers
  • Individual Copy button for every result
  • 100% client-side — nothing leaves your browser

Examples

Input:

Hello World Example-Text

camelCase: helloWorldExampleText

snake_case: hello_world_example_text

kebab-case: hello-world-example-text

Common Use Cases

  • Converting a phrase into a valid variable or function name (camelCase, snake_case)
  • Formatting headings or titles consistently (Title Case, Sentence case)
  • Generating constant names for code (CONSTANT_CASE)
  • Converting between naming conventions when porting code between languages

Frequently Asked Questions

Can I convert an existing camelCase or snake_case string?

Yes. The tool detects word boundaries from spaces, hyphens, underscores, and lowercase-to-uppercase transitions, so it can re-case identifiers correctly, not just plain sentences.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word. Sentence case capitalizes only the first letter of the entire text and lowercases the rest.

How are numbers and punctuation handled?

Numbers are kept attached to adjacent words as separate tokens where reasonable, and punctuation such as apostrophes is generally stripped in the programming-style outputs (camelCase, snake_case, etc.) while preserved in Title Case and Sentence case.

Does this work on multi-line text?

Yes, but results are best on single words, phrases, or short lines since case styles like camelCase are designed for identifiers rather than paragraphs.

Is my text sent anywhere?

No. All conversion happens locally in your browser using JavaScript. Nothing is uploaded or stored.

Why does my acronym get split into separate letters?

Consecutive uppercase letters (like an acronym) are treated as a single word block, but a following lowercase letter after an uppercase run starts a new word, similar to how most camelCase parsers behave.