How to use the URL slug generator
- Paste your page or blog title. You can paste many titles, one per line.
- Keep the hyphen separator (Google recommends hyphens) and set a maximum length.
- Leave Remove small words on for shorter slugs.
- Copy your slug and paste it into the URL or permalink field in WordPress, Shopify or your CMS.
What is a URL slug?
The slug is the part of a URL after your domain that identifies the page. In bilalkhizri.com/tools/roas-calculator/, the slug is roas-calculator. A good slug tells both visitors and Google what the page is about before they even click.
What makes a good, SEO-friendly slug?
- Short and readable: 3 to 5 words is ideal.
- Includes your main keyword: for example emergency-dentist-london.
- Lowercase with hyphens: no spaces, capitals or underscores.
- No dates or numbers that will go out of date: best-seo-tips lasts longer than best-seo-tips-2026.
- No special characters like ? & % or emojis.
Should you change existing URLs?
Only if the old URL is really bad. Changing a URL that already ranks can lose traffic. If you do change it, add a 301 redirect from the old address to the new one with our .htaccess Redirect Generator or a redirect plugin.
Frequently Asked Questions
Should I use hyphens or underscores in URLs?
Use hyphens. Google treats hyphens as spaces between words, but underscores can join words together.
How long should a URL slug be?
Keep it short: around 3 to 5 words or under 60 characters, including your main keyword.
Should I remove stop words from slugs?
Usually yes. Removing words like “the”, “and” and “of” makes slugs shorter and cleaner without losing meaning.
Does the slug affect SEO?
A clear, keyword-rich slug is a small ranking signal and helps people trust and click your link.