How Do You Type Pinyin With Tone Marks?

Short answer: no keyboard has keys for ā á ǎ à, so you either install a layout that makes them, pick them out of a menu, or type the tone as a number and convert it — hao3hǎ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 typingMethodCovers 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.

Pinyin Tone Converter

Paste ni3 hao3, get nǐ hǎo. It converts back the other way too, and it accepts v for ü.

On-Screen Pinyin Keyboard

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: 01CE then 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 hao3 turns 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.
This is exactly why nearly every Windows guide you will find ends by recommending an online converter. The tone converter here is that step, and it runs in your browser.

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.

TonePressThen typeResult
1st — high and levelOption+Aa e i o uā ē ī ō ū
2nd — risingOption+Ea e i o uá é í ó ú
3rd — dippingOption+Va e i o uǎ ě ǐ ǒ ǔ
4th — fallingOption+`a e i o uà è ì ò ù
ü (no tone)Option+Uuü

The dead keys stack, which is how the toned ü is made: press the tone first, then Option+U, then uOption+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 , ma2 is , ma3 is , ma4 is , 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 and lv4 is . 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.

Vowel1st (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

There are three ways. Type the tone as a number and convert it — 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.

Windows has no built-in shortcut for all four tones. The Microsoft Pinyin IME produces Chinese characters, not marked pinyin, and the US-International layout only offers the acute and grave accents — á and à — so it covers the second and fourth tones and neither of the other two. In Word you can type a Unicode code point and press Alt+X: 01CE then Alt+X gives ǎ. For anything longer than a word, a converter is faster.

Add the ABC – Extended keyboard in System Settings, then press Option+V (nothing appears yet) followed by 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.

Because tone numbers survive anywhere plain ASCII is required — filenames, spreadsheets, databases, search boxes and dictionary files. hao3 means hǎo, ma1 means , 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 and lv4 is . Older dictionary files, including CC-CEDICT, write the same sound as nu:3.

Partly. Press and hold a vowel on the standard English keyboard and an accent strip appears, which covers the macron ā and the acute and grave — but most keyboards leave out the third-tone caron ǎ ě ǐ ǒ ǔ entirely. That is why the third tone is the one that sends people looking for a converter. Typing the tone numbers and converting them works on any phone with no keyboard to install.

Back to the Pinyin Learning Center