URL Slug Generator
Turn any title into a clean, SEO-friendly URL slug — lowercase, accents stripped, spaces to hyphens.
Generate clean, SEO-friendly URL slugs from any title or text: lowercased, accents and diacritics stripped, punctuation removed, spaces replaced with hyphens. Watch the slug update live and copy the finished URL for your CMS or router.
How to use the URL Slug Generator
- Type or paste a title.
- Pick the separator (hyphen or underscore) and case options.
- Copy the slug — it updates live as you type.
Frequently asked questions
What is a URL slug?
The readable part of a URL that identifies a page, e.g. the 'how-to-build-a-rest-api' in /blog/how-to-build-a-rest-api. Slugs are what search engines show and users read.
How do I make a URL slug?
Paste your title above — the tool lowercases it, removes accents, punctuation and special characters, and joins words with hyphens.
Are underscores or hyphens better for SEO?
Hyphens are treated as word separators by search engines; underscores are not. Google explicitly recommends hyphens.
Does it handle non-English characters?
Yes — accented characters are transliterated to their base Latin forms (café → cafe), and remaining non-Latin scripts are removed.
Fun facts about URL Slug Generator
- The term 'slug' in URL context comes from newspaper publishing — a 'slug' is a short name given to an article during production.
- Google recommends using hyphens (-) rather than underscores (_) in URLs — hyphens are treated as word separators, while underscores are not.
- Google's John Mueller has said URL length is not a ranking factor; short, readable slugs help people, not rankings.
- WordPress automatically generates slugs from post titles by converting to lowercase, replacing spaces with hyphens, and removing special characters.
- A common rule of thumb is a slug of three to five words that says what the page is about.