URL Slug Generator
Convert titles and headings into clean, lowercase, hyphen-separated URL slugs. Essential for blog posts, product pages, and any CMS where the URL should read like the title.
How to use
- Paste your title or heading into the input.
- Optionally enable AI transliteration for Hindi, Japanese, or other non-Latin text.
- Click Run and copy the generated slug.
A slug is the human-readable part of a URL that identifies a page, the 'seo-friendly-urls-guide' in example.com/blog/seo-friendly-urls-guide. Good slugs are lowercase, use hyphens (not underscores, Google treats hyphens as word separators, underscores as word joiners), contain no stop characters, and stay reasonably short.
The conversion is trickier than replacing spaces: apostrophes must vanish rather than become hyphens ('don't' becomes 'dont'), accented characters need transliteration ('café' becomes 'cafe'), ampersands should become 'and', and consecutive separators must collapse to a single hyphen. Doing this inconsistently across a site creates duplicate-content headaches, the same article reachable at two slightly different URLs.
Slugs also matter for click-through: a URL that echoes the search query gets bolded in results pages, and readable URLs are shared and trusted more than opaque IDs. Keep slugs stable once published, changing a slug breaks inbound links unless you 301-redirect the old one.
For non-Latin scripts, plain ASCII folding fails, Devanagari or CJK characters have no direct ASCII equivalent. The optional AI enhancement transliterates the meaning or phonetics into a Latin-script slug, which is far better than stripping the title down to nothing.
Examples
Input: 10 Things You Didn't Know About APIs!
Output: 10-things-you-didnt-know-about-apis
Input: Crème Brûlée Recipe, Café Style
Output: creme-brulee-recipe-cafe-style
Frequently asked questions
Should slugs use hyphens or underscores?
Hyphens. Google explicitly treats hyphens as word separators and underscores as connectors, so 'red-shoes' matches searches for red shoes while 'red_shoes' may be read as one token.
How long should a URL slug be?
Three to six meaningful words is a good target. Drop stop words like 'a' and 'the' when they add nothing, but keep the slug readable, it is displayed in search results and shared in links.
What happens to Hindi or other non-Latin titles?
Basic slugification strips characters it cannot map to ASCII, which can destroy a non-Latin title entirely. Enable the AI transliteration option and the tool produces a phonetic Latin-script slug instead, 10 free AI runs per day.
Can I change a slug after publishing?
Technically yes, but every existing link to the old URL breaks unless you add a 301 redirect. Best practice is to finalize the slug before publishing and treat it as permanent.
Related tools
You get 10 free AI enhancements/day on this tool. Create a free account for higher limits, run history on your last 50 runs, and a ₹10 wallet that unlocks 300+ AI models.