In toolask.com/guides/what-is-a-url-slug/, the last part is the slug. It’s the human-readable name of a page in its URL — and it’s quietly one of the more important strings on your site.
Why slugs matter
- Search engines read them. Keywords in the URL are a relevance signal.
example.com/how-to-trim-videooutranksexample.com/p/12345for the obvious query. - Humans read them. A link that says what it contains gets clicked more and shared more cleanly.
- They’re permanent. Changing a slug later breaks links unless you set up redirects. Get it right the first time.
The rules of a good slug
- Lowercase, hyphens only —
how-to-trim-video, neverHow_To_Trim Video. - Short — aim for 3–6 words; strip filler (“the”, “a”, “and”).
- Keywords early — put the main term near the front.
- No dates —
2026-guidegoes stale by design. - ASCII only — accented characters and non-Latin scripts get percent-encoded into URL gibberish. Transliterate them.
Generating one
Take a title, apply the rules, and you get a slug:
“The Complete Guide: How to Convert MKV to MP4 in 2026!” →
convert-mkv-to-mp4
The slug generator does exactly this automatically — paste any title or phrase and it produces a clean, URL-safe slug. It handles the fiddly parts: stripping punctuation, replacing spaces with hyphens, and removing non-ASCII characters.
One more thing
Slugs should be unique per site. If two articles would generate the same slug, one gets a suffix (-2). The generator won’t know that — check against your existing URLs when it matters.