URL Slug Generator for SEO

Convert any page title or phrase into an SEO-friendly URL slug. Remove stop words and copy instantly.

SEO URL Slugs
Your SEO-friendly slug will appear here.
Enter a title and click Generate Slug.

What is a URL slug?

A URL slug is the part of the URL that identifies a specific page in human-readable form. For example, in example.com/what-is-seo, the slug is what-is-seo. Search engines use the slug as a signal for what the page is about, and readers use it to decide whether the result is relevant before clicking.

A good slug is concise (3-5 words), lowercase, uses hyphens instead of underscores, and includes the primary keyword. Remove stop words (the, a, for, and, of, in, to, is) to keep slugs short unless the stop word is essential to meaning (e.g., "to-be-or-not-to-be"). Never use special characters, spaces, or session IDs in slugs.

SEO slug best practices

Keep slugs under 60 characters to avoid truncation in search results. Include the primary keyword near the start. Use hyphens (-) not underscores (_) because Google treats hyphens as word separators. Avoid dates in slugs unless the content is time-sensitive, because old dates reduce click-through rates.

After changing a slug on a live site, set up a 301 redirect from the old URL to the new one to preserve link equity. Read the file naming guide for more URL optimization tips, and use the Meta Tag Generator to create complete SEO metadata for the page.

How to write SEO-friendly URL slugs

A URL slug should describe the page in a short, readable way. Use the main topic words, separate words with hyphens, and remove filler words that do not help someone understand the page. For example, a title like "How to Resize Images for Social Media Platforms" can become resize-images-social-media-platforms or how-to-resize-images-for-social-media, depending on your naming style.

Keep slugs lowercase, avoid underscores, and do not use special characters that may be encoded in the browser. Short slugs are easier to read in search results, analytics reports, support messages, and shared links. If two pages have similar topics, make each slug specific enough to avoid confusion, such as jpg-to-pdf and pdf-to-jpg.

After changing a slug on a live site, set a redirect from the old URL to the new one. Update internal links, navigation, sitemap entries, canonical tags, and any shared campaign URLs so visitors and crawlers reach the correct page. For file names, use the Filename Slugger. For broader text cleanup, try the Slug Generator and Case Converter.