Skip to content

Slug Generator

Turn any title into a clean, URL-safe slug.

LOCAL WORKSPACENO UPLOAD REQUIRED
Separator

Type a title above to see its URL slug.

About Slug Generator

A slug is the human-readable part of a URL. Good slugs are short, lowercase, hyphen-separated and free of punctuation, which makes them easy to read, share and index.

This generator optionally lowercases your title, removes decomposable accents, replaces punctuation and emoji with separators, and can drop common English stop words or limit length. Non-Latin letters remain; check uniqueness and URL encoding in the system where you publish.

How Slug Generator works in your browser

The title is lowercased, accented characters are transliterated to their closest ASCII equivalents, punctuation and emoji are stripped, and runs of whitespace become a single separator. Stop-word removal and a maximum length are optional.

Hyphens are the recommended separator because search engines treat them as word boundaries, whereas underscores join words together.

When to use it

  • Creating URL slugs for blog posts or product pages.
  • Generating file names from titles that contain accents or punctuation.
  • Making consistent anchor IDs for headings.

Worked examples

Make a readable article path

Settings: Hyphen; Lowercase enabled; Drop stop words disabled; Maximum length unlimited

Input

Café Notes: A Fresh Start!

Expected output

cafe-notes-a-fresh-start

Decomposable accents are removed, punctuation becomes a separator and the words are lowercased. Paste one title per line to build multiple slugs, then use Copy all.

Remove common English stop words

Settings: Hyphen; Lowercase and Drop stop words enabled; Maximum length unlimited

Input

A Guide to the Moon

Expected output

guide-moon

The optional English stop-word list removes a, to and the. It is off by default because those words can help a title remain understandable. Removing words does not guarantee better rankings.

Limits and checks before you use the result

  • This is not full transliteration to ASCII. Non-Latin letters and characters such as ł remain; your application must encode the URL path correctly.
  • Different titles can produce the same slug. Check uniqueness in your CMS or database and add a stable suffix when necessary.
  • Maximum length can shorten the final word or a long first word. Review the result before publishing. Changing an existing URL also requires a redirect from the old address.

Frequently asked questions

What happens to accented characters?

Unicode decomposition removes many combining accents, so é becomes e. This is not full ASCII transliteration: non-Latin letters and some letters such as ł remain.

Are stop words removed?

Only if you turn that option on. It shortens slugs but can hurt readability, so it is off by default.

Which separator should I use?

Hyphens. Search engines treat hyphens as word separators and underscores as word joiners.

Related tools