Slug Generator (Slugify Text)
Turn any title into a clean, URL-friendly slug.
Text Tools Runs in your browser
What is a URL slug?
“Crème Brûlée: 10 Best Recipes!” becomes “creme-brulee-10-best-recipes” in one step. The slugifier lowercases everything, transliterates accents to plain ASCII, throws away punctuation and joins the words with hyphens, or underscores if your CMS prefers them. The result is safe for URLs, file names and HTML anchor IDs, with no encoding surprises later.
How to use the Slugify
- 1 Write or paste the title you want a slug for.
- 2 Pick hyphen or underscore as the separator.
- 3 Watch the slug rebuild as you tweak the title.
- 4 Copy the slug into your CMS or router config.
What you can use it for
- Creating SEO-friendly URLs for blog posts and pages.
- Generating file names from titles.
- Building anchor IDs for headings.
- Normalising tags or categories.
Frequently asked questions
What is a slug?
The human-readable tail of a URL, like “creme-brulee-recipes” in example.com/blog/creme-brulee-recipes. Descriptive slugs help both readers and search engines judge what the page is about before clicking.
Does it handle accented characters?
Accented letters map to their base forms first, so “café” becomes “cafe” rather than losing the letter, and whatever punctuation remains is swapped for your chosen separator.
Can I use underscores instead of hyphens?
Choose the underscore separator to get “my_first_post” instead of “my-first-post”. Hyphens remain the better default for public URLs since search engines treat them as word breaks.
Related tools
More Text Tools
More tools like this:
All Text Tools