Slug Generator · Tutorial

How to create SEO-friendly URL slugs for blog posts

5 min readbeginnerUpdated

You're publishing several blog posts and need a web address for each one. Titles contain accents, ampersands, apostrophes and dashes that don't belong in a URL. This tutorial generates clean slugs for a batch of titles and helps you decide how short to make them.

What you need

  • The Slug Generator
  • Your post titles, one per line (the Try it button loads four)

Steps

  1. Paste your titles

    Paste each title on its own line. A slug appears for each one straight away, using hyphens and lowercase letters.

    10-tips-for-faster-websites-in-2026
    how-to-brew-coffee-a-beginners-guide
    creme-brulee-recipe-easy-and-classic
    why-your-wi-fi-is-slow-and-what-to-do-about-it
  2. Check the special characters

    Crème Brûlée lost its accents, & became and, the brackets disappeared, and Beginner's became beginners rather than beginner-s. The long dash in the last title was removed cleanly.

  3. Shorten long slugs

    The last slug has ten words. Tick Remove short words to drop filler like "is", "and" and "to", giving why-your-wi-fi-slow-what-do-about. That's shorter, but less readable. A good compromise is to set Max length to around 50 or 60, so long slugs are cut at a word boundary while short ones are untouched.

  4. Edit by hand where it helps

    Generated slugs are a starting point. You might shorten how-to-brew-coffee-a-beginners-guide to how-to-brew-coffee, or drop the year from the first slug so it doesn't look out of date next year.

  5. Copy them into your CMS

    Press Copy and paste each slug into the URL or permalink field of your blogging platform before you publish.

Try it yourself

Opens the Slug Generator with this tutorial's sample loaded.

Try it now

Common mistakes

Changing slugs after publishing
Once a page is live and shared, changing its slug breaks links. If you must, set up a permanent (301) redirect from the old address.
Including dates or numbers that will age
Slugs with a year or "top 10" look stale when the content is updated. Leave them out unless they're essential.
Keyword stuffing
A slug like best-coffee-coffee-brewing-coffee-guide doesn't help. Write it for people, with the page's main topic.

Next steps

Go back to the Slug Generator, or keep going with one of these:

FAQ

Do search engines need English slugs?

No. Slugs in the page's own language are fine, and modern browsers display non-Latin characters in URLs correctly.