Slugify

Convert any string to a URL-safe lowercase-hyphenated slug

Ad placeholder (leaderboard)

A slug is the readable, URL-safe identifier at the end of a web address. This tool converts any title or phrase into a clean slug by stripping accents, lowercasing, removing punctuation, and joining words with a single separator.

How it works

The conversion runs through a fixed pipeline:

1. Unicode-normalise to NFD, then remove combining marks (é → e)
2. Lowercase (optional)
3. Replace every run of non-alphanumeric characters with the separator
4. Trim leading and trailing separators

Normalising to NFD splits an accented character into its base letter plus a separate combining mark, which is then dropped. Collapsing all non-alphanumeric runs to one separator means spaces, commas, slashes, and emoji all turn into a single hyphen.

Example and tips

The input Crème Brûlée: 10 Best Recipes! becomes creme-brulee-10-best-recipes. Keep slugs short and meaningful — drop filler words like “the” and “a” where possible. Avoid changing a slug once a page is published, since old links and search rankings point at the original URL.

Ad placeholder (rectangle)