Slug Generator

Slug Generator

Type a headline and get a clean, SEO-friendly URL slug instantly — lowercase, hyphenated and ready to paste into WordPress or any CMS. Everything runs in your browser; nothing is uploaded.




Try one:

Type a headline above — your slug updates as you type.

What Is a URL Slug?

The slug is the last part of a web address — the readable bit after the domain name. In howlly.info/free-tools/slug-generator/, the slug is "slug-generator". A good slug tells both readers and Google what the page is about before anyone clicks. A bad one looks like /?p=4821 or /page-1-final-v2/, which says nothing at all. WordPress builds a slug from your post title automatically, but it keeps every word, including filler like "the" and "of", and it never shortens a rambling headline. That is where a slug generator helps: it strips the noise and hands you a short, clean version you can paste in as the permalink.

Short slugs beat long ones for three reasons. They are easier to read in search results, where a long address gets cut off. They are easier to share — in an email, a chat message or spoken aloud, nobody wants to read out a 15-word address. And they keep the keyword focus tight: a slug packed with your main words signals the topic clearly, while one padded with stop words dilutes it. Google treats the slug as a small ranking signal, so it is worth a few seconds of care, not a rewrite of your whole post.

This tool follows the standard rules. Everything becomes lowercase, because /My-Page and /my-page can be treated as different addresses and mixed case causes duplicate-content headaches. Words are joined with hyphens, which Google reads as word separators — underscores are not, so hyphens are the default and the underscore option is only there for systems that demand them. Accented letters are converted to plain ones, symbols and punctuation are dropped, and common stop words are removed unless you switch that off. A length cap of 60 characters keeps things tidy; anything longer gets trimmed at a word boundary so you never end up with a half-word at the end.

How to Use the Slug Generator

  1. Type or paste your headline into the box. The slug updates live as you type — no button needed.
  2. Check the options. Stop-word removal is on by default; turn it off if a small word changes the meaning (for example, "to" in "how to"). Keep numbers on if the year or a count matters.
  3. Watch the URL preview. It shows the full address so you can judge how it will look in search results and shared links.
  4. Copy the slug and paste it into the permalink field in WordPress (under the post title, click the URL to edit it) or into your CMS of choice.
  5. Never change a slug on a live page without setting up a redirect from the old address — otherwise every link and bookmark pointing at it will break.

Who Is This Tool For?

Bloggers and content writers publishing in WordPress who want tidy permalinks on every post — use it alongside our Meta Tag Generator to sort the title, description and URL in one pass, and see our WordPress SEO services guide for the full on-page checklist. SEO beginners learning how URLs work: the live preview makes the rules visible instead of abstract. Shop owners and freelancers naming product and service pages, where a clean address looks more trustworthy to customers. And anyone renaming an old post — generate the new slug here, then redirect the old one. If you are drafting the post itself, our Word Counter checks the length and readability before you publish.

Frequently Asked Questions

Should a slug include the year?

Only if the year is part of the point — a "best laptops 2026" roundup, for example. For evergreen guides, leave the year out so the slug stays accurate when you update the post next year.

Hyphens or underscores — which is better?

Hyphens. Google treats hyphens as spaces between words but reads underscores as part of a word, so "budget-laptops" is understood and "budget_laptops" is not. This tool uses hyphens by default.

How long should a slug be?

Three to five words is the sweet spot, and under 60 characters is a safe cap. Shorter slugs are easier to read, share and remember — cut anything that does not add meaning.

What are stop words, and why remove them?

Stop words are small, common words like "a", "the", "of" and "and". They add nothing to the meaning of a URL, so removing them shortens the slug without losing clarity. Keep them only when removing one would change the sense.

Can I change a slug after publishing?

Yes, but set up a 301 redirect from the old URL to the new one first, or every existing link to that page will land on a 404 error. In WordPress, Rank Math and most redirect plugins do this in a few clicks.