URL Slug Generator

Turn any title into a clean URL slug. Everything happens in your browser.

Enter text to preview your slug.

0 characters

Free URL slug generator

A URL slug is the human-readable part of a web address that identifies a page, like how-to-build-a-saas in example.com/blog/how-to-build-a-saas. Clean slugs help readers understand what a link points to before they click, and they give search engines a clear keyword signal. Messy slugs full of spaces, punctuation, and accented characters get percent-encoded into unreadable strings.

This slug generator turns any title or headline into a clean, SEO-friendly slug as you type. It lowercases the text, replaces spaces and punctuation with your chosen separator (dash or underscore), and converts accented characters like é and ñ to their plain ASCII equivalents. You can optionally strip common stop words such as a, the, and of to shorten the slug, and set a maximum length that truncates at a word boundary instead of mid-word.

Everything happens in your browser, so the text you paste never touches a server. The live character count helps you keep slugs concise — most SEO guidance suggests staying under roughly 60 characters. If you use ReSlug, the generated slug also makes a good custom alias for a branded short link.

How to generate a URL slug

  1. Paste your title or text

    Type or paste the headline into the Title or text box. The slug preview updates instantly as you type.

  2. Choose separator and case

    Pick dash or underscore as the word separator, and choose lowercase or preserve original case. Dashes plus lowercase is the convention search engines recommend.

  3. Tune the optional settings

    Set a max length, tick Remove common words to strip stop words like a, the, and of, or toggle accent conversion for characters like é and ñ.

  4. Copy the slug

    Check the character count under the preview, then click Copy slug to put the result on your clipboard.

Frequently asked questions

What is a URL slug?

A slug is the last, human-readable part of a URL that identifies a specific page, such as pricing or how-to-tie-a-tie. It is usually derived from the page title with spaces and punctuation replaced by dashes.

Should I use dashes or underscores in URLs?

Use dashes. Google treats a dash as a word separator but treats an underscore as a word joiner, so blue-widgets is read as two words while blue_widgets may be read as one.

How long should a URL slug be?

Keep slugs short and descriptive, typically three to five words and under about 60 characters. Shorter slugs are easier to read, share, and remember, and they avoid truncation in search results.

Should I remove stop words from slugs?

It is optional. Removing words like a, the, and of makes slugs shorter without losing meaning, but keep them when they are needed for clarity, for example in a title like on-page-seo.

Does changing a slug hurt SEO?

Changing the slug of a published page changes its URL, which loses existing rankings and backlinks unless you add a 301 redirect from the old URL to the new one. Choose a good slug before publishing when possible.

Make this slug a branded short link.

Use it as a custom alias on a ReSlug short link to get a clean branded URL on your own domain.

Create a free account