Slug Generator — Convert a Title to a URL Slug
Paste a headline and get a clean, URL-safe slug. Accents are folded to plain ASCII, punctuation is dropped, and long titles are cut on a word boundary.
Stop words removed when the toggle is on: a, an, the, of, and, or, in, on, at, to, for. If a title is nothing but stop words, they are kept so the slug is never empty.
What is Slug Generator — Convert a Title to a URL Slug?
A URL slug is the part of a web address that names a single page in words a human can read, usually the last path segment: in example.com/blog/how-to-bake-bread the slug is how-to-bake-bread. Good slugs stay lowercase, separate words with hyphens, and use only unreserved ASCII characters so no browser or CMS has to percent-encode them. This generator folds accents to their base letters, drops punctuation and emoji, optionally removes English stop words such as the and of, and truncates on a word boundary so the result never ends in half a word.
How to use
- Type or paste a title in the left box; the slug appears on the right as you type.
- Choose hyphen or underscore, toggle lowercase and stop-word removal, and set a max length.
- Turn on batch mode to paste many titles at once and get one slug per line, then copy.
Frequently asked questions
What is a URL slug?
The readable segment of a URL that names one page, like url-slug-guide in example.com/blog/url-slug-guide. Lowercase, hyphen-separated, and free of characters that need percent-encoding.
How do accented characters become plain letters?
NFD normalization splits é into e plus a combining accent, then the combining marks in U+0300 to U+036F are stripped. Letters with no decomposition are mapped by hand, so ß becomes ss.
Should a slug use hyphens or underscores?
Hyphens. Google reads a hyphen as a word separator and an underscore as a joiner, so red-shoes ranks as two words while red_shoes reads as one token.
How long should a URL slug be?
Three to five words, around 50 to 60 characters. The max length setting cuts at the last whole word that fits, never mid-word.
Last updated
Powered by maratool