All tools
WordPress tools

Slug Generator

Convert any title — including accents, emojis and special characters — to the exact URL slug WordPress would generate using its sanitize_title() logic.

Accents → ASCII Emojis stripped Special chars removed Lowercase Hyphens collapsed One-click copy
Get started free Sign in

Free · No credit card · 50 credits/day

Transformation examples

Input title Generated slug Rule applied
Hello World! hello-world Lowercase + punctuation stripped
Über den Dächern uber-den-dachern Accents converted to ASCII
Blog Post #5 — Tips blog-post-5-tips Special chars (#, em dash) removed
Multiple Spaces multiple-spaces Leading/trailing stripped, runs collapsed
SEO & WordPress (2024) seo-wordpress-2024 Ampersand and parentheses removed
Café au lait 🍵 cafe-au-lait Accent converted, emoji stripped

Frequently asked questions

What is a WordPress slug?

The URL-friendly version of a post, page, category or tag name. Appears in the URL after the domain (e.g., example.com/hello-world/). Slugs are lowercase, contain only letters/numbers/hyphens, and have special characters removed or replaced. WordPress generates them automatically via sanitize_title().

How does WordPress handle accented characters in slugs?

WordPress converts accents to ASCII via remove_accents(): é→e, ñ→n, ü→u, ç→c, ø→o, ß→ss, ä→a, ö→o. So "Über den Dächern" becomes "uber-den-dachern". Characters with no ASCII equivalent (Chinese, Japanese, Arabic) are encoded by default — plugins like Polylang can preserve originals for multilingual sites.

Should I edit WordPress slugs for SEO?

Yes — short, keyword-focused slugs perform better. Best practices: remove stop words (a, an, the, and, or, in, on, to, for, is, are); keep under 5 words / 60 characters; use your primary keyword; avoid dates unless time-specific; use hyphens not underscores. Example: "how-to-speed-up-wordpress" beats the auto-generated "how-to-speed-up-your-wordpress-website-in-2024".

What happens if I change a WordPress slug after publishing?

WordPress automatically creates a 301 redirect from the old slug to the new one. External links still work via the redirect. However: you split any link equity; there's a small DB overhead; internal links need manual updating. Best practice: set the correct slug before publishing. If you change it post-publish: update internal links, submit to Google Search Console, check for broken links.

Related WordPress tools

More tools for WordPress content and SEO.

Robots.txt Generator

Generate a WordPress-optimized robots.txt with sitemap support.

AI Excerpt Generator

Generate SEO-optimized WordPress post excerpts with AI.

Child Theme Generator

Use the slug generator to name your child theme correctly.

Get the exact WordPress slug every time

Free account. 50 credits per day. Access to 75+ tools instantly.

Create free account →