Slug generator
Turn a title into a clean, URL-safe slug, live as you type.
Add a file and run the tool.
Your file is ready.
Try a different file, or try again.
Settings
Adjust the settings below. The result updates as you go.
Runs fully in your browser. Nothing is uploaded.
Runs fully in your browser. Nothing is uploaded.
How it works
Type or paste a title.
Choose a separator - hyphen or underscore.
Copy the generated slug.
Frequently asked questions
No. Everything happens in your browser.
Hyphens are the more common web and SEO convention, and the default here. Underscores are offered as the alternative for systems that prefer them.
The letters are kept, not guessed at or dropped. A title like "مقال عن البرمجة" produces a slug that still contains the Arabic words, joined by your chosen separator - not stripped to nothing and not transliterated into a phonetic guess.
A practical 1,000-character guard, matching what a real title looks like.
Guides
A closer look at specific problems this tool solves.
Why an Ugly URL Slug Is Worth Fixing
A CMS that auto-generates a slug from a title usually gets it half right - lowercased, spaces replaced, but a stray double hyphen or a dropped accent left behind. Here is why that's worth fixing, and where it quietly breaks worst.
Read the guideHow to Turn a Title Into a Clean URL Slug
Paste a title, get a slug, live. Here is exactly what the separator and lowercase options change, what happens to accents and punctuation, and the one input limit worth knowing about.
Read the guideWhat Happens to an Arabic Title When You Generate a URL Slug
Most slug generators either guess at a Latin transliteration or silently drop non-English text and leave you with nothing. Here is what actually happens to an Arabic title here, and why the other two options were rejected.
Read the guide
Comments