Slug Generator
Turn any title, heading, or phrase into a clean, SEO-friendly URL slug. Strips accents, removes special characters, and supports hyphen or underscore separators.
Your Text
Paste or type a title, then choose your options.
Options
Your slug will appear here
Type or paste a title on the left to generate a URL slug.
What Makes a Good URL Slug?
Best practices for clean, SEO-friendly slugs
Search engines read URL slugs as ranking signals. Aim for 3–5 meaningful words that describe the page content. Avoid stop words like "a", "the", and "of" where possible.
Google treats hyphens as word separators in URLs, but treats underscores as joining characters. Use hyphens (-) for most web slugs to ensure words are indexed individually.
Accented characters like é, ü, or ñ get percent-encoded in URLs, making them unreadable. This tool normalises accents to their ASCII equivalents so your slugs stay clean in any browser.
When generating slugs for filenames, database fields, or template keys rather than public URLs, underscores are the conventional choice (e.g. blog_post_title).
All processing happens in your browser. Your text is never sent to any server — it stays completely private on your device.
Common Questions
What is a URL slug?
example.com/blog/my-first-post, the slug is my-first-post. Good slugs are lowercase, use hyphens as separators, and contain only the most relevant words.
Should I use hyphens or underscores in slugs?
my_post may be indexed as a single word "mypost". Use underscores only when generating slugs for internal identifiers, filenames, or database keys.