kebab-case Converter
Convert words into lowercase kebab-case.
Convert words into lowercase kebab-case. Paste or type your text and the result updates instantly. Everything runs in your browser, so nothing is uploaded, nothing is stored, and there is no limit on how much text you can process.
What kebab-case Converter does
kebab-case joins words with hyphens. It is the convention for URLs, CSS class names and HTML attributes. Do not use it for variable names in most languages: the hyphen parses as a minus sign.
Your text never leaves your device
This tool is written in JavaScript and runs locally in the browser tab. No text is transmitted to a server, none is written to a log, and none is retained after you close the page. That makes it safe for drafts, client work and anything else you would rather not paste into an online form.
Why results can differ from other tools
Text processing involves judgement calls: what counts as a word, whether a hyphenated compound is one token or two, how a line ending is treated. Different tools resolve these differently, so a small discrepancy between this and a word processor is expected rather than an error.
Worked example
Run on a short sample so you can see exactly what changes before pasting your own text:
| Input | Output |
|---|---|
| the quick brown fox. jumps over IT | the-quick-brown-fox-jumps-over-it |
Frequently asked questions
Where is kebab-case used?
URLs, CSS class names and HTML attributes. Search engines treat hyphens as word separators in URLs while underscores are less reliably split, which is why hyphenated slugs are the convention for web addresses.
Can I use kebab-case for variable names?
In most languages, no. The hyphen parses as a subtraction operator, so the name breaks. Lisp dialects and CSS custom properties are the notable exceptions. Use snake_case or camelCase in code.
Is kebab-case Converter free to use?
Yes, completely. There is no account, no sign-up, no usage limit and no watermark. Every tool on this site runs in your browser and stays free.
Does my text get uploaded anywhere?
No. The processing happens locally in your browser using JavaScript. Your text is never transmitted to a server, never logged and never stored.