kebab-case converter
Turn phrases and other naming styles into kebab-case: lowercase words joined by hyphens, as used in CSS classes, HTML attributes and file names.
How it works
-
Paste your text
Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.
-
Instant result
The result appears as you type. Change the options and see straight away what changes.
-
Copy or download
Copy the result with one click, save it as a file or use it as input for a next step.
Examples
| Input | kebab-case |
|---|---|
| Customer name | customer-name |
| InvoiceDate | invoice-date |
| vat_percentage | vat-percentage |
Words are found at spaces, underscores, hyphens and camelCase boundaries. Accents are removed and apostrophes dropped. Every line is converted separately.
Making a URL from a headline? The slug generator also lets you set a maximum length. Other styles: camelCase and snake_case.
Frequently asked questions
Is the text to kebab-case free?
Yes. The text to kebab-case is completely free, with no account, sign-up or usage limit.
Is my text stored?
No. Your text is processed in your browser and is not sent to a server or stored.
Is there a maximum length?
No, there is no fixed limit. Very long texts can just be a little slower.