Turn any title or phrase into a clean, URL-friendly slug. Handles accents, special characters, and spaces.
A URL slug is the human-readable, URL-safe part of a web address that identifies a specific page — for example, /tools/slug-generator. Good slugs are lowercase, use hyphens as word separators, contain only alphanumeric characters, and omit stop words and special characters.
This generator applies the following transformations in order: convert to lowercase, replace accented characters with ASCII equivalents (é → e, ü → u, ñ → n), remove all characters except letters, digits, spaces, and hyphens, replace spaces and underscores with hyphens, collapse multiple consecutive hyphens into one, and trim leading/trailing hyphens. For example, "Hello World! My Article #1" becomes hello-world-my-article-1. Slugs matter for SEO: descriptive, keyword-rich slugs help search engines understand page content and are more shareable. Avoid auto-generated numeric slugs (/post/12345) when possible — they carry no semantic value for users or crawlers.
A URL slug is the part of a URL that identifies a specific page in a readable way — typically the last segment after the final slash. For example, in 'tulzu.com/tools/slug-generator', the slug is 'slug-generator'. Slugs use only lowercase letters, numbers, and hyphens.
Descriptive slugs help search engines understand what a page is about, can improve click-through rates from search results (users see the URL in the snippet), and are more shareable. Pages with keyword-relevant slugs generally rank slightly better than those with numeric or auto-generated IDs.
Hyphens are strongly preferred. Google treats hyphens as word separators (so 'slug-generator' is read as 'slug generator'), while underscores are treated as connectors ('slug_generator' is read as 'sluggenerator'). All major web frameworks and CMS platforms default to hyphens.
Slugs retain only lowercase letters (a–z), digits (0–9), and hyphens. Everything else is removed or transformed: uppercase letters are lowercased, spaces become hyphens, accented characters are converted to their ASCII base (é → e), and all other special characters including punctuation are stripped.