Answer

How to convert text to camelCase, snake_case, or kebab-case

Convert text between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE and more, instantly.

A case converter splits text into words and rejoins them in the target convention. "hello world example" becomes helloWorldExample (camelCase), hello_world_example (snake_case), or hello-world-example (kebab-case).

Input
hello world example
Output
camelCase: helloWorldExample
snake_case: hello_world_example
kebab-case: hello-world-example

The tool shows every common case at once so you can copy the one you need.

Open the Case Converter → Free · runs in your browser · nothing uploaded

Steps

  1. Open the Case tool and paste your text.
  2. See every format at once — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and more.
  3. Copy the variant you need.
  4. It handles existing camelCase or snake_case input by splitting on the boundaries first.

Frequently asked questions

What is the difference between camelCase and PascalCase?
Both join words without separators; camelCase lowercases the first word (helloWorld) while PascalCase capitalises it (HelloWorld). PascalCase is common for class and type names.