How Do You Type Pinyin With Tone Marks?
hao3 → hǎo. macOS is the only major system with a tone-mark
layout built in (ABC – Extended). Windows has none. Phones can produce three of the four
tones and usually not the third. The number method is the only one that works everywhere, and it is
the one this site does for you at the
Pinyin Tone Converter.
This is a different question from how to type Chinese
characters. That one is about the pinyin input method: you type nihao and
pick 你好 from a candidate list, and the pinyin disappears. Here the pinyin is the output —
for homework, a vocabulary list, a flashcard, a forum post, a name on a form, or a caption under a
character. The two setups have almost nothing in common, which is why an IME guide never answers this.
Every method, at a glance
| Where you are typing | Method | Covers all four tones? |
|---|---|---|
| Any device | Type ni3 hao3, paste it into a converter |
Yes |
| macOS | ABC – Extended keyboard, Option-key dead keys | Yes |
| Windows | No built-in method; Alt+X in Word, or a third-party layout | In Word only |
| iPhone / Android | Press and hold the vowel key | No — the 3rd tone is missing |
| Google Docs | Insert → Special characters, or an automatic substitution | Yes |
| Word | Insert → Symbol, Alt+X, or an AutoCorrect entry | Yes |
| A single character | Copy it from the table below or the on-screen keyboard | Yes |
The fastest way on any device: type numbers, convert once
Write the tone as a digit straight after each syllable and fix the whole thing in one step at the end.
wo3 xiang3 he1 cha2 becomes wǒ xiǎng hē chá. You never leave the
keyboard you already have, it is identical on a phone and a laptop, and it is the only approach that
does not care which operating system you are on.
Paste ni3 hao3, get nǐ hǎo. It converts back the other way too, and it accepts v for ü.
Click the marked vowels straight into a text box — no layout to install, useful when you need one or two characters.
Where the mark sits when a syllable has more than one vowel — why it is hǎo and not haǒ — is a separate rule, set out in Hanyu Pinyin Spelling Rules. A converter applies it for you, which is most of why people use one.
Windows
Windows ships nothing that types all four tone marks, and this surprises people who have already installed the Chinese language pack. The Microsoft Pinyin IME converts pinyin into characters — it is not a way to write marked pinyin. What you actually have:
-
Alt+X in Word (and Outlook). Type the four-digit Unicode code point and press
Alt+X immediately after it:
01CEthen Alt+X becomes ǎ. Every code point is in the table below. This works nowhere else — not in a browser, not in Notepad. - The US-International layout (Settings → Time & language → Language & region → Add a keyboard). Its dead keys give you á (apostrophe then the vowel) and à (backtick then the vowel) — the second and fourth tones only. There is no macron and no caron, so the first and third tones are still out of reach.
-
A third-party layout. Free utilities such as PinyinTones install a keyboard where
typing
hao3turns into hǎo as you go. Worth it if you type marked pinyin every day on the same machine; overkill for a homework sheet, and it is one more thing to install on a shared or work computer. - Character Map (search for charmap) has every marked vowel under Latin Extended-A and Extended-B, one copy-paste at a time.
macOS — the one system that has this built in
Add ABC – Extended in System Settings → Keyboard → Input Sources → + → English. It behaves exactly like the normal US keyboard except that four Option combinations become dead keys: nothing appears when you press them, and the next vowel you type comes out marked.
| Tone | Press | Then type | Result |
|---|---|---|---|
| 1st — high and level | Option+A | a e i o u | ā ē ī ō ū |
| 2nd — rising | Option+E | a e i o u | á é í ó ú |
| 3rd — dipping | Option+V | a e i o u | ǎ ě ǐ ǒ ǔ |
| 4th — falling | Option+` | a e i o u | à è ì ò ù |
| ü (no tone) | Option+U | u | ü |
The dead keys stack, which is how the toned ü is made: press the tone first, then
Option+U, then u — Option+V,
Option+U, u gives ǚ. If a combination produces
nothing at all, you are still on the plain ABC layout rather than ABC – Extended;
they look identical in the menu bar apart from the name.
iPhone and Android — where the third tone goes missing
Press and hold a vowel on the ordinary English keyboard and an accent strip pops up. You will find the macron (ā), the acute (á) and the grave (à) there on most keyboards. What is almost never there is the caron — ǎ ě ǐ ǒ ǔ, the third tone — because it is a rare mark in the European languages those accent strips were designed for. Nothing in the settings adds it.
So on a phone you have two realistic options: type the tone numbers and convert them (nothing to install, works in any app), or install a dedicated pinyin keyboard from the app store. For a single character, holding the vowel and taking whichever of the three marks you need is still quicker than either.
Google Docs, Word and LibreOffice
Google Docs
- Insert → Special characters, then search latin small letter a with caron — or draw the shape in the sketch box, which is faster than it sounds.
- Tools → Preferences → Substitutions is the real trick: add
a3→ ǎ,e3→ ě and so on once, and they replace themselves as you type, in every document, forever.
Word and LibreOffice
- Insert → Symbol → More symbols, subset Latin Extended-A and Latin Extended-B.
- Alt+X after a code point (
01CE→ ǎ) in Word; in LibreOffice the same shortcut is Alt+X as well. - AutoCorrect entries do the same job as Docs substitutions and are worth setting up if you mark up vocabulary lists regularly.
Why so much pinyin is written hao3, nv3 and nu:3
The number convention is not a beginner's shortcut — it is how the machine-readable half of the
Chinese-learning world is written, and recognising it saves a lot of confusion. A tone number goes
immediately after its own syllable: ma1 is mā, ma2 is
má, ma3 is mǎ, ma4 is mà,
and the neutral tone is written ma5 or sometimes ma0.
ü is the interesting one. The letter v is not used anywhere in Mandarin
pinyin, which leaves it free, so almost every input method and web form lets you type v
and means ü: nv3 is nǚ and lv4 is
lǜ. Dictionary files written before that settled — CC-CEDICT among them — use
u: instead, so the same word appears as nu:3. Both are the same sound and a
good converter takes either.
The reason all of this exists is plain: tone numbers are ASCII. They survive filenames, spreadsheet columns, database fields, search boxes, URLs and any form that mangles accented characters — which is most of them. Anywhere a file has to be read by a program rather than a person, pinyin is written with numbers, and someone has to turn it back into marks at the end. That last step is the converter.
Going the other way — stripping the marks off to get plain letters for a search box — is Pinyin Without Tones. And if what you have is Chinese characters rather than pinyin at all, the Chinese to Pinyin translator and the Pinyin Annotator are the pages for that.
Copy any tone mark — and its Windows code point
Tap a character to copy it. The code is what you type before Alt+X in Word.
| Vowel | 1st (macron) | 2nd (acute) | 3rd (caron) | 4th (grave) |
|---|---|---|---|---|
| a | ||||
| e | ||||
| i | ||||
| o | ||||
| u | ||||
| ü (00FC) |
Tone Mark Trainer — four levels, beginner to expert
Reading a mark and writing one are different skills. This drills both.Ten questions a round. Answer three in a row and the combo multiplier starts; clear eight out of ten and the next level opens. Every syllable comes from the same table behind the interactive pinyin chart, so nothing here is a sound Mandarin does not make.
Frequently Asked Questions
hao3 becomes
hǎo — which works on every device and is what most people do. Or install a
keyboard layout that produces the marks directly: macOS has one built in, called
ABC – Extended, where Option+V then a gives
ǎ. Or pick the character out of a menu: Insert → Special characters in
Google Docs, Insert → Symbol in Word.
01CE then Alt+X gives
ǎ. For anything longer than a word, a converter is faster.
a. The four
tone dead keys are Option+A for the macron ā,
Option+E for the acute á,
Option+V for the caron ǎ and
Option+` for the grave à. For ü
press Option+U then u.
hao3 means hǎo,
ma1 means mā, and the neutral tone is written 5 or 0. The
letter v is not used in Mandarin pinyin at all, so it is free to stand in for
ü: nv3 is nǚ and lv4 is
lǜ. Older dictionary files, including CC-CEDICT, write the same sound as
nu:3.
Related guides
- ↗ How to Type Chinese Characters — the pinyin IME, for producing hanzi
- ↗ Hanyu Pinyin Spelling Rules — where the mark goes, ü, and the apostrophe
- ↗ Chinese Tone Rules and Tone Sandhi — when the tone you write is not the tone you say
- ↗ How Do You Pronounce Pinyin? A Complete Guide
- ↗ Back to the full Pinyin Learning Center