/ developer & network toolbox
← all tools

$ case

runs locally

Case Converter

Convert between UPPER, lower, Title, camelCase, snake_case, kebab-case and more, with live counts.

case — invoker.tools
stats0 chars · 0 words · 0 lines

About the Case Converter

The case converter transforms text between UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. As you edit, it also shows live character, word and line counts so you can keep an eye on length.

It is handy for renaming variables and constants, cleaning up headings, normalizing CSV columns or slugifying titles for URLs. Everything happens locally in the browser, making it a quick, private way to reshape text without pasting it into an online service.

How to use it

  1. Paste or type your text into the input field.
  2. Choose the target case, such as snake_case or Title Case.
  3. Copy the converted result.
  4. Check the live character, word and line counts as needed.

Examples

  • Input hello world becomes PascalCase HelloWorld, kebab-case hello-world, or CONSTANT_CASE HELLO_WORLD.
  • Convert My Blog Post Title to a slug: my-blog-post-title.
  • Turn user_first_name into camelCase userFirstName for a JavaScript variable.

Frequently asked questions

What cases can it convert between?

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

How do I make a URL slug?

Convert your title to kebab-case, which lowercases the text and joins words with hyphens, producing a clean slug like my-page-title.

Is my text sent to a server?

No. The conversion and counting run entirely in your browser, so your text never leaves your device.

What is the difference between camelCase and PascalCase?

Both remove spaces and capitalize each word, but camelCase keeps the first letter lowercase (myVar) while PascalCase capitalizes it (MyVar).

Does it count words and characters?

Yes. It shows live character, word and line counts that update as you type or paste text.

Can it handle multi-line text?

Yes. You can paste multiple lines, and the tool reports a line count alongside the case conversion and other counts.

More text tools