Text Case Converter
Different contexts expect different naming conventions — kebab-case for URLs and CSS classes, camelCase for JavaScript variables, snake_case for Python/database columns, PascalCase for class names. This tool converts any text (including already-cased text like myVariableName or my-css-class) into every common case at once.
How to use
- Type or paste any text, phrase, or already-cased identifier.
- Every case variant updates instantly below.
- Click Copy next to the one you need.
- Works with spaces, hyphens, underscores, or camelCase/PascalCase input — it splits words automatically.
FAQ
Can it convert FROM camelCase or snake_case, not just to it?
Yes — the input is split into words first (camelCase boundaries, hyphens, underscores, and spaces all count), then re-joined into whichever case you need.
What's the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariableName); PascalCase capitalizes every word including the first (MyClassName). Both remove spaces/separators.
Which case should I use for CSS class names or URLs?
kebab-case (my-class-name) — hyphens are the conventional word separator in CSS, HTML attributes, and URL slugs; underscores and camelCase are avoided there.