Mandarin · Hanyu Pinyin
Convert Chinese characters to Pinyin
Turn Simplified or Traditional Chinese text into Hanyu Pinyin. Choose tone marks, tone numbers, or no-tone output, and optionally group syllables using automatic Chinese word boundaries.
Conversion details
How this result was produced
- Detected script
- —
- Detected form
- —
- Input form check
- —
- Language
- —
- System
- —
- Output type
- —
- Tone format
- —
- Word handling
- —
- Punctuation
- —
- Reversibility
- —
- Engine
- —
- Last reviewed
- —
—
Source: Versioned Pinyin dictionary and Unicode ICU word breaking
Word segmentation
Source segments and Pinyin
Automatic boundaries are useful hints, not a linguistic annotation.
| Source segment | Pinyin | Syllables |
|---|
How this Pinyin converter works
Characters and context
The converter uses a versioned Mandarin pronunciation dictionary instead of treating every character in isolation. Phrase context helps with common polyphonic characters, such as 行 in 银行. Proper names and unusual senses can still need correction by a fluent reader.
Traditional and Simplified
Both character forms are accepted directly and the displayed source is never rewritten. For phrase lookup, Traditional text can use an internal Simplified dictionary form while protected lexical exceptions retain their Traditional form. Ambiguous variants can still require review.
Tones and spelling
Tone-mark output follows ordinary Hanyu Pinyin diacritics. Number output places 1–4 after a syllable; neutral tone may be left unnumbered. No-tone output removes tonal marks but keeps ü because it is a Pinyin vowel, not a tone mark.
Word boundaries
When grouping is enabled, Unicode ICU proposes Chinese word boundaries and syllables inside each detected word are joined. Chinese normally has no spaces between words, so names, compounds, and recently coined terms may be segmented differently from your intended reading.
Tone format examples
| Chinese | Tone marks | Tone numbers | No tones |
|---|---|---|---|
| 你好 | nǐhǎo | ni3hao3 | nihao |
| 西安 | xī'ān | xi1'an1 | xi'an |
| 绿茶 | lǜchá | lü4cha2 | lücha |