All tools / WordPress

WordPress Slug Generator

Turn a post title into a clean URL slug.

How to create a slug

  1. Type or paste your post title.
  2. Press Run tool.
  3. Copy the slug and paste it into the URL or permalink field in WordPress.

In the block editor, you will find the slug in the post settings sidebar under URL. In the classic editor, click Edit next to the permalink below the title.

What the generator does

The tool makes the same kind of slug WordPress would make, with a little more clean-up:

Letters from other scripts, such as Tamil, Hindi or Cyrillic, are kept and shown in percent-encoded form, which is how they travel in a real URL. Browsers display them normally in the address bar.

What makes a good slug

The generator gives you a clean starting point. A good slug usually needs one more step from you: making it shorter. The title "10 Best WordPress Caching Plugins for Speed in 2026 (Tested)" produces a long slug. Something like best-wordpress-caching-plugins is better. Here is why:

Slugs are a small ranking signal at most. Their bigger value is clarity, and a clean URL often gets a few more clicks than a messy one.

Changing the slug of a published post

Be careful here. Once a post is published, changing its slug changes its URL. Links from other sites, social shares and Google's index all point to the old address. WordPress tries to redirect old slugs for posts automatically, but that does not always work for pages, custom post types or after a migration.

If you do change a slug, add a 301 redirect from the old URL to the new one. The htaccess redirect generator can write the rule for Apache and LiteSpeed servers. Then check it with the redirect checker.

Permalink settings

A slug only matters if your permalinks use it. In WordPress, go to Settings > Permalinks and choose Post name for most blogs. Structures that include the date make URLs longer and make content look old sooner. Change this setting on a new site. On an established site it changes every URL, so it needs redirects and planning.

Frequently asked questions

Does WordPress remove stop words from slugs?

Not by default. Some SEO plugins offer this, but it often produces odd slugs. I prefer editing slugs by hand.

Can two posts have the same slug?

No. WordPress adds "-2" to the second one. If you see that, it usually means a draft, an attachment or a trashed post already uses the slug.

Related tools

WordPress

HTACCESS Redirect Generator

Generate a permanent Apache redirect from one path to another URL.

Open tool →
WordPress

Password Generator

Generate a random password using browser cryptography.

Open tool →
Text

Word Counter

Count words, characters, sentences and reading time.

Open tool →