SEO Slug Generator

Turn any title into a short, clean, SEO-friendly URL slug. Type your title and copy the slug in one click.

  • 100% Free
  • No Sign-up
  • Runs in Your Browser
  • One-click Copy
your-slug-appears-here

Turn any title into a short, clean, SEO-friendly URL slug. Type your title and copy the slug in one click.

What Is a URL Slug?

A URL slug is the part of a web address that identifies a specific page, written after the domain name. In uncoverwp.com/seo-slug-generator/, the slug is seo-slug-generator. WordPress creates a slug from your post title automatically, but the default version is often too long or full of filler words.

What Makes a Slug SEO-Friendly?

  • Short: 3 to 5 words and under 60 characters is a safe target.
  • Keyword first: the main topic of the page appears in the slug.
  • Lowercase with hyphens: Google treats hyphens as word separators. Underscores join words together.
  • No stop words: words like “the”, “and”, and “of” add length without adding meaning.
  • No dates or numbers that will change: a slug like best-plugins-2026 needs a redirect next year.

How to Change a Slug in WordPress

  1. Open the post or page in the block editor.
  2. In the right sidebar, click the URL under Link.
  3. Paste your new slug into the Permalink field.
  4. Click Update.

If the page is already published and indexed, add a 301 redirect from the old URL to the new one so you keep its traffic and backlinks. Rank Math and Yoast SEO Premium can create this redirect automatically.

Hyphens vs Underscores in Slugs

SeparatorExampleHow Google reads it
Hyphen (-)wordpress-speed-testThree separate words
Underscore (_)wordpress_speed_testOne joined word

Frequently Asked Questions

How long should a URL slug be?

Keep it between 3 and 5 words and under 60 characters. Short slugs are easier to read, share, and remember.

Should I remove stop words from slugs?

Usually yes. Words like β€œthe”, β€œa”, and β€œof” make the slug longer without helping search engines understand the page. Keep them only when the slug stops making sense without them.

Can I change the slug of a published post?

Yes, but always add a 301 redirect from the old URL to the new one. Without it, visitors and search engines that follow the old link will land on a 404 page.

Should I put the year in a slug?

No. Keep the year in the title instead. A year in the slug forces you to change the URL every time you update the post.

Does the slug generator store my titles?

No. The tool runs entirely in your browser, so nothing you type is sent to our server.