Slug generator
Turn a headline into a clean URL slug: lowercase, no accents or special characters, words joined by hyphens. Set a maximum length if you need one.
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.
Example
One café & 10 tips for a better website! becomes one-cafe-and-10-tips-for-a-better-website.
- Accents are removed (
cafébecomescafe) and&becomesand. - Punctuation and symbols disappear.
- Choose a hyphen (best for URLs) or an underscore as separator.
- Set a maximum length (0 means no limit): the slug is cut at a whole word, never in the middle of one.
- Paste a list and every line becomes its own slug.
Good slugs
Search engines read hyphens as word separators, so my-first-post is preferred over my_first_post. Keep slugs short and descriptive, and don't change a slug once the page is live without setting up a redirect. For code identifiers, use kebab case or snake case.
Frequently asked questions
Is the slug generator free?
Yes. The slug generator 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.