kebab-case Converter
Paste names or phrases and get lowercase kebab-case, one per line.
Free · Runs in your browser · Your text is never uploaded
About kebab-case
kebab-case uses lowercase words separated by hyphens: My Page Title becomes my-page-title. It is the usual style for CSS class names, HTML attributes, URLs and many file names, since hyphens are valid there and search engines read them as word separators.
For converting full titles with accents and punctuation into URLs, the slug generator also strips symbols and limits the length.
Need more options? Open the full Case Converter.
Frequently asked questions
What is kebab-case?
A naming style with lowercase words joined by hyphens, like my-page-title.
Where is kebab-case used?
In URLs, CSS class names, HTML attributes and file names.
Can I use kebab-case for variables in JavaScript?
No. A hyphen is read as minus, so variables use camelCase or snake_case instead.