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.
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
Type the words with a separator
Hello World, hello_world and hello-world all split.
- 2
Read helloWorld on the first line
That is camelCase, with a lowercase first word.
- 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?
What does Hello World become?
Does hello_world match hello-world?
Will it split camelCase?
How is this different from the slug generator?
Keep going
Related tools
Last updated Report a problem or suggest a feature