URL Slug Generator

Convert any title or phrase into a clean, SEO-friendly URL slug. Handles accents, punctuation, and special characters automatically. Updates live as you type.

Runs in your browser · No data sent anywhere
your-slug-will-appear-here
Copied!

What this tool does

  • Strips or replaces accented characters (é → e, ñ → n)
  • Removes punctuation and special characters
  • Collapses multiple spaces and separators
  • Converts to lowercase (optional)
  • Trims leading and trailing separators

Slug best practices

  • Use hyphens, not underscores (Google treats hyphens as word separators)
  • Keep slugs short — ideally 3–5 words
  • Include your main keyword
  • Avoid stop words (the, a, in, of) when possible
  • Never change a slug after a page is indexed

Frequently Asked Questions

What is a URL slug?

A URL slug is the part of a URL that identifies a specific page in a human-readable format. For example, in "example.com/blog/how-to-build-a-website", the slug is "how-to-build-a-website".

Why use hyphens instead of underscores?

Google treats hyphens as word separators, so "how-to-build" is read as three words. Underscores are not treated as separators, so "how_to_build" is read as one word. Hyphens are better for SEO.

Does capitalization matter in URLs?

Yes — URLs are case-sensitive on most servers. "Page" and "page" can be two different URLs. Always use lowercase slugs to avoid duplicate content issues.