FREE BROWSER TOOL

Pinyin tone-mark converter

Convert numbered pinyin such as ni3hao3 into nǐhǎo. Paste your text, check the result, and copy it into your document. No account or app installation is needed for this converter.

nǐhǎo! wǒ xǐhuān zhōngwén.

Conversion runs locally in your browser. This tool does not submit or store your text.

How to convert pinyin numbers into tones

  1. Write the syllable in Latin letters and put the tone number immediately after it: zhong1, wen2, or ni3.
  2. Paste or type the text into the numbered-pinyin field. Each complete supported syllable is converted automatically.
  3. Choose Copy text, or select the result manually. Paste it into your worksheet, notes, message, or flashcard.

The converter preserves spaces, punctuation, and capitalization. Adjacent numbered syllables can convert without spaces: ni3hao3 becomes nǐhǎo. Text without a trailing tone number is not changed.

The five Mandarin tones in writing

NumberExample inputOutput
1ma1mā
2ma2má
3ma3mǎ
4ma4mà
5 or 0ma5 / ma0ma

The neutral tone has no written mark. The converter does not apply tone sandhi or choose a word’s correct tone for you; it writes the number you provide.

Type ü with v or u:

Use nv3 or nu:3 for nǚ. For lǜ, enter lv4 or lu:4. Plain lu4 becomes lù, so u and ü stay distinct. Capitalized input is supported: LV4 becomes LǛ.

Which vowel gets the mark?

The converter prioritizes a, then e; it marks the o in ou and otherwise uses the final vowel. That gives hao3 → hǎo, xie4 → xiè, dou4 → dòu, liu2 → liú, and shui3 → shuǐ. Read the Mac pinyin guide for examples and keyboard options.

Why does some text stay unchanged?

Only complete syllables in this tool’s Mandarin inventory accept tones. fi3, sh3, and incomplete xio3 stay as written. xiong2 becomes xióng. Rare dialectal spellings and erhua suffixes are not included. Some English words are valid pinyin spellings, so review the result when pasting mixed-language text.

Can this converter output Chinese characters?

No. It produces accented Latin pinyin, not Chinese characters, translations, or pronunciation audio. Use a Chinese character input method when you need 汉字.

Want this while typing on a Mac?

ToneTap’s native Apple silicon keyboard applies tone marks directly in compatible Mac apps. The Mac app is a separate paid early release, from US$2.50, with no subscription. It requires macOS 12 or later and macOS download approval; review the setup instructions before buying.