Home › Text Tools › Chinese to Pinyin Converter

Chinese to Pinyin Converter

Paste Chinese text and get Hanyu Pinyin instantly: with tone marks (nǐ hǎo), tone numbers (ni3 hao3) or no tones, as plain text or printed above each character. Characters with several pronunciations are flagged so you can pick the right reading.

Last updated:

Loading dictionary…
Tones

Conversion runs in your browser; your text is never uploaded. Characters with more than one reading are underlined: click one to pick the reading that fits.

Advertisement
Advertisement

How to use the Chinese to Pinyin Converter

  1. Paste or type Chinese text in the box. An example sentence is loaded so you can see the result right away.
  2. Choose a tone style: tone marks, tone numbers or no tones, and how ü should be written.
  3. Pick an output format: pinyin above the characters, pinyin only, 汉字(pinyin) or two lines.
  4. Fix readings: underlined characters have more than one pronunciation; click one and choose the reading that fits your sentence.
  5. Copy or download the result, or copy ruby HTML to show pinyin above characters on a web page.

Pinyin tones at a glance

ToneMarkNumberPitchExample
1st (high level)māma1High and flat妈 mā, mother
2nd (rising)máma2Rises from mid to high麻 má, hemp
3rd (dipping)mǎma3Low, dips then may rise马 mǎ, horse
4th (falling)màma4Sharp fall from high to low骂 mà, to scold
Neutralmama5 or maShort and light吗 ma, question particle

Common polyphonic characters

About one in ten frequently used characters has more than one reading. These are the ones learners meet most often; the converter picks the reading from the surrounding word, and you can click any underlined character to change it.

CharacterReading 1Reading 2
行xíng: 行走 xíngzǒu (to walk)háng: 银行 yínháng (bank)
长cháng: 长城 Chángchéng (Great Wall)zhǎng: 长大 zhǎngdà (to grow up)
乐lè: 快乐 kuàilè (happy)yuè: 音乐 yīnyuè (music)
觉jué: 觉得 juéde (to feel)jiào: 睡觉 shuìjiào (to sleep)
还hái: 还是 háishi (still, or)huán: 还书 huán shū (return a book)
重zhòng: 重要 zhòngyào (important)chóng: 重新 chóngxīn (again)
得de: 跑得快 pǎo de kuài (runs fast)děi: 我得走了 wǒ děi zǒu le (I must go)
了le: 吃了 chī le (ate)liǎo: 了解 liǎojiě (to understand)

Pinyin writing tips

  • ü after j, q, x and y is written u: 去 qù, 鱼 yú. After n and l the dots stay: 女 nǚ, 绿 lǜ. When typing without dots, v or u: is the usual stand-in (nv3, lu:4).
  • Word spacing: official orthography joins the syllables of one word (Zhōngguó, xuéxí). This tool separates every syllable, which is clearer for learners; join them by hand for formal text.
  • Apostrophe: when a syllable starting with a, o or e follows another syllable in the same word, an apostrophe marks the boundary, as in Xī'ān.
  • Ruby text on the web: the HTML <ruby>字<rt>zì</rt></ruby> places pinyin above a character in every modern browser, which is what “Copy ruby HTML” produces.

Frequently asked questions

What is pinyin?

Hanyu Pinyin is the official system for writing Standard Chinese (Mandarin) pronunciation with the Latin alphabet. It was adopted in China in 1958 and is the ISO 7098 standard. Each Chinese character is one syllable, written as an initial, a final and one of four tones (or the neutral tone).

How does the converter handle characters with more than one pronunciation?

Many characters are polyphonic, for example 行 is xíng in 行走 but háng in 银行, and 乐 is lè in 快乐 but yuè in 音乐. The converter uses a word-based dictionary (the open-source pinyin-pro library) to choose the reading from context, and underlines every polyphonic character so you can click it and pick a different reading if needed.

Where does the tone mark go?

The tone mark goes on a if there is one, otherwise on e, on the o of ou, and in every other case on the last vowel: hǎo, xiè, gǒu, guì, liú. In tone-number style the digit simply follows the syllable (hao3), and 5 or no digit marks the neutral tone.

Does it apply tone changes for 一 and 不?

By default no: dictionaries, textbooks and most pinyin text write the original tones (yī, bù). If you tick “Apply 一 / 不 tone changes”, 不 becomes bú before a fourth tone and 一 becomes yí before a fourth tone and yì before other tones, except in numbers, dates and ordinals such as 第一 or 一月. Third-tone sandhi (nǐ hǎo spoken as ní hǎo) is never written in standard pinyin.

Does it work with traditional Chinese characters?

Yes. Traditional characters such as 謝謝 or 學習 are converted the same way as simplified ones. Pinyin is the Mainland standard; Taiwan dictionaries sometimes list a different standard reading for a few characters.

What happens if the dictionary can't load?

The full dictionary is downloaded once from a public CDN. If you are offline or it is blocked, the tool switches to a basic built-in table of several hundred common characters; anything outside it is left unchanged and marked with a question mark.

Is my text sent anywhere?

No. The dictionary runs inside your browser, so the conversion happens on your device and your text is never uploaded or stored online. Only your last input and tone choice are saved in your browser's local storage for convenience.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Pinyin Tone ConverterTurn pinyin tone numbers (ni3 hao3) into tone marks (nǐ hǎo), or tone marks back into numbers.Simplified to Traditional Chinese ConverterConvert Simplified Chinese to Traditional (Taiwan, Hong Kong) and back, live, in your browser.Chinese Stroke OrderAnimated stroke order for any Chinese character, with practice mode and printable grids.Text to SpeechTurn text into natural-sounding speech.Bibliography GeneratorBuild an alphabetized bibliography in APA 7, MLA 9, Chicago or Harvard style.Accent KeyboardClick to insert é, ñ, ü, ç, ß and other accented letters for 11 languages, then copy.Cyrillic TransliterationConvert Bulgarian, Russian and Ukrainian Cyrillic to Latin and back using official rules.Arabic KeyboardType Arabic online with a full on-screen keyboard, harakat and Arabic-Indic digits, then copy.Russian KeyboardType Russian online with a ЙЦУКЕН or phonetic on-screen keyboard, then copy your Cyrillic text.NATO Phonetic Alphabet TranslatorSpell any text as Alfa, Bravo, Charlie, hear it spoken, or decode code words back to text.Pig Latin TranslatorTranslate English to Pig Latin and back, keeping capital letters and punctuation intact.Hindi KeyboardType Hindi online with an InScript or phonetic Devanagari keyboard, then copy your text.Urdu KeyboardType Urdu online with a phonetic keyboard or Roman Urdu typing, then copy your Urdu text.Persian KeyboardType Persian (Farsi) online with the standard ISIRI layout or Finglish typing, then copy.Greek KeyboardType Greek online with the standard Greek layout or Greeklish, accents included, then copy.Hebrew KeyboardType Hebrew online with the standard Israeli layout or phonetic typing, with niqqud.Korean KeyboardType Korean Hangul online with the 2-set Dubeolsik keyboard; jamo combine automatically.Ukrainian KeyboardType Ukrainian online with the ЙЦУКЕН keyboard or Latin translit, incl. ї, є, ґ and ʼ.Bulgarian KeyboardType Bulgarian online with the BDS or phonetic keyboard or Latin typing, then copy.Bengali KeyboardType Bengali (Bangla) online with InScript or phonetic typing, then copy your text.Tamil KeyboardType Tamil online with the InScript layout or phonetic (Tanglish) typing, then copy.Thai KeyboardType Thai online with the standard Kedmanee keyboard layout, then copy your Thai text.Gujarati KeyboardType Gujarati online with InScript or phonetic English typing, then copy your text.Punjabi KeyboardType Punjabi (Gurmukhi) online with InScript or phonetic typing, then copy your text.Armenian KeyboardType Armenian online with the phonetic keyboard or Latin typing, then copy your text.Amharic KeyboardType Amharic online in Ge’ez script (ፊደል): consonant + vowel phonetic typing, then copy.Burmese KeyboardType Burmese (Myanmar Unicode) online with the standard layout, then copy your text.Czech KeyboardType Czech online with č, ř, š, ž, ě, ů and á using the Czech QWERTZ layout or shortcuts.French KeyboardType French online with é, è, ç, à, ê and œ: AZERTY layout, accent shortcuts and buttons.Georgian KeyboardType Georgian online (Mkhedruli) with a phonetic QWERTY keyboard and copy your text.German KeyboardType German online with ä, ö, ü and ß: QWERTZ layout, umlaut shortcuts and quick buttons.Hieroglyphics TranslatorWrite your name in Egyptian hieroglyphs with a cartouche, key chart and PNG download.Hungarian KeyboardType Hungarian online with ő, ű, á, é and ö using the Hungarian QWERTZ layout or shortcuts.Italian KeyboardType Italian online with à, è, é, ì, ò and ù using the Italian layout or accent shortcuts.Japanese KeyboardType Japanese hiragana and katakana online from romaji or the JIS kana layout, then copy.Kannada KeyboardType Kannada online with phonetic English typing or the InScript Kannada layout, then copy.Kazakh KeyboardType Kazakh online in Cyrillic with ә, і, ң, ғ, ү, ұ, қ, ө and һ, or phonetically.Khmer KeyboardType Khmer (Cambodian) online with the standard NiDA keyboard, subscripts and copy.Sindhi KeyboardType Sindhi online right-to-left with all 52 letters, including ٻ ڄ ڏ ڳ and ڪ, then copy.Sinhala KeyboardType Sinhala online with Singlish phonetic typing or the Wijesekara layout, then copy.Spanish KeyboardType Spanish online with ñ, á, é, ¿ and ¡: Spanish layout, accent shortcuts and quick buttons.Telugu KeyboardType Telugu online with phonetic English typing or the InScript Telugu layout, then copy.Turkish KeyboardType Turkish online with ç, ğ, ı, İ, ö, ş and ü using the Turkish Q layout or shortcuts.Vietnamese KeyboardType Vietnamese online with Telex, VNI or the Vietnamese layout, with every tone mark.Greek AlphabetAll 24 Greek letters with names, pronunciation and uses; copy symbols, LaTeX and HTML codes.DNA to Protein TranslatorTranslate DNA or RNA into protein in all six reading frames with stop codons highlighted.English Verb ConjugatorConjugate any English verb in all 12 tenses, with past tense, participles and irregular forms.Gematria CalculatorGematria values for words and phrases in English, Simple, Jewish and Hebrew ciphers.Gen Z Slang TranslatorTranslate Gen Z slang to plain English and back, with a definition for every term on hover.Hiragana and Katakana QuizLearn the Japanese kana with a chart, flashcards and a timed typing quiz that tracks your mistakes.Korean Romanization ConverterConvert Hangul to Revised Romanization with sound-change rules, plus McCune–Reischauer.Language DetectorDetect the language and writing system of any text, with a confidence ranking.Online Math KeyboardOn-screen math keyboard for fractions, exponents, roots, Greek and operators, as Unicode text or LaTeX.Resume Action Verbs300+ resume power verbs by skill, plus a checker that swaps weak verbs in your bullet points.Standard Galactic Alphabet TranslatorTranslate English to the Standard Galactic Alphabet (enchanting table letters) and back, with PNG.Text Abbreviation TranslatorTranslate texting shorthand like lol, brb, idk and ngl into plain English, or the other way.UwU TranslatorTurn normal text into cute uwu / owo speak with stutters, faces and an intensity slider.Wingdings TranslatorTranslate text to Wingdings symbols and decode Wingdings back to English, with copy-ready Unicode.Wrong Keyboard Layout FixerFix text typed with the wrong keyboard layout: Ghbdtn → Привет, EN↔RU/UA/HE/AR/EL, Dvorak, AZERTY.Yoda Speak TranslatorReorder English into wise, backwards Yoda-style speech with optional hmms. Copy in one click.Chinese KeyboardType Chinese characters online with pinyin input, Simplified or Traditional, then copy your text.Happy Birthday in Different LanguagesSay “Happy birthday” in 115 languages with native script, romanization and audio.I Love You in Different LanguagesSay “I love you” in 129 languages with native script, pronunciation guide and audio.IPA KeyboardType International Phonetic Alphabet symbols online with clickable charts and = shortcuts.Your Name in JapaneseWrite your name in Japanese katakana with romaji reading, spelling options and a name card.Kurdish KeyboardType Kurdish online: Sorani (Arabic script, right to left) or Kurmanji (Latin with ç ê î ş û).Lao KeyboardType Lao online with the standard Lao keyboard layout, tone marks and Lao digits, then copy.Macedonian KeyboardType Macedonian online in Cyrillic with ѓ, ќ, ѕ, џ, љ, њ, using the layout or phonetic Latin.
See all 80 Online Keyboards & Languages →