Slug Generator

Type a title or phrase and get a clean URL slug in real time. Customize the separator, trim to a max length, and strip common stop words.

Separator
Slug

Advertisement

Frequently Asked Questions

What is a URL slug?

A slug is the part of a URL that identifies a specific page in a human-readable form — for example, the "url-slug" in "https://example.com/url-slug". Slugs are lowercase, use hyphens instead of spaces, and avoid special characters.

Should I use hyphens or underscores in slugs?

Google recommends hyphens (-) over underscores (_) for word separators in URLs, as hyphens are treated as word separators by search engines while underscores join words together. Use hyphens unless your platform requires underscores.

What are stop words?

Stop words are common words (like "the", "a", "and") that add little meaning to a URL. Removing them keeps slugs short and focused. For example, "the-quick-brown-fox" might become "quick-brown-fox" with stop word removal.

What happens to accented characters like é or ü?

Accented characters are converted to their ASCII equivalents using Unicode normalization — é becomes e, ü becomes u, and so on. Characters with no ASCII equivalent are removed.