Kebab case
FormatExperimentalLimited support. Verify anything critical.
Kebab case (dash-case) splits on spaces, underscores, and capital-letter boundaries, lowercases every token, and joins with hyphens (e.g. HELLO_WORLD → hello-world). Common for CSS classes, npm package names, and URL path segments that may keep Unicode letters — use Slugify when you need strict ASCII-only output.
This tool processes text on your device. The text is not uploaded.
Steps
Paste the phrase or identifier
Run locally
Copy the kebab-case string
How to use Kebab case
Kebab versus Slugify
Kebab-case on this site keeps Unicode letters. Slugify strips diacritics via NFKD and drops anything that is not ASCII alphanumeric, which is what you want for strict URL path segments.
How it works
- Enter what you haveType or pick your text. Nothing is submitted anywhere.
- It runs in this tabThe calculation happens on your device, using your browser's own data.
- Take the resultRead the text, then copy or download.
Reimplemented locally. Not derived from IT-Tools source.
- Basis
- independent
- Licence
- MIT
- Last reviewed
Frequently asked questions
Why is kebab-case standard for URLs and filenames?
Hyphens naturally act as explicit word delimiters in web paths (SEO-friendly slugs). Unlike underscores or CamelCase, search engine indexers universally treat hyphens as space delimiters, improving keyword parsing.
How does the tokenizer handle uppercase sequences and acronyms?
The transformation safely splits acronym boundaries (e.g. 'XMLHttp' -> 'xml-http' or 'xmlhttp' depending on regex boundary rules), ensuring consistent lowercase hyphenated output.
Are international characters and accents preserved?
Kebab-case retains base Unicode characters but lowercases them. It does not perform ASCII transliteration. For strict ASCII slug generation, use the separate Slugify tool.