Step-by-step guide: How to Write SEO-Friendly URL Slugs
How to use the URL Slug Generator
- Type or paste a title. For several pages, paste one title per line — slugs are generated as you type.
- Keep the hyphen separator unless your platform requires underscores. Hyphens are treated as word separators by search engines.
- Choose a maximum length. Slugs are shortened at a word boundary so no word is cut in half.
- Optionally remove filler words to make long slugs more concise, and decide whether numbers should be kept.
- Copy a single slug with its button, copy them all, or download a CSV of titles and slugs.
Example conversions
| Title | Slug (filler words removed) |
|---|---|
| How to Repot a Snake Plant (Without Killing It!) | repot-snake-plant-without-killing |
| Café Crème Brûlée: Grand-mère’s Recipe | cafe-creme-brulee-grand-meres-recipe |
| Top 10 Tips for 2026 & Beyond | top-10-tips-2026-beyond |
| Straße & Ærø — Åland Guide | strasse-aero-aland-guide |
What makes a good URL slug
The slug is the part of a web address that identifies a specific page, such as /blog/repot-snake-plant/. Google recommends simple, descriptive URLs that use words rather than ID numbers, and that separate words with hyphens rather than underscores. A clear slug helps people understand a link before they click it — in a search result, an email or a chat message.
Good slugs are short, lower case, made of plain letters and numbers, and stable. Changing a slug after publication breaks existing links unless you set up a redirect.
How titles are converted
- Special letters with established spellings are expanded first: ß becomes “ss”, æ “ae”, ø “o”, œ “oe”, þ “th” and so on.
- Accents are removed by decomposing each letter into its base letter and accent marks (Unicode normalisation form NFD) and discarding the marks, so é becomes e.
- Apostrophes are removed so “grand-mère’s” becomes “grand-meres” rather than “grand-mere-s”.
- Every remaining run of characters that is not a letter or number becomes a single separator, and separators at the start or end are trimmed.
- If enabled, filler words are dropped — but never if that would leave the slug empty.
- Finally, the slug is shortened to the maximum length at the last separator that fits.
With Convert accents unticked, letters from any alphabet are kept as they are, which suits sites in languages such as Greek, Russian or Arabic. Browsers display these readably, though they are percent-encoded when transmitted.
Limitations to keep in mind
- Letters from scripts with no Latin equivalent, such as Chinese or Arabic, cannot be transliterated here. Untick “Convert accents” to keep them, or write an English slug by hand.
- Removing filler words can occasionally change meaning — “not” is not removed, but check slugs for short words that matter.
- The generator does not check whether a slug is already used on your site. Your CMS will usually add a number to duplicates.
How your data is handled
Slugs are generated in your browser as you type. Your titles are not sent anywhere.
Frequently asked questions
Should I use hyphens or underscores?
Hyphens. Google’s guidance recommends hyphens to separate words in URLs; underscores can cause words to be read as one long word.
Should I include the year or numbers in a slug?
Only when the number is essential to the content, like a model number. A year in the slug makes an updated article look out of date and tempts you to change the URL later.
How long should a slug be?
There is no strict limit, but shorter slugs are easier to read and share. Three to six meaningful words is a practical target.
Can I change the slug of a published page?
You can, but set up a permanent (301) redirect from the old address to the new one so existing links and search rankings carry over.