Text Case Converter
Convert text between camelCase, snake_case, CONSTANT_CASE, Title Case, and 13 more formats instantly.
100% in your browser — files never leave your device
0 characters · 0 words
UPPER CASE
HELLO WORLD
lower case
hello world
Title Case
Hello World
Sentence case
Hello world
Capitalize Each Word
Hello World
camelCase
helloWorld
PascalCase
HelloWorld
snake_case
hello_world
CONSTANT_CASE
HELLO_WORLD
kebab-case
hello-world
dot.case
hello.world
aLtErNaTiNg
hElLo WoRlD
iNVERSE cASE
hELLO wORLD
How word splitting works across 13 case styles
Converting between camelCase, snake_case, and Title Case first requires figuring out where one word ends and the next begins. This tool splits on whitespace, punctuation, underscores, and hyphens, plus a regex pass that detects camelCase and PascalCase boundaries — so myVariableName and my-variable-name both tokenize to the same three words before being rejoined in the target format.
Title Case and Capitalize Each Word look similar but follow different rules. Title Case applies real editorial convention: short function words (a, an, and, the, of, in, and a dozen others) stay lowercase unless they open or close the string. Capitalize Each Word skips that logic and uppercases the first letter of every word, full stop.
Word splitting is a heuristic, not a parser — it doesn't know your project's naming conventions. Acronym-heavy identifiers or a mix of digits and letters can tokenize in ways you didn't expect. Check the output before pasting it into a codebase-wide rename.
Frequently asked questions
Is my text uploaded anywhere?
No. All conversions happen entirely in your browser. Nothing is sent to a server.
How does word splitting work for camelCase and snake_case?
The converter splits on whitespace, punctuation, underscores, hyphens, and camelCase boundaries (detected via regex). This means "myVar_name" and "MyVarName" both produce the same word tokens before rejoining in the target format.
What is the difference between Title Case and Capitalize Each Word?
Title Case follows editorial conventions: minor words (a, an, and, the, of, etc.) stay lowercase unless they are the first or last word. Capitalize Each Word uppercases the first letter of every word without exception.