Slug Generator
Create readable URL slugs from article titles, product names or headings. Paste several titles, one per line, to get one slug for each.
Your text stays in this browser tab. Nothing is uploaded, saved or logged.
How the Slug Generator works
Accents are removed first (“Café” becomes “cafe”, “Ærø” becomes “aero”), apostrophes are dropped so “it’s” becomes “its”, and “&” is optionally written as “and”. Everything that is not a letter or digit is then replaced by a single separator, and separators at the ends are trimmed.
By default only Latin letters and digits survive, which gives the safest URLs. Titles written in Cyrillic, Greek, Chinese or other scripts would come out empty, so the tool tells you and offers “Keep non-Latin letters”, which keeps those letters and produces slugs such as “привет-мир”. Modern browsers and search engines handle these, although they appear percent-encoded when copied.
A maximum length cuts the slug at a word boundary where possible, so “the-quick-brown-fox” limited to 12 gives “the-quick” rather than “the-quick-bro”. Each non-empty input line produces one slug.
How to use it
- Enter a title, or several titles on separate lines.
- Choose the separator, lowercase and a maximum length if you need one.
- Copy the slugs.
Example
Two titles become two slugs.
Input
Crème Brûlée & Other Desserts: It’s Easy! How to Make 10 Perfect Pancakes
Result
creme-brulee-and-other-desserts-its-easy how-to-make-10-perfect-pancakes
Frequently asked questions
Hyphens or underscores?
Google recommends hyphens in URLs, because it treats them as word separators, while underscores may join words together. Use underscores only when a system requires them.
How long should a slug be?
Short and descriptive is best. There is no hard limit, but slugs under about 60 characters are easier to read and share. Use the maximum length option to enforce a cap.
Should I remove words like “the” and “a”?
It is optional and mostly a matter of taste. Dropping them shortens the slug but can hurt readability, so this tool leaves your words as they are; edit the result by hand if you want it shorter.