Slug Generator

Turn any text into a clean URL slug

Paste a title or sentence and instantly get a URL-friendly slug with custom separators, stop-word removal and length limits — ready to copy.

Separator
Max length
Slug
Your URL-friendly slug will appear here.

About the slug generator

The slug generator converts any title, heading or sentence into a URL-friendly slug — the short, hyphenated string you see at the end of a web address. It strips accents, removes punctuation, collapses spaces, and joins words with your chosen separator so the result is safe to use in a permalink, file name or database key.

Clean slugs are good for SEO and readability: how-to-bake-bread is friendlier thanHow To Bake Bread!. Choose a separator, optionally drop common stop words like "the" and "and", and cap the length to keep slugs concise.

Options

  • Separator — hyphen, underscore, dot or tilde.
  • Lowercase — force the whole slug to lower case.
  • Strip accents — turn café, naïve and résumé into cafe, naive and resume.
  • Remove stop words — drop filler words like a, the, and, of.
  • Max length — truncate the slug without leaving a trailing separator.

How to use the slug generator

  1. Paste your text

    Add a title, heading or any phrase into the input box.

  2. Tune the options

    Pick a separator and toggle lowercasing, stop-word removal, accent stripping and a max length.

  3. Copy the slug

    Your URL-friendly slug updates live — click Copy to use it anywhere.

Frequently asked questions

What is a URL slug?
A slug is the human-readable, URL-safe part of a web address that identifies a page, such as "how-to-bake-bread" in example.com/blog/how-to-bake-bread.
Does the slug generator handle accented characters?
Yes. With "Strip accents" on, characters like é, ñ and ü are converted to their plain equivalents before punctuation is removed.
Which separator should I use?
Hyphens are the most common and recommended choice for URL slugs. Underscores, dots and tildes are useful for file names or database keys.
Can I limit the slug length?
Yes. Enter a max length and the slug is truncated without leaving a trailing separator, keeping it clean.
Is the slug generator free?
Yes, it is completely free and runs entirely in your browser with no sign-up.

Other utilities