About this tool
Convert Chinese characters to Hanyu Pinyin: tone marks by default (中国 → zhōng guó), or tone numbers (zhong1 guo2) or no tones. You can also show pinyin above the characters, keep only the first letters, or write names as Zhang San and Wang Xiaoming. Characters with several readings are read from the word, and you can click one to see and choose another. Everything runs in your browser, up to 20,000 characters at a time.
Typical uses
- Read a Chinese sentence while learning Mandarin and see the tone of each character
- Make pinyin-annotated worksheets for texts, poems or flashcards
- Write a list of Chinese names in pinyin for certificates, badges or accounts
- Make first-letter codes for products, contacts or spreadsheets (such as zhrmghg)
How to use
Paste or type Chinese; the pinyin updates as you type. Choose tone marks, tone numbers or no tones, and whether syllables are separated by spaces.
If needed, switch to first letters, sentence capitals or name format, turn on “Show pinyin above the characters” to check heteronyms, then copy the result or download a TXT file.
Up to 20,000 characters at a time. Readings of heteronyms come from the word and can still be wrong; click a character with a dotted underline to choose another. Original tones are shown by default (yī gè); you can mark the tone changes of 一 and 不. The dictionary loads in your browser and your text is not uploaded.
Characters with several readings (多音字)
Many common Chinese characters have more than one reading, and the right one depends on the word. This tool looks readings up word by word before falling back to single characters, so everyday words like the ones below come out right. Every pinyin in the table is the tool’s actual output.
| Word | Pinyin | Contrast word | Pinyin |
|---|---|---|---|
| 银行 | yín háng | 行走 | xíng zǒu |
| 重庆 | chóng qìng | 重量 | zhòng liàng |
| 长大 | zhǎng dà | 长度 | cháng dù |
| 音乐 | yīn yuè | 快乐 | kuài lè |
Combinations and contexts the dictionary does not cover can still be misread. For 慢慢地 (“slowly”) the tool gives màn màn dì, but 地 is the adverbial particle here and should be read de. 朝阳 gives cháo yáng, which is right for the Chaoyang district of Beijing but not for “the morning sun”, zhāoyáng. Names are another weak spot: 曾国藩 comes out as ceng guo fan in normal mode but as Zeng Guofan with “Names: surname and given name (Zhang Sanfeng)”, which uses surname readings.
Turn on “Show pinyin above the characters” and characters with more than one reading get a dotted underline. Click one to see every reading and pick another; the result and the downloaded TXT update straight away, and the tool’s own choice is marked “(automatic)”.
Which letter carries the tone mark
The Scheme for the Chinese Phonetic Alphabet (汉语拼音方案, approved by the National People’s Congress in 1958) puts the tone mark on the main vowel of the syllable, and the neutral tone is left unmarked. In practice: mark a if there is one; otherwise o or e; in iu and ui, mark the second letter.
| Character | Pinyin | Marked letter | Tone number | No tone |
|---|---|---|---|---|
| 好 | hǎo | a | hao3 | hao |
| 爱 | ài | a | ai4 | ai |
| 学 | xué | e | xue2 | xue |
| 楼 | lóu | o | lou2 | lou |
| 刘 | liú | u | liu2 | liu |
| 水 | shuǐ | i | shui3 | shui |
| 对 | duì | i | dui4 | dui |
| 女 | nǚ | ü | nü3 | nü |
| 吗 | ma | (neutral, unmarked) | ma0 | ma |
With “Tone numbers (zhong1)” the tool writes the neutral tone as 0, so 我们 (“we”) is wo3 men0. Some dictionaries and course materials use 5 instead; a batch replace can change it if you need that.
Writing ü, and v in input methods
Under the 1958 scheme, ü after j, q and x is written ju, qu, xu without the dots, and on its own as yu. Only after n and l are the dots kept: nü, lü, as in 女 (woman) and 绿 (green). Keyboards have no ü, so Chinese input methods type it as v, which is why codes and file names often show lv and nv.
| Character | Tone marks | No tones | With “Write ü as v (lv, nv)” | Tone numbers + v |
|---|---|---|---|---|
| 女 | nǚ | nü | nv | nv3 |
| 绿 | lǜ | lü | lv | lv4 |
| 略 | lüè | lüe | lve | lve4 |
| 去 | qù | qu | qu | qu4 |
| 鱼 | yú | yu | yu | yu2 |
| 居 | jū | ju | ju | ju1 |
Writing ü as v is available with tone numbers or no tones only: there is no v equivalent of the marked ǚ and ǜ.
Spacing, the apostrophe and capitals
China’s orthography standard GB/T 16159-2012 makes the word the unit of writing: syllables of one word are joined, words are separated, and the first letter of a sentence and of a proper noun is capitalised. This tool does not split text into words, so it offers two simpler choices. “Separate with spaces” puts a space between every syllable, which suits annotation and teaching; “No spaces (joined)” runs syllables together, which suits user names and file names. Text that must follow word-by-word joining still needs a manual pass.
- The apostrophe: when a syllable starting with a, o or e follows another syllable, the boundary can be ambiguous, so an apostrophe (') is added. The tool adds it when joining: 西安 Xi’an → xī'ān (not 先 xiān), 皮袄 → pí'ǎo, 天安门 → tian'anmen. Tone numbers already separate syllables, so none is added there.
- Pinyin normally shows the original tone, not the tone change in speech, so 一个不对 comes out as yī gè bù duì by default. For reading aloud or pronunciation teaching, tick “Mark the tone changes of 一 and 不 (yí gè)” to get yí gè bú duì (一 and 不 take the second tone before a fourth tone).
- “Capitalize each sentence” capitalises the first syllable of each sentence: 我爱北京。你呢? → Wo ai bei jing。Ni ne?. For personal names, use “Names: surname and given name (Zhang Sanfeng)”.
Writing Chinese names in pinyin
GB/T 28039-2011, the national rule for Chinese personal names in pinyin, writes the surname first and the given name second as two words; a compound surname is one word, a two-character given name is one word, and both start with a capital. Choose “Names: surname and given name (Zhang Sanfeng)” under Capitalization and each run of Chinese characters is written this way, using surname readings.
| Name | With tones | Without tones |
|---|---|---|
| 张三 | Zhāng Sān | Zhang San |
| 王小明 | Wáng Xiǎomíng | Wang Xiaoming |
| 欧阳修 | Ōuyáng Xiū | Ouyang Xiu |
| 司马相如 | Sīmǎ Xiāngrú | Sima Xiangru |
| 王建安 | Wáng Jiàn'ān | Wang Jian'an |
| 曾国藩 | Zēng Guófān | Zeng Guofan |
| 单雄信 | Shàn Xióngxìn | Shan Xiongxin |
曾国藩 and 单雄信 show why surname readings matter. Rare surnames, names of ethnic minorities and Chinese renderings of foreign names do not always follow pinyin spelling; parts of a name separated by “·” are capitalised separately. On passports and visas the issuing authority’s spelling is what counts, so treat the result as a guide.
First letters: abbreviations and lookup codes
“First letters only (zhrm)” keeps only the first letter of each syllable. It is commonly used for product and medicine lookup codes, contact-list search keys and pinyin abbreviation columns in spreadsheets. Combine it with “No spaces (joined)” and “ALL CAPS” for a continuous capital code.
| Word | First letters | Capitals |
|---|---|---|
| 中华人民共和国 | zhrmghg | ZHRMGHG |
| 北京大学 | bjdx | BJDX |
| 银行 | yh | YH |
| 行走 | xz | XZ |
- zh, ch and sh give only their first letter, so 中 and 宗 are both z. Use full pinyin where that matters.
- First letters depend on readings too: 银行 (bank) is yh but 行走 (walk) is xz. Before generating many codes, spot-check entries with heteronyms.
Sources
Frequently asked questions
Will characters with several readings be wrong?
The tool reads words before single characters, so common words such as 银行 (yín háng, bank) and 行走 (xíng zǒu, walk) come out right. Combinations the dictionary lacks, names, place names and classical Chinese can still be misread. Turn on “Show pinyin above the characters” and click any character with a dotted underline to pick another reading.
Why is 一个 shown as yī gè and not yí gè?
Written pinyin normally shows the original tone rather than the tone change in speech (GB/T 16159-2012), so the default is yī gè. For pronunciation practice, tick “Mark the tone changes of 一 and 不” to get yí gè.
How do I write a Chinese name in pinyin?
Choose “Names: surname and given name” under Capitalization: 张三 → Zhang San, 王小明 → Wang Xiaoming, 欧阳修 → Ouyang Xiu. Surname and given name are separate words, the given name is joined and both are capitalised, as GB/T 28039-2011 sets out; surname readings are used (曾 Zēng, 单 Shàn). On passports the issuing authority’s spelling applies.
How do I type ü, and is lv the same as lü?
Standard pinyin writes lü and nü (lǜ and nǚ with tones). Chinese input methods type ü as v, so codes and file names often use lv and nv. Choose no tones or tone numbers and tick “Write ü as v”.
Is my text uploaded?
No. The pinyin dictionary downloads with the page and the conversion runs on your device; copying and the TXT download happen locally too.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.