Case Converter

Convert text between camelCase, snake_case, kebab-case, PascalCase and a URL slug, all at once.

  • camelCase

    helloWorldExampleString

  • PascalCase

    HelloWorldExampleString

  • snake_case

    hello_world_example_string

  • CONSTANT_CASE

    HELLO_WORLD_EXAMPLE_STRING

  • kebab-case

    hello-world-example-string

  • Title Case

    Hello World Example String

  • Sentence case

    Hello world example string

  • lower case

    hello world example string

  • UPPER CASE

    HELLO WORLD EXAMPLE STRING

  • url-slug

    hello-world-example-string

Words are detected across camelCase humps, separators and letter/number boundaries, so getUserByID and get_user_by_id convert the same way.

About the Case Converter

Convert a word or phrase between every naming convention at once — camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Title Case, sentence case, plain lower and upper case, and a URL-friendly slug. Instead of retyping an identifier in a different style, you paste it once and copy whichever form you need.

The clever part is how it splits your input into words: it understands camelCase humps, runs of capitals in acronyms like HTTPServer, and separators such as spaces, hyphens and underscores. Because every case is just a different way of re-joining those words, the conversions stay correct even on awkward mixed input.

How to use it

  1. Type or paste your text — a variable name, a title, or a phrase.
  2. See every case rendered at once.
  3. Click the copy button next to the form you want.

Good to know

  • Ten conversions plus a URL slug, all shown simultaneously.
  • Smart word splitting that handles camelCase, acronyms and mixed separators.
  • One-click copy for each result.
  • Runs in your browser with no sign-up.

Frequently asked questions

What is the difference between camelCase and PascalCase?

Both join words with no separators and capitalise each word, but camelCase leaves the first word lowercase (myVariableName) while PascalCase capitalises it too (MyVariableName). camelCase is common for variables, PascalCase for types and classes.

How does it split HTTPServer correctly?

It recognises a run of capital letters as an acronym, so HTTPServer splits into "HTTP" and "Server" rather than one letter at a time. That means snake_case gives http_server, not h_t_t_p_server.

What is a slug?

A slug is a lowercase, hyphen-separated version of text that is safe to put in a URL — for example "My Blog Post!" becomes "my-blog-post". Punctuation is stripped and spaces become hyphens.

Is my text uploaded?

No. The conversion is pure string manipulation that runs entirely in your browser, so nothing you type is sent anywhere.

Related tools