NetChai Chinese

Pinyin KeyboardType pinyin with tone marks — ni3 → nǐ

Type pinyin with a tone number after each syllable and it turns into tone marks as you type: ni3 hao3 → nǐ hǎo. Or click the vowel buttons. Nothing to install, and nothing you type leaves your browser.

Pinyin with tone marks

Or click to insert a vowel with a tone mark

How to use it

  • Put the tone number right after each syllable: ma1 ma2 ma3 ma4 → mā má mǎ mà.
  • Use 5 or 0 (or no number) for the neutral tone: xie4xie5 → xièxie.
  • Type v (or u:) for ü: lv4 → lǜ, nv3 → nǚ, lve4 → lüè.
  • Capital letters, spaces, punctuation and apostrophes are kept: Xi1'an1 → Xī'ān.

Where does the tone mark go?

The keyboard places the mark for you, following the standard rules:

  1. a or e always takes the mark: hǎo, méi, xiè.
  2. In ou, the o takes it: dōu, zǒu.
  3. Otherwise the mark goes on the last vowel: guì, liú, duō.

Not sure what the four tones sound like? Read our guide to the Mandarin tones, with audio for every example.

Typing tone marks on your own computer or phone

Mac

Add the ABC – Extended input source (System Settings → Keyboard → Input Sources → Edit → +). Then hold Option and press a key, release, and type the vowel:

  • Option+A, then a → ā (first tone)
  • Option+E, then a → á (second tone)
  • Option+V, then a → ǎ (third tone)
  • Option+`, then a → à (fourth tone)

Windows and phones

Windows has no simple built-in shortcut for pinyin tone marks, and phone keyboards usually offer only some of them when you long-press a vowel (the third-tone ǎ is often missing). This page is the quickest way: type, then copy.

Want to type Chinese characters instead?

To type 你好 rather than nǐ hǎo, add a Chinese pinyin input method. You type pinyin without tones, then pick the character:

  • Windows: Settings → Time & language → Language & region → Add a language → Chinese (Simplified, China). It includes Microsoft Pinyin.
  • Mac: System Settings → Keyboard → Input Sources → Edit → + → Chinese, Simplified → Pinyin – Simplified.
  • iPhone / iPad: Settings → General → Keyboard → Keyboards → Add New Keyboard → Chinese, Simplified → Pinyin – QWERTY.
  • Android (Gboard): Gboard settings → Languages → Add keyboard → Chinese (Simplified) → Pinyin.

Have Chinese text and need its pinyin? Paste it into our Pinyin Converter.

Frequently asked questions

How do I type pinyin with tone marks?

On this page, type each syllable followed by its tone number (ni3 hao3) and the tone marks appear automatically (nǐ hǎo). Then press Copy.

How do I type ü in pinyin?

Type v or u: — lv4 becomes lǜ and nv3 becomes nǚ. After j, q, x and y the dots are not written (ju, qu, xu, yu).

What number is the neutral tone?

Use 5 or 0, or simply leave the number out. The syllable is written without a mark: xie4xie5 → xièxie.

Can I convert tone marks back to numbers?

Yes — switch to “Tone marks → numbers” and paste pinyin like nǐ hǎo to get ni3 hao3.

Is this a Chinese character keyboard?

No. It types pinyin (the romanized spelling) with tone marks. To type Chinese characters, add a pinyin input method to your device — see the steps above.