← All blog posts

Slug vs doing it manually

WhiteUI · A plain-English guide to slug generation

Writing a slug by hand is easy for one page: lowercase the title, replace spaces with hyphens, delete punctuation. The generator’s advantage appears with volume and with tricky titles — accented characters, long titles, titles with numbers and symbols — where hand-editing invites small slips.

Manual slugs win on judgement. A person knows which words in a title matter for search and which are filler, so a hand-edited slug is often shorter and sharper than the automatic version. The generator converts the whole title faithfully, which is correct but sometimes longer than ideal.

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.

The practical answer, as with most generators, is to combine the two: let the generator do the conversion, then trim by hand if the result is long. Delete filler words, keep the words a searcher would type, and stop when the slug still reads clearly. That takes a minute and gives a slug that is both correct and concise.

Generator or hand-editing: which slug for which page

The generator and hand-editing are not rivals; they suit different pages. The generator is the right tool when there are many pages, or when the title has accents, symbols or a number at the front. Run “Café & Crème: 5 Desserts to Try at Home” through it and you get cafe-creme-5-desserts-to-try-at-home — the accents stripped, the & gone, the 5 kept exactly where it was. Doing that by hand for fifty recipe posts invites one slipped character somewhere, and one wrong slug is a broken link.

Hand-editing wins when the page matters enough to deserve a shorter slug. A blog post called “Best Masala Dosa Recipe in Bangalore!” becomes best-masala-dosa-recipe-in-bangalore from the generator, which is correct — but best-masala-dosa-recipe is shorter, easier to share, and still says what the page is about. The words a searcher would type are masala dosa recipe; Bangalore and best are nice to have, not essential.

The working rule most writers settle on is this: let the generator do the conversion, then trim by hand only for pages you expect people to link to or share — your ten most important posts, not all five hundred. For the rest, the generator’s version is good enough, and consistent slugs beat clever ones.

What to check before you publish the slug

First, read the slug out loud. If you stumble on it, a reader will too. A slug like paneer-butter-masala-restaurant-style-no-cream is long but readable; one with a doubled hyphen or a trailing hyphen is a sign something went wrong in the conversion. The generator never produces those — a hyphen appears only where a run of spaces or punctuation was — but a hand-edited slug can pick them up.

Second, check that nothing meaningful was lost. The generator drops every character it cannot turn into a letter or a number, so a title like “Paneer Butter Masala — Restaurant Style (No Cream)” becomes paneer-butter-masala-restaurant-style-no-cream, and the brackets vanish without changing the meaning. But if the number was the point — “5 Desserts” without the 5 — the slug would mislead, so check that numbers survived.

Third, never change a slug after the page is live. A published slug is an address people have linked to; renaming it breaks those links. If a slug is wrong, fix the title and leave the slug alone, or accept the old slug and move on.

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