URL Slug Generator
A URL slug is the readable part of a web address that identifies a page, like compress-pdf-guide in example.com/compress-pdf-guide/. This generator turns a title into a clean slug of lowercase words separated by hyphens.
Generate a slug
Slug Generator
Create clean, SEO-friendly URL slugs from any title or text.
How to use it
- Paste a title or phrase.
- Choose whether to remove common stop words and convert to lowercase.
- Select Generate Slug, check the URL preview, and copy the slug.
Accents are converted to plain letters (crème brûlée → creme-brulee), punctuation is removed, and “&” becomes “and”.
Good slug practice
- Short and descriptive:
/image-compressor/beats/free-online-best-image-compressor-tool-2026/. - Use hyphens, not underscores or spaces.
- Leave out dates unless the page is genuinely date-specific, so the URL doesn’t age.
- Changing the slug of a published page changes its URL. Set up a 301 redirect from the old address.
Text in non-Latin scripts (for example Urdu or Arabic) is kept as Unicode, which browsers support. Some teams prefer a transliterated English slug instead.
Examples
| Title | Slug |
|---|---|
| How to Compress Images & PDFs (2026 Guide) | how-to-compress-images-and-pdfs-2026-guide |
| The 10 Best Ways to Save Money on Groceries | best-ways-save-money-groceries (stop words removed) |
| Crème Brûlée Recipe | creme-brulee-recipe |
| Straße und Smørrebrød | strasse-und-smorrebrod |
Slugs are capped at 120 characters, and shorter is usually better.
Changing a slug on a live site
In WordPress, editing a published page’s slug changes its URL. WordPress may redirect the old address automatically for posts, but don’t rely on it: add a 301 redirect (many SEO plugins include a redirect manager), update internal links, and check the new URL in your sitemap.
Frequently asked questions
Often yes, if the slug stays readable. Keep them when removing them changes the meaning.
They work, but URLs can be case-sensitive, so lowercase avoids duplicate addresses.
Not necessarily. A short slug that describes the page clearly is enough; stuffing extra keywords into a URL doesn’t help users.
Related tools
- Meta Tag GeneratorDraft an SEO title and meta description with live length counts.
- Canonical Tag GeneratorCreate a rel=canonical link tag and catch tracking parameters.
- UTM BuilderAdd utm_source, utm_medium and utm_campaign tags to a link.
- SERP Snippet PreviewPreview how a title and description may look in Google on desktop and mobile.