SEO
Slug Generator
From “Case Study: AI & You” to case-study-ai-you: the perfect slug, generated live.
The slug is the readable part of a URL — and one of those details both Google and visitors notice. Paste an article title, a product name or a whole list (one input line yields one slug): the tool transliterates accents and ligatures (é→e, æ→ae, ß→ss), strips punctuation, replaces spaces with hyphens and lowercases everything — live, as you type. Prefer underscores? One setting away, as is turning off lowercasing for edge cases. The result is a clean, stable slug that works in every CMS, from WordPress to Astro. Free, no sign-up, and nothing ever leaves your browser — paste a hundred titles if you like.
How does it work?
- Paste your title — or a list of titles, one per line.
- Pick the separator (hyphen or underscore) and the casing.
- The slug appears live, one line per title.
- Copy it into your CMS with one click.
Frequently asked questions
Hyphens or underscores in URLs — what does Google prefer?
Hyphens, without a doubt: Google treats them as word separators, so “case-study” is understood as two words. Underscores glue words together — “case_study” is read as a single term. This recommendation has been stated explicitly in Google's Search documentation for years.
Should I keep accents in URLs?
Technically possible, practically unwise: an “é” becomes “%C3%A9” once encoded, producing unreadable URLs in shares, emails and some tools. Transliterating to pure ASCII (“référencement” → “referencement”) guarantees clean links everywhere, with no SEO penalty whatsoever.
What is the ideal slug length?
Short and meaningful: three to five substantive words are plenty. Drop stop words (the, a, of) whenever the slug stays understandable without them — “calculate-swiss-vat” beats “how-to-calculate-vat-in-switzerland-in-2026”. A concise slug is easier to read in search results and easier to share.
Can I change the slug of a page that is already live?
Yes, but never without a 301 redirect from the old URL to the new one: skip it and you lose inbound links, shares and accumulated rankings. If the page is recent and barely linked, the change is painless; if it performs well, weigh the benefit before touching the slug.