Slug generator
Turn any title or phrase into a clean, URL-friendly slug. Handles accents, special characters, and spaces.
How slug generation works
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.