What is Slug?
A slug is the human-readable, URL-friendly part of a web address that identifies a page — for example "my-first-post" in /blog/my-first-post. Slugs are lowercase, use hyphens instead of spaces, and strip special characters.
Good slugs improve readability and SEO. They are typically generated from a title by lowercasing, removing accents, and replacing non-alphanumeric characters with hyphens.
Key points
- Lowercase, hyphen-separated, and stripped of special characters.
- Generated from a title for clean, readable URLs.
- Improves readability and SEO.
- Should be unique within its context.
Example
"My First Post!" → my-first-post
Common uses
- Blog post and article URLs
- Product and category page paths
- Anchor and section IDs
- Human-friendly identifiers
Work with Slug directly in your browser.
Open the Slug Generator