RewritePal

Free URL Slug Generator

Convert any title or phrase into a clean, SEO-friendly URL slug instantly.

A URL slug is the human-readable part of a web address — like how-to-write-a-blog-post in example.com/blog/how-to-write-a-blog-post. Good slugs are short, lowercase, hyphen-separated, and keyword-rich. This generator converts any title or phrase into a clean, SEO-friendly slug instantly.

  • ✓ Hyphen (-) or underscore (_) separator
  • ✓ Strips accents and special characters
  • ✓ Lowercase conversion
  • ✓ Collapses multiple spaces/separators
  • ✓ Instant copy to clipboard
  • ✓ Works for any language input
Separator:

How to Generate a URL Slug

  1. Enter your title or headline in the input field above.
  2. Choose a separator — hyphen (-) is recommended for SEO; underscore (_) for some coding conventions.
  3. Copy the slug and paste it into your CMS, blog platform, or URL field.

When You Need a Slug Generator

  • Blog posts and articles — create SEO-friendly permalinks before publishing.
  • E-commerce product pages — clean URLs improve click-through rates from search results.
  • CMS and website builds — WordPress, Ghost, and Webflow all use slugs for page URLs.
  • API routes and file names — convert human-readable names to URL-safe identifiers.

Related guides

Frequently Asked Questions

What is a URL slug?
A slug is the human-readable part of a URL after the domain. Good slugs are short, lowercase, and hyphen-separated.
Should I use hyphens or underscores in slugs?
Google recommends hyphens. They are treated as word separators, which improves keyword recognition in search results.
Does it handle accented characters?
Yes. Accented letters are normalized to their ASCII equivalent (é → e) and non-URL-safe characters are removed.
How long should a URL slug be?
Keep slugs under 60 characters. Shorter slugs are easier to share, remember, and rank well in search. Remove stop words (a, the, and, of) that add length without SEO value.
Is the slug generator free?
Yes, free with no account required. Generate as many slugs as you need.