01 / 20
中 IME

Reading & Typing
Pinyin & IME

Learn to use pinyin romanization and a Chinese Input Method Editor to type short messages with proper punctuation and tone marks.

Conversational Mandarin Chinese

What Is Pinyin?

Pinyin (拼音) is the official romanization system for Standard Mandarin Chinese. It maps each Chinese syllable to Latin letters plus a tone mark, so you can read, pronounce, and type Chinese without memorizing thousands of characters first.

The Four Tones + Neutral

5 high 4 3 2 1 low
1st: \(m\bar{a}\)
2nd: \(m\acute{a}\)
3rd: \(m\check{a}\)
4th: \(m\grave{a}\)

Anatomy of a Pinyin Syllable

\(zhu\bar{a}ng\)
Initial zh Final uang Tone 1 (ˉ) Every syllable = Initial + Final + Tone

Mandarin has 21 initials (consonants like b, p, m, zh, ch, sh), about 37 finals (vowel combos like a, ai, uang, iong), and 4 tones + neutral. Together they produce roughly 400 unique syllables.

What Is an IME?

An Input Method Editor (IME) is software that converts your pinyin keystrokes into Chinese characters. It runs on every major operating system and phone keyboard.

Desktop
Windows: Microsoft Pinyin. macOS: Pinyin - Simplified. Activated via language bar or shortcut.
Mobile
iOS: built-in Chinese (Simplified) Pinyin. Android: Gboard Chinese or Sogou Pinyin. Swipe-friendly.

Core Rule: Type Pinyin, Select Character

You type nihao IME parses
\(n\check{\imath} + h\check{a}o\)
You select 你好 1. 你好 2. 拟好 3. 泥好 Press 1 (or Space/Enter) to confirm the first candidate The IME learns your habits: frequent words rise to the top

Where Does the Tone Mark Go?

The tone mark always goes on a vowel. If a syllable has multiple vowels, the mark goes on the "main" vowel, following a simple priority order:

1
Priority Order: The mark goes on the first vowel that appears in this list: a o e i u ü.
Examples: \(h\check{a}o\) (a > o), \(du\bar{o}\) (o > u), \(li\grave{e}\) (e > i).
2
Special Case: For the vowel combinations iu and ui, the mark always goes on the last letter.
Examples: \(li\acute{u}\) (on the u), \(gu\grave{\imath}\) (on the i).

Pinyin vs. Zhuyin (Bopomofo)

Pinyin Zhuyin (ㄅㄆㄇㄈ)
Script Latin letters Unique symbols (37)
Where Used Mainland China, worldwide Taiwan
Typing QWERTY keyboard Dedicated layout
Tones Diacritics: \(\bar{a}\) \(\acute{a}\) \(\check{a}\) \(\grave{a}\) Symbols after final: ˊ ˇ ˋ ˙
Learning Curve Familiar for English speakers New symbols to memorize

Setting Up Your Pinyin IME

1
Open Settings → Language & Input. On Windows: "Language settings." On macOS: "Keyboard → Input Sources." On phone: "General → Keyboard → Add Keyboard."
2
Add "Chinese (Simplified)" → "Pinyin." This installs the IME. On phones, enable the Chinese keyboard in your keyboard list.
3
Switch input method. Windows: Win + Space. macOS: Ctrl + Space. Phone: tap the globe icon.
4
Start typing pinyin. Type lowercase letters: the IME will show candidate characters. Press Space or 1 to select the first candidate.

Example 1: Typing "Hello!"

nihao 1. 你好 2. 拟好 3. 你号 4. 泥好 Press Space → selects 你好 你好! Full-width exclamation: Shift + 1

Example 2: A Longer Message

Let's type: 你明天有空吗? (Are you free tomorrow?)

1
Type ni → select 你 (you).
2
Type mingtian → select 明天 (tomorrow). The IME recognizes full words.
3
Type youkong → select 有空 (have free time).
4
Type ma → select 吗 (question particle).
5
Type ? → the IME outputs ? (full-width question mark).

Chinese Punctuation Essentials

Mark Chinese (Full-Width) English (Half-Width) How to Type
Period 。 . . key
Comma , , , key
Question ? ? ? key
Exclamation ! ! ! key
Enumeration comma 、 (none) \ key
Book title marks 《 》 < > Shift + , / . keys

Handling Homophones

Mandarin has many homophones: syllables with the same sound and tone but different characters. The IME candidate list is your tool for choosing the right one.

shi 1. 是 (is/yes) 2. 十 (ten) 3. 时 (time) 4. 事 (matter) 5. 石 (stone) 6. 市 (city) 7. 室 (room) 8. 食 (food) Press the number key (1-9) for the character you want

Common Mistakes to Avoid

Wrong Homophone
Accepting the first candidate without checking. E.g., typing "ta" and selecting 他 (he) when you meant 她 (she).
Half-Width Punctuation
Using English periods "." instead of Chinese "。" in Chinese text. Always check your IME is in Chinese punctuation mode.
Forgetting Tone Marks
In handwritten pinyin (homework, exams), omitting tone marks makes words ambiguous: "ma" could be mother, horse, scold, or question.

Quick Reference Summary

Concept Key Point Example
Pinyin Romanization: Initial + Final + Tone \(zhu\bar{a}ng\)
4 Tones Flat, Rising, Dip, Falling \(m\bar{a}\) \(m\acute{a}\) \(m\check{a}\) \(m\grave{a}\)
IME Workflow Type pinyin → Pick candidate nihao → 你好
Homophones Type more context to narrow list shiqing → 事情
Punctuation Full-width in Chinese mode 。,?!、
Tone Placement Priority: a o e i u ü. Special case: for iu/ui, mark goes on last vowel. \(h\check{a}o\), \(gu\grave{\imath}\)

Question 1 of 5

What does pinyin map each Chinese syllable to?

Question 2 of 5

In the pinyin syllable "\(gu\grave{\imath}\)", why does the tone mark go on the i rather than the u?

Question 3 of 5

You are typing in Chinese mode and press the period key (.). What character appears?

Question 4 of 5

You type "shi" and see eight different candidate characters. What is the best strategy to get the character you want more quickly?

Question 5 of 5

Which of these is the correct way to write "apples, bananas, oranges" as a Chinese list?