kebab-case Converter
Convert your text to kebab-case instantly using our Case Converter tool. Perfect for URL slugs and CSS class names.
What is kebab-case?
kebab-case is a naming convention that uses hyphens to separate words, with all letters in lowercase. It is the standard format for URL slugs, CSS class names, HTML data attributes, and file names. Hyphens are preferred over underscores in URLs because search engines treat hyphens as word separators, improving SEO.
Examples
Input
Hello Worldkebab-case
hello-worldInput
userProfilekebab-case
user-profileInput
getUserByIdkebab-case
get-user-by-idSEO Benefits
Google and other search engines treat hyphens as word separators in URLs. This means a URL like example.com/how-to-use-kebab-case is parsed as individual words, helping search engines understand the page content. Underscores are not treated as separators, making kebab-case the SEO-recommended format for URL slugs.