URL Slug Generator
Convert a phrase into a lowercase hyphenated URL slug.
Convert a phrase into a lowercase hyphenated URL slug. 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 URL Slug Generator does
Accents are stripped to their base letters, everything is lowercased, and any run of non-alphanumeric characters becomes a single hyphen. Leading and trailing hyphens are removed. Aim for three to five meaningful words: short slugs are easier to read in a search result and easier to say out loud.
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 |
|---|---|
| How to Write Café Reviews (2026 Edition) | how-to-write-cafe-reviews-2026-edition |
Frequently asked questions
What makes a good URL slug?
Short, descriptive, lowercase and hyphen-separated. Three to five meaningful words is usually enough. Drop filler words like "a" and "the" unless removing them changes the meaning, and avoid dates unless the content is genuinely time-bound.
Can I change a slug after publishing?
You can, but the old URL will break unless you add a redirect from the old path to the new one. Any links and rankings the old URL earned are lost without that redirect, so change established slugs only when there is a real reason.
Is URL Slug Generator 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.