Pinyin keyboard

拼音

Type the syllable, then its tone number: ni3 hao3 gives nǐ hǎo, xie4 gives xiè. Type v for ü. The red keys add a tone to the syllable you just typed.

Pinyin with real tone marks, placed on the right vowel for you.

Pinyin words to try

Tap a word to put it in the box above, or type it yourself with the keys shown.

WordMeaningType
Hello (你好)ni3 hao3
Thank you (谢谢)xie4xie
China (中国)Zhong1guo2
Sorry (对不起)dui4buqi3
Green (绿色)lv4se4

Tone numbers in, tone marks out

Hanyu Pinyin writes Mandarin in Latin letters, with a mark over one vowel showing the syllable's tone. Typing those marks is awkward on any standard keyboard, so learners long ago settled on writing the tone as a number after the syllable: ni3 hao3. This keyboard takes that number and puts the correct mark on the correct vowel: nǐ hǎo.

Type the syllable, then 1, 2, 3 or 4. The red keys do the same thing on screen. The fifth, neutral tone has no mark, so just leave the number off, as in xièxie. A digit typed after a space or punctuation stays a digit, so numbers still work.

The four tones
ToneKeyMarkContourExample
1st1 or ˉāhigh and levelmā (mother)
2nd2 or ˊárisingmá (hemp)
3rd3 or ˇǎdippingmǎ (horse)
4th4 or ˋàfallingmà (to scold)

Which vowel takes the mark

Pinyin has a fixed rule for syllables with more than one vowel, and the keyboard applies it for you:

  • If there is an a or an e, it takes the mark: hǎo, xiè, guān.
  • In ou, the o takes it: gǒu, zhōu.
  • Otherwise the last vowel takes it: guì, liú, duō.

ü and v

Pinyin needs one letter English does not have: ü, as in lǜ (green) and nǚ (woman). Keyboards have always used v in its place, since v is not otherwise used in Mandarin pinyin, so typing v here gives ü, and lv4 gives lǜ. After j, q, x and y the dots are left off by convention (ju, qu, xu, yu), because u after those letters is always the ü sound.

Written tones and spoken tones

Pinyin is written with each syllable's own, dictionary tone, even where speech changes it. The best-known case is two third tones in a row: the first is said as a second tone, so nǐ hǎo sounds like "ní hǎo", but it is still written nǐ hǎo. Type the dictionary tones here and your pinyin will match textbooks and dictionaries.

Two very common words change tone by the syllable after them. 不 is bù, but becomes bú before a fourth tone: bú shì. 一 is yī on its own, yí before a fourth tone (yí gè) and yì before the others (yì tiān). Unlike the third-tone rule, many textbooks write these changed tones, so follow whichever convention your course uses; the keyboard types whichever number you give it.

Pinyin, not Chinese characters

This keyboard types pinyin with tones, which is what you need for vocabulary lists, flashcards, homework and showing how a name is pronounced. It does not turn pinyin into Chinese characters. For that you need a pinyin input method, which uses a dictionary to offer characters as you type: Microsoft Pinyin on Windows, Pinyin - Simplified on a Mac, and Gboard or the iPhone keyboard on a phone.

Frequently asked questions

How do I type pinyin tone marks?

Type the syllable followed by its tone number: ni3 gives nǐ, ma1 gives mā. Or type the syllable and tap one of the red tone keys.

How do I type ü in pinyin?

Type v. lv4 gives lǜ and nv3 gives nǚ.

Which vowel gets the tone mark?

a or e if present; o in ou; otherwise the last vowel. The keyboard applies the rule for you.

How do I write the neutral tone?

Leave the number off. The neutral tone has no mark, as in xièxie or māma.

Does this type Chinese characters?

No. It types pinyin with tone marks. To get characters, use a pinyin input method such as Microsoft Pinyin or Gboard.

Recommended Multilingual Typing Equipment & Accessories

Bilingual stickers, custom script keycaps, and multi-device hardware keyboards for typing in any language.

TYPING GEAR
Keyboard Overlays Physical Script Fix

Multilingual Non-Glare Matte Keyboard Lettering Stickers

Wear-resistant matte vinyl stickers available in Cyrillic, Arabic, Hebrew, Greek, Korean, and Japanese scripts with clear high-contrast lettering.

Converts any US QWERTY physical keyboard into a dedicated bilingual typing station instantly
Hardware Keyboards Multi-Device Flagship

Logitech MX Keys S Wireless Illuminated Multi-Device Keyboard

Low-profile wireless typing keyboard with spherically dished keys, smart backlighting, and instant switching across three devices running different operating system layouts.

Seamlessly toggle between Windows and Mac international input languages with a single button
Custom Keycaps Dye-Sub PBT

Bilingual PBT Dye-Sub Mechanical Keycap Set

Extra-thick 1.5mm PBT keycap set featuring dual-script dye-sublimated secondary legends that will never wear off, fade, or develop key shine.

Permanent secondary alphabet legends eliminate sticker peeling during fast touch-typing
Programmable Keyboards Custom Firmware

Keychron Hot-Swappable Mechanical Keyboard with QMK/VIA

Custom mechanical keyboard featuring custom QMK and VIA firmware support, allowing you to remap dedicated language switching keys directly to hardware onboard memory.

Program dedicated macro keys for instantaneous language toggling with zero software delay
Ergonomic Support Ergonomic Comfort

Ergonomic Memory Foam Keyboard Wrist Rest with Cooling Lycra

Medical-grade high-density memory foam wrist cushion with breathable moisture-wicking fabric and non-skid rubber base for extended multi-hour writing and translation.

Maintains neutral carpal alignment during intense multilingual translation sessions
Desk Protection Surface Shield

Ultra-Thin Clear Silicone Washable Keyboard Protector Skin

High-transparency 0.12mm silicone protective cover engineered to shield laptop keys against spills, dust, and food crumbs while securing script sticker edges.

Prevents corner peeling on bilingual decals while protecting switches against accidental spills

Multilingual Typing Hardware vs Overlay Comparison Matrix

Typing Method Tactile Experience Legend Durability Recommended For
Physical Vinyl Stickers Retains original laptop feel; slight tactile edge on keys 1 to 2 years before edge peeling Students and occasional translators on laptop keyboards
Bilingual Dye-Sub PBT Keycaps Superior textured matte grip, zero key shine Permanent, dye is embedded into plastic Mechanical keyboard owners and daily professional writers
Multi-Device Wireless Keyboard Smooth scissor-switch precision with dish contour Multi-year battery and key life Bilingual remote workers juggling PC, Mac, and iPad devices
QMK/VIA Programmable Board Custom choice of linear, tactile, or clicky mechanical switches Lifetime hot-swappable switch replacement Power users needing dedicated script layer macros

Pro Tip: Operating System Input Switching vs Hardware Keycap Legends

In Windows, press Win+Space or Alt+Shift to toggle between installed language packs; on macOS, use Ctrl+Space or the Globe key. While software switching changes what your operating system outputs, your physical keycaps remain unchanged. If you type frequently in non-Latin scripts like Cyrillic, Arabic, Greek, or Korean, adding matte non-glare stickers or bilingual PBT keycaps bridges the cognitive gap so you never have to guess key positions.

As an Amazon Associate we earn from qualifying purchases. Product recommendations are editorially independent.

Affiliate Disclosure