← All blog posts

Slug examples that actually work

WhiteUI · A plain-English guide to slug generation

Examples make slug advice concrete, so here are three titles converted the way the generator converts them, with a note on why each result works.

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.

A third example shows accents handled gracefully. “Crème Brûlée: A Beginner’s Guide” becomes creme-brulee-a-beginners-guide — the accents stripped to plain letters, the colon and apostrophe removed, and the remaining words joined by hyphens. Nothing in the result needs escaping, which is the whole point of a slug.

The test for any slug is the same: can a stranger guess the page from the address alone? “How-to-make-the-perfect-cup-of-tea” passes easily; a slug of numbers, dates or filler words does not. If the slug passes that test, it is doing its job for readers and for search engines at the same time.

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