Case Converter
Type or paste any text — identifiers, headings, slugs — and get all 13 case styles instantly: camelCase, PascalCase, snake_case, kebab-case and more, with one-click copy.
Converts live as you type. Acronyms (HTTPRequest) and number boundaries (sha256) are handled.
All case styles
| camelCase | ||
|---|---|---|
| PascalCase | ||
| snake_case | ||
| kebab-case | ||
| CONSTANT_CASE | ||
| dot.case | ||
| path/case | ||
| Title Case | ||
| Sentence case | ||
| UPPERCASE | ||
| lowercase | ||
| aLtErNaTiNg | ||
| iNVERSE |
How it works
Your text is first tokenized into words — split on spaces, underscores, dashes, dots, slashes and other separators, plus camelCase boundaries (helloWorld → hello + World), acronym boundaries (HTTPRequest → HTTP + Request, so you get http-request instead of h-t-t-p-request), and letter↔digit boundaries (sha256 → sha + 256). Each style then re-joins the words with its own rule — e.g. camelCase lowercases the first word and capitalizes the rest, kebab-case lowercases everything with dashes. The tokenizer is Unicode-aware, so accented letters survive the round trip. Everything runs on your device; nothing is uploaded.
Frequently asked questions
Which case style should I use in JavaScript, Python, CSS or environment variables?
Common conventions: camelCase for JavaScript variables and functions, PascalCase for classes and components, snake_case for Python variables and database columns, kebab-case for CSS classes, file names and URL slugs, CONSTANT_CASE for environment variables and constants, dot.case for Java config keys, Title Case for headings.
How are acronyms like HTTPRequest converted?
The tokenizer understands acronym boundaries: HTTPRequest becomes HTTP + Request, so kebab-case gives http-request and snake_case gives http_request, not h-t-t-p-request. Letter-to-digit boundaries are also split, so sha256 becomes sha-256 in kebab-case.
Does it work with non-English letters?
Yes. Word splitting and case mapping are Unicode-aware, so accented Latin, Greek, Cyrillic and CJK-adjacent text is handled sensibly. snake_case and kebab-case force lowercase only for the letters present — they don't transliterate to ASCII.
Is my text uploaded anywhere?
No. Every conversion runs in JavaScript on your device; nothing leaves your browser.