Slug Generator

Type a title to get a URL-safe slug: lowercase letters, digits and hyphens. Accents are stripped (café becomes cafe), & maps to “and”, and any other run outside a–z and 0–9 collapses to one separator. Non-Latin scripts have no ASCII base form and are dropped. Generation is live in this tab.

Slug

uber-cool-10-tips-and-tricks-for-faster-builds

46 charactersGenerated on this device

Runs in this tab · nothing is uploaded · Verify in 10 seconds →

What the Slug Generator does

A slug is the URL-safe version of a title: lowercase letters, digits and a separator, nothing else. Search engines and readers both prefer /10-tips-and-tricks over /10%20Tips%20%26%20Tricks!. This tool generates the slug live as you type.

How the Slug Generator works

The text is Unicode-normalized (NFKD) so accented letters split into base letter plus combining mark, the marks are stripped (é becomes e), symbols like & become words (and), everything is lowercased, and any run of characters outside a–z and 0–9 collapses into a single separator. An optional max length truncates at a word boundary. All in this tab.

~/faq

Frequently asked questions

What happens to accents and non-Latin characters?

Accented Latin letters lose their accent: café becomes cafe, über becomes uber. Characters with no Latin base form (Chinese, Arabic, emoji) have no ASCII equivalent and are dropped, so check the result for non-Latin titles.

Hyphens or underscores?

Hyphens. Google treats hyphens as word separators but treats underscores as word joiners, so ten-tips is indexed as two words while ten_tips is one token. Use underscores only when a system requires them.

How long should a slug be?

There is no hard limit, but 3–6 meaningful words is typical. The max length option truncates at a word boundary so you never end mid-word.

Why did my & turn into “and”?

Ampersands carry meaning readers expect to survive, so & maps to the word and (similarly @ to at). Punctuation with no word equivalent is simply removed.