What a slug is
A slug is the human-readable part of a URL that identifies a page. /blog/how-to-bake-bread is more memorable, more search-friendly, and more shareable than /blog/post/4823. Search engines also use words in the URL as a minor ranking signal. Good slugs are short, lowercase, hyphen-separated, ASCII, and free of stop words.
How the generator builds your slug
- Lowercases (or uppercases) the input as a single step.
- Strips accents — café becomes cafe.
- Removes punctuation and special characters.
- Replaces whitespace with the chosen separator (hyphen or underscore).
- Collapses consecutive separators into one.
- Trims to a maximum length if set, breaking at a word boundary when possible.
Best practices
Prefer hyphens to underscores. Google treats hyphens as word separators and underscores as joiners, so my-best-recipe is two queryable words but my_best_recipe is one. Keep slugs under 60 characters when possible. Drop filler words like "the" and "and" if the meaning survives. Once a page is published, do not change its slug without setting up a 301 redirect — old links and shares will break otherwise.