esc
Typing & scripts

Chinese to Pinyin:
汉字转拼音, with tones

汉字转拼音: paste Chinese text and get the pinyin of every character, with tone marks (nǐ hǎo), tone numbers (ni3 hao3) or without tones.

Chinese characters (汉字)

Pinyin (拼音)

Tap an underlined character to pick another reading (多音字).

Readings come from the Unicode Han Database (kMandarin, the most customary reading, plus the other readings in 通用规范汉字字典 and 现代汉语词典). There is no word list, so 多音字 such as 行, 长, 了 and 的 start with their most common reading: check the underlined ones. In name mode the first character is the surname unless you put a space after the surname (欧阳 修), and the given name is written as one word with a capital (GB/T 16159-2012).

More tools for ChinaTaiwanSingaporeMalaysia Other countries

How to use Chinese to Pinyin

  1. 01Paste the textOr type a name.
  2. 02Choose the tonesMarks, numbers or none.
  3. 03Check 多音字Then copy.
File character signing a page with a big pen

你好 → nǐ hǎo.

Every character gets its pinyin above it, and the plain pinyin text is ready to copy. Characters with more than one reading (多音字) such as 行, 长, 了 or 的 are underlined: tap one to switch. Name mode writes a Chinese name the way forms and visas want it, surname first and the given name as one word with capitals: 王小明 → Wáng Xiǎomíng.

Hanyu Pinyin is how Chinese is written in Latin letters in schools, dictionaries, maps and on forms. This tool gives the pinyin of every character in a text, with tone marks, tone numbers or no tones, and writes names in the official order and capitals. Characters with more than one reading are marked so you can choose, because no table can know which reading a sentence needs.

Where the readings come from

Each character’s first reading is kMandarin from the Unicode Han Database, which Unicode describes as the most customary reading. Other readings come from the same database’s entries for 通用规范汉字字典 (2013) and 现代汉语词典. So 行 starts as xíng with háng offered, 长 as zhǎng with cháng, 了 as le with liǎo.

Tones and the apostrophe

Tone marks follow 汉语拼音方案: ā á ǎ à on the main vowel and nothing for the neutral tone; tone numbers write the same syllable with 1 to 5 after it (ni3 hao3), and ü can be typed as v (lv). When a syllable starting with a, o or e follows another inside one word, an apostrophe separates them: 西安 is Xī’ān, not xian.

Names

GB/T 16159-2012 (汉语拼音正词法基本规则) writes the surname and given name apart, each with a capital, and the given name as one word. Name mode does that: 王小明 → Wáng Xiǎomíng. The first character is taken as the surname unless you put a space after the surname, which you need for two-character surnames such as 欧阳 or 司马.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

Where do the readings come from?

From the Unicode Han Database (Unihan): kMandarin, the most customary reading of each character, plus the other readings listed in 通用规范汉字字典 (2013) and 现代汉语词典. There is no word list, so for 多音字 the most common reading comes first; the tool marks them so you can check.

How should I write my name in pinyin?

Surname first, then the given name as one word, each with a capital letter: 王小明 is Wáng Xiǎomíng (GB/T 16159-2012). Use name mode, and turn tones off if the form wants plain letters (Wang Xiaoming). For a compound surname such as 欧阳, put a space after it.

Why is there an apostrophe in Xī’ān?

Pinyin uses an apostrophe (隔音符号) before a syllable starting with a, o or e that follows another syllable, so Xi’an (西安, two syllables) cannot be read as xian (先). The tool adds it in name mode.

Is my text sent anywhere?

No. The conversion runs in your browser and the text never leaves your device. The tables the tool needs are downloaded once, like the page itself.

Does it work for Traditional characters?

Yes. The readings cover both Simplified and Traditional characters, about 44,000 in all.

Why is 的 read de?

Because that is its most common reading. It is also dí (的确) and dì (目的); tap it to switch.