Slug Generator
Turn any title into a clean URL slug — Chinese is transliterated to pinyin, accents are stripped and stopwords can be removed.
🔒 Runs in your browser — files never leave your deviceFree · No sign-up
Title or text
Slug
0Length
0Segments
Options
Batch — one title per line
How to generate a URL slug
- Paste a page title into the box — the slug is generated instantly.
- Pick a separator, decide whether to lowercase, strip English stopwords or shorten the slug to a maximum length.
- For Chinese titles choose how to romanise them — full pinyin, pinyin with words joined, or just first letters — then copy the slug into your CMS.
FAQ
Why convert Chinese titles to pinyin at all?
A URL with Chinese characters is percent-encoded the moment it is shared, turning a short link into an unreadable string. Pinyin slugs stay readable, are easy to type and survive copy-and-paste everywhere.
How long should a slug be?
Three to six meaningful words is a good target. The max-length option cuts on a separator boundary so a slug is never truncated in the middle of a word.
What do stopwords do to SEO?
Removing words like the, a and of makes the slug shorter and puts the meaningful keywords first. It is optional — keep them if the title reads oddly without them.