Answer

How to create a URL slug from a string

Turn any title or string into a clean, URL-safe slug instantly in your browser.

Slugifying lowercases the text, replaces spaces with hyphens, strips punctuation, and removes accents — producing a clean, URL-safe string. "Hello World! A Post (2024)" becomes hello-world-a-post-2024.

Input
Hello World! A Post (2024)
Output
hello-world-a-post-2024

Accented characters are transliterated (café → cafe) so the slug stays ASCII.

Open the Slugify → Free · runs in your browser · nothing uploaded

Steps

  1. Open the Slugify tool and paste your title or string.
  2. Copy the generated slug for use in a URL, filename, or anchor id.
  3. Adjust options like separator or letter case if the tool offers them.
  4. Keep slugs short and meaningful — they are part of your URLs.

Frequently asked questions

Why use slugs in URLs?
Slugs make URLs human-readable and keyword-relevant (e.g. /blog/how-to-slugify), which is friendlier for users and search engines than opaque ids.