What is a URL Slug?
A URL slug is the part of a URL that identifies a specific page in a human-readable form. For example, the slug for a blog post titled "Hello World!" might be hello-world. Slugs are lowercase, contain only letters, numbers, and separators (usually hyphens), and have no special characters or spaces.
How to Create a Good Slug
- Keep it short and descriptive.
- Use hyphens as separators — they are preferred by search engines over underscores.
- Remove stop words like "a", "the", "and" for cleaner URLs.
- Use lowercase only — URLs are case-sensitive on most servers.
- Avoid special characters and accented letters — this tool converts them automatically.
Separator Options
Hyphen (-) — Most common. Preferred by Google. Used by WordPress, Ghost, and most modern CMSs.
Underscore (_) — Used in some systems and programming conventions. Google treats it as a word joiner, not a separator.
Dot (.) — Less common, but used in some legacy CMS systems and file paths.