Skip to main content

Slug Generator – Turn Titles into URL-Friendly Slugs Online

Generate URL slugs free online: detects Chinese, Japanese, Korean, Arabic and Russian and transliterates them to Latin, 13-language stop word filtering, batch CSV export.

Runs on your device — nothing is uploaded

Separator
Case
Input Text chars
Generated Slug characters

Type or paste text above to generate a URL slug

characters

A blog publishing posts, a product building detail pages, a media library naming uploads — every URL needs a slug that is stable, readable, and contains only safe characters. English titles are easy; Chinese titles are the hard part: browsers handle CJK characters in URLs inconsistently, and simply deleting them leaves an empty string.

This tool turns titles in any language into Latin-letter slugs: Chinese via pinyin, Arabic and Cyrillic via transliteration tables, Japanese and Korean via their romanizations — all in real time in the browser, with batch mode and export.

How to generate

Enter titles

One line gives an instant result; several lines become a batch — one title per line, with the matching slug on the right, line by line.

Tune the parameters

Separator, five choices (- _ . ~ +); case, three choices (all lowercase / Title Case / as-is); stop word filtering on by default; max length defaults to 80 (on overflow it truncates at the nearest separator, never mid-word).

Copy or export

Copy a single slug, or export the batch as CSV / JSON (two columns, original and slug), ready to feed into a site builder or a script.

How multilingual titles become Latin slugs

When a non-English title arrives, the tool runs a fixed pipeline, each step with an explicit basis:

Step What it does Basis
Language detection Counts characters in the CJK, Arabic and Cyrillic blocks, kana decides Japanese first Unicode blocks (CJK ideographs 4E00–9FFF, kana 3040–30FF, etc.)
Transliteration Chinese goes by pinyin; Arabic by its table (ث→th, خ→kh…); Cyrillic by Russian convention (ж→zh, щ→shch…) Per-character mapping tables
Stop word filtering A stop word list for each of 13 languages (的/了/is/the/der/le…) In a slug these words occupy space but carry no information
Normalization Unsafe characters removed, joined with the chosen separator, boundary truncation, leading and trailing separators trimmed RFC 3986 unreserved characters

The stop word filter deserves a word: 如何在家做出好咖啡 transliterated raw is a long string of pinyin; after filtering the function words like 如何/的/出, every syllable that remains carries real meaning — the slug is shorter and denser in information. Turn it off if you want the full pinyin.

Never change a slug once it is published — it is the anchor external links point at; changing it invalidates every old link. So spend ten extra seconds before going live confirming that the separator style, case and length limit match your system's conventions, instead of adjusting after publication.

Frequently asked questions

What does a Chinese title produce?

A pinyin slug: 如何在家做咖啡 → ru-he-zai-jia-zuo-ka-fei (shorter with stop word filtering). Pinyin keeps the "you can pronounce it" readability — friendlier to users and SEO than meaningless identifiers like post-123.

Japanese and Chinese both use kanji — how do you tell them apart?

Detection looks at kana first: if kana appears, the text is judged Japanese and processed as such; pure ideographs go down the Chinese path by the detected language. That is the conclusion of per-character counting, not a guess.

Can it handle Arabic or Russian titles?

Yes, via their own transliteration tables — Arabic ث→th, خ→kh, Cyrillic ж→zh, щ→shch, all established Latin transliteration schemes. Transliteration is strictly "one character to one Latin string" and carries no semantic translation.

Does truncation cut a word in half?

No. Past the max length it truncates at the nearest separator, keeping every word whole; only when there is no separator to lean on does it cut hard. The default of 80 covers the slug length limits of most CMSes.

Can you guarantee slugs are unique site-wide?

No — a slug generator only does normalization; uniqueness is your site system's job (appending a number or a date to same-titled posts is the usual fix). The batch-exported CSV pairs originals with slugs, exactly what you need for de-duplication in your system.

Are my titles uploaded?

No. Detection, transliteration and generation all happen in the page, and the batch export file is generated locally and downloaded directly.