Tools

Home
Case ConverterWord CounterCharacter CounterFind & ReplaceSort ListRemove Empty Lines

URL Slug Generator

Convert any text into a clean, SEO-friendly URL slug instantly

Your files never leave your browser
Input: 0 chars | Slug: 0 chars
https://example.com/blog/

Examples

How to Build a Website in 2024!→how-to-build-a-website-in-2024
Les Misérables — A French Classic→les-miserables-a-french-classic
$100 Off!! Best Deal & Offer (2024)→100-off-best-deal-offer-2024
Café München — Über uns & Kontakt→cafe-munchen-uber-uns-kontakt
--Multiple Spaces && Symbols!@# →multiple-spaces-symbols

Paste a headline, pick your separator, and grab a clean slug — lowercase, no special characters, ready to drop into any CMS or routing config. Accented letters get transliterated automatically, so "café" becomes "cafe" without extra steps. And everything runs in your browser. Nothing gets uploaded.

How It Works

Paste Text
→
Strip & Transliterate
→
Clean Slug

The generator takes your raw text, converts it to lowercase, and transliterates any accented or non-ASCII characters into their closest plain-letter equivalents. Then it strips out everything that isn't a letter or number, collapses multiple separators into one, and trims leading/trailing hyphens. The result updates live as you type.

Examples

Blog Post Title with Special Characters

You're publishing a recipe post and need a clean permalink.

INPUT
Grandma's Café-Style Crème Brûlée (Easy!)
OUTPUT
grandmas-cafe-style-creme-brulee-easy

Product Page with Brand Name & Model Number

An e-commerce team adding a new SKU page. The title has ampersands, trademark symbols, and mixed case.

INPUT
Sony WH-1000XM5™ — Noise Cancelling Headphones (Black)
OUTPUT
sony-wh-1000xm5-noise-cancelling-headphones-black

Multilingual Page Title

A travel site writing city guides in English but with local place names left intact.

INPUT
München & Zürich: Best Straßenbahn Routes 2026
OUTPUT
munchen-zurich-best-strassenbahn-routes-2026

Who Uses This

👩‍💻 Web Developers

Generating route paths and permalink patterns for CMS entries or API endpoints.

✍️ Bloggers & Writers

Turning article headlines into readable URLs before publishing on WordPress or Ghost.

📈 SEO Specialists

Crafting keyword-rich slugs for landing pages and checking slug length before going live.

🛒 E-Commerce Managers

Creating consistent product page URLs across hundreds of SKUs with special characters in their names.

Common Mistakes

Leaving stop words in short slugs

A slug like "a-guide-to-the-best-coffee-in-the-city" is bloated. Cut the filler — "best-coffee-city" says the same thing and ranks just as well. Shorter slugs are easier to share and remember.

Changing slugs after the page is indexed

If Google already knows your page at one URL and you swap the slug, you lose rankings unless you set up a 301 redirect. Get it right before publishing — that is the whole point of previewing here first.

Using underscores instead of hyphens

Google treats hyphens as word separators but underscores as joiners. "best_coffee_shops" is read as one long word by search engines. Stick with hyphens unless your framework specifically requires underscores.

Technical Details

Frequently Asked Questions

What is a URL slug?

It's the readable part at the end of a URL — like "best-pizza-nyc" in example.com/blog/best-pizza-nyc. Slugs replace spaces with hyphens, drop special characters, and stick to lowercase. They make links both human-readable and search-engine-friendly.

Do URL slugs affect SEO?

Yes, but probably less than you think. A descriptive slug gives Google a small relevance signal and helps users decide whether to click in search results. The bigger win is readability — clean URLs get shared more and look trustworthy. Don't stuff keywords; just describe the page honestly.

How long should a URL slug be?

Aim for 3 to 5 words — roughly 50 to 60 characters. Google shows about 60 to 70 characters of a URL in search results before it truncates. If your title is long, drop filler words like "the," "a," and "of" to keep it tight.

Should I use hyphens or underscores in URLs?

Hyphens, almost always. Google treats hyphens as word separators, so "best-coffee" registers as two words. Underscores get treated as joiners — "best_coffee" reads as one word to the crawler. The only exception is if your tech stack demands underscores for routing, but even then, most frameworks let you customize it.

Can I change a URL slug after publishing?

You can, but you will break the old link unless you add a 301 redirect from the old URL to the new one. Any backlinks, bookmarks, or social shares pointing to the original slug will hit a 404 without that redirect. If the page already ranks well, think hard before changing it.

Share: