Slug Generator
Convert any title or phrase into a clean, SEO-friendly URL slug. Handles spaces, accents, punctuation, and special characters. Copy the result in one click.
How to Use
What Makes a Good URL Slug?
A well-formed slug uses only lowercase letters, numbers, and hyphens. It should be short (under 60 characters), contain the main keyword of the page, and avoid stop words and filler phrases. Search engines read hyphens as word separators, so "best-seo-tips" is preferred over "best_seo_tips" or "bestseotips".
Worked Example
Frequently Asked Questions
What is a URL slug?
A URL slug is the human-readable part of a URL that identifies a specific page. For example, in "https://example.com/blog/how-to-write-a-slug", the slug is "how-to-write-a-slug". Slugs use lowercase letters, numbers, and hyphens — no spaces or special characters.
What characters are allowed in a URL slug?
URL slugs should only contain lowercase letters (a-z), numbers (0-9), and hyphens (-). Spaces, punctuation, accented characters, and symbols should be removed or converted. Good slugs are short, readable, and contain the main keyword of the page.
Should I use hyphens or underscores in slugs?
Use hyphens. Google treats hyphens as word separators, making each word individually searchable. Underscores join words together — "word_count" is read as one word, while "word-count" is two words. This affects how search engines index your page content.
How long should a URL slug be?
Keep slugs under 60 characters. Shorter slugs are cleaner and easier to share. Remove filler words like "a", "an", "the", "and" unless they are part of the main keyword phrase. The slug should contain the primary keyword of the page.
How are accented characters handled?
Accented characters (like e with accent, u with umlaut, n with tilde) are converted to their closest ASCII equivalents before generating the slug. This ensures the slug is URL-safe and readable across all systems and browsers.