Slug Generator

Paste a title, get a clean URL slug — lowercased, hyphenated, accents stripped. Live as you type.

How to use

  1. Paste your article or page title — the slug updates live.
  2. Accented characters are transliterated (é→e, ü→u), everything lowercases, spaces and punctuation become hyphens, runs of hyphens collapse to one.
  3. Turn on Remove stopwords for tighter slugs: "the art of code" → "art-code".

Frequently asked questions

What is a URL slug?

A slug is the human-readable part of a URL that identifies a page: in usedevutils.com/regex-cheat-sheet, the slug is regex-cheat-sheet. Good slugs are lowercase, hyphen-separated, free of accents and special characters, and short enough to read at a glance.

Hyphens or underscores in slugs?

Hyphens. Google treats hyphens as word separators but historically did not treat underscores the same way. Hyphenated slugs also wrap more cleanly and are the convention across most CMSs — WordPress, Ghost, Hugo and Next.js all default to hyphens.

How long should a slug be?

3-6 words is the sweet spot: enough keywords for relevance, short enough that the URL stays readable in search results. Cut filler words like a, the, of — this tool's stopword option does it automatically.

Related tools

Copied