Slugify: Text to URL Slug
Turn titles into URL-safe slugs. Accents are transliterated, punctuation and emoji removed, and words joined with hyphens. Paste many titles, one per line.
Runs entirely in your browser. Your text is not uploaded.
How to use the slugify
- Paste one or more titles, one per line.
- Choose a separator and an optional maximum length.
- Copy the slugs.
Good slug habits
Keep slugs short and descriptive, use lowercase so URLs are not duplicated by capitals, and avoid dates if you plan to update the page. Once a page is published, changing its slug breaks links unless you add a redirect.
Questions
What is a URL slug?
The readable part of a web address that identifies a page, like "how-to-sort-a-list" in example.com/blog/how-to-sort-a-list.
Should slugs use hyphens or underscores?
Hyphens. Google's URL structure guidelines recommend hyphens to separate words because underscores can be read as joining them.
How are non-English letters handled?
Accents are stripped (é→e), and letters with no accent form are transliterated: ß→ss, æ→ae, ø→o, ł→l, Turkish ı→i. Scripts like Chinese or Cyrillic are removed, so write those slugs by hand.