🔗 URL Slug Generator
Turn "10 Café Recipes You’ll Love!" into 10-cafe-recipes-youll-love — the URL-safe version of any title.
How the url slug generator works
The text is lowercased, accented characters are transliterated to plain ASCII (café → cafe), everything that isn’t a letter or digit becomes the separator, and repeated or edge separators are trimmed. The result is safe for URLs, filenames and IDs.
Hyphens are the conventional separator for URLs — Google has long documented that it treats hyphens as word boundaries, while underscores join words. Keep slugs short, descriptive, and never change them after publishing (that is what redirects are for).
Frequently asked questions
Hyphens or underscores for SEO?
Hyphens. Google’s documentation treats hyphenated words as separate terms, while underscores can join them. Underscores remain common for filenames and code identifiers.
What happens to accents and special characters?
Accented letters map to their plain equivalents (café → cafe, señor → senor); symbols and punctuation become separators or vanish. The output is pure a–z, 0–9 and separators.
Should stop words like "a" and "the" be removed?
Optional — shorter slugs are tidier, but clarity beats brevity. "the-office" and "office" are different topics; keep words that carry meaning.
Can I change a slug after publishing?
Only with a 301 redirect from the old URL — otherwise links and rankings break. Best practice is choosing a stable slug once.
Is anything uploaded?
No — slug generation is local and instant.