Skip to content
PrivBay

Convert simplified and traditional Chinese to Mandarin pinyin

Convert simplified and traditional Hanzi to Pinyin with tone marks, tone numbers or no tones while keeping punctuation and line breaks.

Drop a text file here

One UTF-8 .txt file. It stays on your device.

Use up to 20,000 characters. Punctuation, spaces, line breaks and unrecognized characters stay in place.

Ready. Your files stay on this device.

How to convert Chinese to Pinyin with tones

  1. Paste text into Chinese text or use Choose a text file to open a UTF-8 .txt file.
  2. Under Tone format, choose Tone marks, Tone numbers or No tones.
  3. Select Convert to pinyin and review the result.
  4. Choose Copy result or Download text to keep the output.

Read Mandarin syllables alongside your source text

Use Chinese to Pinyin for vocabulary notes, a reading exercise or a message with unfamiliar characters. Paste text or import one UTF-8 text file of up to 20,000 characters. Simplified and traditional characters can appear in the same passage. The converter adds one space between neighboring converted syllables and preserves the existing punctuation, spacing, line breaks and unrecognized characters. You can keep your original sentence next to the result when you make a study sheet.

The Hanzi to Pinyin conversion uses nearby characters to pick readings for recognized words. For example, the first syllable in 重庆 uses the reading chóng. Context can still be ambiguous for personal names and uncommon phrases, so check those readings against the pronunciation you intend to use.

Pick a tone format for where the text will go

Tone format Example output (汉语) When to choose it
Pinyin with tone marks hàn yǔ Worksheets, flashcards and graded reading sheets
Tone numbers han4 yu3 (0 = neutral) Plain ASCII systems, IME notes and corpus text
No tones han yu Unaccented spelling reference or rough sorting

The converter accepts pasted text or one UTF-8 .txt file of up to 20,000 characters and lets you copy the result or download UTF-8 text. To hear how your original Chinese passage sounds when a local Mandarin system voice is installed, paste it into Text to speech.

Frequently asked questions

Can I convert traditional and simplified Hanzi together?

Yes. You can mix traditional and simplified text in a single input, including lines with punctuation, English or numbers.

How does the tool pick a reading for characters with several pronunciations?

It uses a phrase dictionary to choose a reading when context is recognized. Check uncommon names and ambiguous phrases against your intended reading.

What number indicates a neutral tone?

Tone numbers use 1 through 4 for the four main tones and 0 for neutral tone.

Can I convert multiple lines in one pass?

Yes. Paste multiple lines or open one UTF-8 .txt file with up to 20,000 characters.

Does the tool translate the text?

It writes Mandarin pronunciations for recognized Hanzi and preserves the surrounding text.

Last updated November 12, 2026