URL Slug Generator
Turn article titles into clean, SEO-friendly URL slugs — pinyin transliteration for Chinese, stopword removal for English, all in real time
Frequently asked questions
What is a URL slug and why does it matter?
A slug is the part of a URL that identifies a page, like the how-to-write-a-slug in example.com/blog/how-to-write-a-slug. Search engines and readers both read slugs, so a clear, lowercase, hyphenated slug — instead of an ID or a string of random characters — improves usability and SEO.
How does pinyin mode work?
Each Chinese character is mapped to its most common pinyin syllable with no tone marks, and syllables are joined with hyphens — 人工智能 becomes ren-gong-zhi-neng. The table covers the most common ~3,500 characters; rare characters are kept as-is. For polyphonic characters (like 行), the most frequent reading is used, which is right for most titles.
Should I keep Chinese characters in my URL or use pinyin?
It depends on your site: Google can read Chinese characters in URLs, and Chinese-language sites often keep them for clarity. Many mixed-language sites use pinyin for Latin-friendly links. Try both modes and pick the one your CMS accepts and your audience prefers.
Transformation pipeline
- Unicode fold — é→e, ü→u via NFD decomposition; Cyrillic/Greek transliterate phonetically; CJK passes through with a warning to prefer English slugs.
- Stop-word trim — filler words drop from middle positions but stay when leading.
- Dedup & length — repeated dashes collapse; soft guidance keeps slugs within ~60 characters while readable.
- Reserved safety — special URL characters encode instead of emitting broken hrefs.
Slugs that read well in search results
Transliteration for accented text, stop-word trimming and length guidance — because URLs are snippet UI, not just addresses.
Two modes for Chinese titles
CJK titles can become pinyin syllables (人工智能 → ren-gong-zhi-neng) or keep the characters verbatim (人工智能 → 人工智能) — pick the style your site uses.
SEO-aware cleanup
English stopwords (a, the, of…) are removed when you want them gone, long slugs get a warning, and the output is lowercase with hyphens — the format search engines and CMSs expect.
CJK & pinyin friendly
The slug updates as you type, with zero uploads: the whole conversion runs in your browser, so titles never leave your device.
Related tools
What is a URL Slug?
A slug is the part of a URL that identifies a page — like the how-to-write-a-slug in example.com/blog/how-to-write-a-slug. Search engines and readers both read slugs, so a clear, lowercase, hyphenated slug (instead of an ID or a string of random characters) improves usability and SEO. Try it yourself: paste a blog headline, an article draft or a product name.
What this tool does
- 🔗 A ready-to-use slug: lowercase, punctuation removed, spaces turned into hyphens
- 🇨🇳 Two modes for Chinese titles — pinyin syllables or keeping the characters as-is
- ✂️ English stopwords (a, the, of…) removed when you want them gone
- 📏 A warning when the slug gets too long
When to use it
- Before publishing a blog post, to design the URL yourself
- When migrating or renaming articles, to generate consistent slugs
- For multilingual sites with Chinese titles that use pinyin-based paths
Privacy: your title never leaves the browser. The whole conversion runs locally on your device.
Related tools
Meta Tags Generator
Title, description, keywords, canonical and robots meta tags with a live Google search preview
SERP Previewer
See exactly how your title and description look in Google results — with pixel-accurate truncation warnings.
UTM Link Generator
Build clean, correctly-encoded campaign links in seconds — with one-tap presets for Facebook Ads, Google Ads and more.