WordPress Slug Generator

Generate clean, SEO-optimized URL slugs for WordPress. Preview your permalink before publishing.

Try:

Options

How WordPress Handles Slugs

WordPress automatically generates a slug from your post title when you create a new post or page. However, the auto-generated slug often includes stop words and can be unnecessarily long. Using this tool, you can preview and optimize your slug before pasting it into the WordPress editor.

WordPress Permalink Settings

For best SEO results, use the "Post name" permalink structure (/%postname%/) in WordPress Settings → Permalinks. This puts your slug directly after the domain, creating clean URLs like example.com/your-optimized-slug.

WordPress Slug Best Practices

  • Keep slugs under 5-6 words for better readability
  • Remove stop words (a, the, is, and, or, but)
  • Include your target keyword in the slug
  • Use hyphens only — WordPress converts underscores to hyphens
  • Never change a slug after the post is indexed without setting up a redirect
  • Avoid dates in slugs unless the content is time-sensitive

Bulk Slug Generation for WordPress

Migrating content to WordPress? Switch to bulk mode above to generate slugs for an entire list of post titles at once. This is ideal for CSV imports using plugins like WP All Import.

FAQ

How do I change a slug in WordPress?

In the WordPress block editor, click the post title, then click the URL/Permalink section in the right sidebar. You can edit the slug directly there.

What happens if two posts have the same slug?

WordPress automatically appends a number (e.g., my-post-2) to avoid duplicate slugs. It is better to create unique, descriptive slugs from the start.

Related Slug Tools

For general text conversion, try the Text to Slug converter. For SEO-optimized URLs, use the URL Slug Generator. For permanent blog links, see the Permalink Generator.

Related Tools