Kebab Case Converter
Convert any text to kebab-case format.
Overview
Convert any text into kebab-case — all lowercase, words joined by hyphens, no other punctuation. The name comes from words "skewered" together on the hyphen like meat on a kebab. It's the standard format for URL slugs, CSS class names, HTML data attributes, and most filenames.
Web developers, SEO specialists generating page slugs from titles, designers naming CSS classes, and bloggers building permalinks reach for it constantly. Convert sentences, snake_case, camelCase, or PascalCase strings without manually retyping each character.
How it works
The converter splits your input on word boundaries: whitespace, underscores, dots, and case transitions (camelCase splits at every capital). It lowercases the result and joins with a single hyphen between words. Diacritics and non-Latin characters can be transliterated to ASCII or stripped, depending on the mode. Multiple separators collapse into one hyphen, and leading/trailing hyphens are removed.
Examples
Input: Hello World
Output: hello-world
Input: userProfileImage
Output: user-profile-image
Input: My_AWESOME_Title 2024
Output: my-awesome-title-2024
FAQ
What's the difference between kebab-case and snake_case?
Both use lowercase. kebab-case joins with hyphens (my-variable), snake_case joins with underscores (my_variable). Kebab-case is preferred for URLs because hyphens are URL-safe and search engines treat them as word separators.
Why is kebab-case good for SEO?
Search engines split words at hyphens, so a kebab-case slug like best-pizza-recipes is read as three separate keywords. Underscores aren't always split, and CamelCase definitely isn't.
Are special characters preserved?
No. Accented characters are transliterated where possible (é → e), and anything else non-alphanumeric becomes a hyphen or is dropped. The result is always URL-safe.