Case & slug
camelCase, snake_case, slug…
Variants
This tool converts a string into every common naming convention: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, lowercase, UPPERCASE, and a clean slug for URLs. Handy for naming variables, files, CSS classes or turning a title into a permalink. The slug transliterates accents (é→e, ç→c) and replaces any non-alphanumeric character with a hyphen.
Everything runs in your browser, live as you type. No data is sent, no tracking or ads — it works even offline.
FAQ
How are word boundaries detected?
It splits on spaces and punctuation, but also on camelCase transitions (“myName” → “my” + “Name”), so you can reconvert any case into another.
What happens to accents in a slug?
Accents are transliterated to ASCII (à→a, é→e, ñ→n) via Unicode normalization, then everything is lowercased with hyphens — perfect for clean URLs.
Is my text sent anywhere?
No. All conversion happens locally in your browser in JavaScript. Nothing leaves your machine, no tracking.
Can I copy a single variant?
Yes, each line has its own “Copy” button. You can also select and copy the field manually.