← All blog posts

Slug ideas for beginners

WhiteUI · A plain-English guide to slug generation

Beginners often wonder what makes a good slug, and the answer is simpler than most guides suggest: a good slug is the title, shortened if needed, in lowercase, with hyphens between words. If a stranger can guess the page from the slug alone, it is a good slug.

Worked example: “How to Make the Perfect Cup of Tea” becomes how-to-make-the-perfect-cup-of-tea — all lowercase, with hyphens where the spaces were and nothing else. A second title, “10 Easy Pasta Recipes for Beginners”, becomes 10-easy-pasta-recipes-for-beginners, with the number kept at the front exactly as written.

Three habits produce good slugs reliably. Keep the important words and drop filler: “how-to-make-the-perfect-cup-of-tea” works, but “tea” alone is too vague and the full title with every word is longer than it needs to be. Keep it lowercase throughout, since mixed case in URLs causes duplicate-page problems on some servers. And never change a slug after publishing, because every link and search result pointing at the old address breaks.

A beginner’s test before publishing: read the slug aloud. If it sounds like the page’s topic, publish it. If it sounds like a code, rewrite the title and generate again.

Frequently asked questions

What happens to accents and special characters?

They are stripped to their plain form where possible — é becomes e — and anything that has no plain form is dropped, so the slug stays safely in plain ASCII.

Why hyphens instead of underscores?

Because search engines treat hyphens as word separators and underscores as joiners. A slug with hyphens reads as separate words; one with underscores reads as one long word.

Is anything I type uploaded or stored?

No. The conversion runs entirely in your browser. Nothing is uploaded, stored or logged.

More guides on the Slug Generator

Try it yourself

Type or paste a title and copy the clean slug it produces.

Open the Slug Generator