The styles
- Sentence case capitalises the first letter after every full stop, question mark and exclamation mark.
- Title Case capitalises every word except short joining words such as “a”, “of”, “and”, following the common English convention. The first word is always capitalised.
- camelCase and PascalCase remove spaces. The difference is only the first letter:
myVariableNameagainstMyClassName. - snake_case, kebab-case and CONSTANT_CASE replace spaces with underscores or hyphens.
- URL slug goes further: accents are folded to plain letters, the German ß becomes ss, everything not a letter, digit or hyphen is dropped.
Where each one belongs
| Style | Typical home |
|---|---|
| camelCase | JavaScript variables, Java methods |
| PascalCase | class names, React components, C# |
| snake_case | Python, Ruby, database columns |
| kebab-case | CSS classes, file names, URLs |
| CONSTANT_CASE | environment variables, constants |
| URL slug | page addresses, filenames without surprises |
Why slugs drop accents
A URL with accents works in a modern browser, but it gets percent-encoded when copied, which turns a readable address into an unreadable string in emails and chat. Folding “Über uns” to “uber-uns” keeps the address readable everywhere. German ß becomes ss, matching what German sites conventionally do.
Questions
Does it handle multiple lines?
Yes. Every line is converted on its own, so lists, key-value pairs and code blocks keep their structure.
Is Title Case grammatically correct?
It follows the common English convention of lowercasing short joining words. Style guides differ on details, so check against your house style for published text.
What happens to German umlauts?
All styles keep them except the URL slug, which folds ä to a, ö to o, ü to u and ß to ss, because that is what web addresses need.
Is anything sent to a server?
No. The conversion runs in your browser.