Skip to content
Toolspire

Text Tools

Identifier Case Converter

Identifier Case Converter is part of Toolspire and is ready as soon as this page loads. Separators are spaces, underscores and hyphens. “helloWorld” is already one word unless you split it. The case converter page changes capitals of a sentence, not identifier style.

Runs in this tabFreeNo account

On this page

What you can do here

Four spellings

You do not pick a mode. All four are in the result.

Separators you can see

Spaces, underscores and hyphens are the cuts.

Not a sentence case tool

The case converter uppercases a sentence. It does not insert underscores.

The sequence

How to use the Identifier Case Converter

  1. 1

    Type the words with a separator

    Hello World, hello_world and hello-world all split.

  2. 2

    Read helloWorld on the first line

    That is camelCase, with a lowercase first word.

  3. 3

    Do not expect helloWorld to split

    There is no separator inside it.

Worth knowing

  • Identifier Case Converter on Toolspire: Hello World becomes camel helloWorld, Pascal HelloWorld, snake hello_world and kebab hello-world.
  • Words split on spaces, underscores and hyphens.
  • An existing camelCase word is not split. helloWorld stays one word.
  • The slug page is for URLs. This page keeps the four programmer spellings together.

The cut is the separator, not the capital

Programmer case styles are the same words joined differently. Hello and World become helloWorld, HelloWorld, hello_world and hello-world. The split is on spaces, underscores and hyphens. A capital in the middle of helloWorld is not a split, because that would make the converter guess. If you need it split, type hello world.

FAQ

Questions about Identifier Case Converter

Where does Identifier Case Converter run?

Identifier Case Converter runs in this tab on Toolspire. What you type or drop in is not sent to us and is not stored on a server.

What does Hello World become?

helloWorld, HelloWorld, hello_world and hello-world.

Does hello_world match hello-world?

Yes. Both split into hello and world, then all four styles are rebuilt.

Will it split camelCase?

No. Type a space, underscore or hyphen if you want a cut.

How is this different from the slug generator?

A slug is one URL string. This page prints the four identifier styles.

Keep going

Open the full directory

Last updated Report a problem or suggest a feature