Free Text to kebab-case
URLs, CSS classes and HTML attributes love kebab-case. Paste any phrase and this free tool converts it to lowercase words joined by hyphens — clean, readable and web-ready in one click.
How to Use the Text to kebab-case
- Type or paste your phrase.
- Click “Convert to kebab-case”.
- Get hyphen-joined lowercase output.
- Copy it into your URL or stylesheet.
Features
Splits words on spaces, underscores, camel humps and other separators, lowercases everything and joins with single hyphens. Collapses accidental double hyphens and strips leading/trailing ones for always-valid output.
Benefits & Use Cases
Front-end developers generate CSS class names from design labels. Content teams draft URL slugs by hand. HTML authors create consistent id and data attributes. API designers name kebab-case query parameters.
Tips
For full URL slugs with accent stripping, use the dedicated Text to URL Slug tool instead — it handles é → e and more. Kebab-case is the conventional style for CSS; don’t use it for JavaScript variables (use camelCase). Numbers are preserved inline.
Frequently Asked Questions
Is it free?
Yes, free and unlimited.
What is kebab-case?
Lowercase words joined by hyphens, like “my-page-title”.
How is it different from a URL slug?
Similar, but the slug tool also strips accents and offers underscore separators.
Does it lowercase everything?
Yes — output is always all-lowercase.
Is my text uploaded?
No, conversion runs locally.
Related Tools
Text to URL Slug
Generate SEO-friendly URL slugs from headlines free online. Accent stripping with dash or underscore separators — no sign-up, runs in browser.
Open tool →Text to snake_case
Convert any phrase to snake_case free online. Lowercase underscore-joined output for Python, databases and files — no sign-up, runs in browser.
Open tool →Text to camelCase
Convert any phrase to camelCase free online. Perfect for JavaScript variables and function names — instant, no sign-up, runs in your browser.
Open tool →Text to PascalCase
Convert any phrase to PascalCase free online. Ideal for class names, components, interfaces and types — instant, no sign-up, runs in your browser.
Open tool →Letter Case Converter
Change text case free online: UPPERCASE, lowercase, Title Case, Sentence case and more. Seven one-click styles — no sign-up, runs in browser.
Open tool →