Wanted: Convert Tone Numbers in Microsoft Word

What I’ve got is a document in Microsoft Word that contains Pinyin words with tone numbers, for example:

Hi everyone.
da4jia1 hao3.

So I want to highlight the WHOLE DOCUMENT, click a button, and see this:

Hi everyone.
dàjiā hǎo.

In other words, it ignores everything without a number, and converts everything with a number to pinyin tones (I know that could convert things I don’t want converted but I’m willing to deal with that).

I’ve already got (as seen in the sidebar under Links > Resources – Pinyin):

Anyone have any suggestions?

By the way, has anyone done an analysis of the Zhonglish in this clip yet? If so, great! That’ll save me the trouble. If not, please do! I’d rather read it than write it.

14 Replies to “Wanted: Convert Tone Numbers in Microsoft Word”

  1. Here is a very quick and dirty macro hack for OpenOffice.org: http://www.cs.elte.hu/~klao/pinyin/

    Unfortunately, I don’t have microsoft word. But it shouldn’t be much harder to create something similar for it.

    If you have openoffice and wont to try it out, download the pinyin_test.odt and open it. (It will complain that there are macros in the document, but that’s the point, isn’t it? :))
    Then, Tools -> Macros -> Run Macro… -> chose pinyin_test.odt -> Standard -> Pinyin -> Run.

    If you like it, you can in macro organizer drag the macro from this document to “My Macros -> Standard” and it will be available to you in every document.

  2. If you don’t care whether the pinyin with tone marks is above or below the characters, just select the character and highlight it / them, and then select “format; asian layout; phonetic guide” you’ll then see the characters and pinyin. As far as I know it’s only on top.

    You can go to

    for more detailed information. You need to have asian languages enabled in windows for example!

  3. Have you tried using the phonetic guide within Word itself? If you have the characters typed into your Word doc you dont need to type the pinyin at all. The following is copied from MS Word help.

    Add phonetic guides to text
    The feature described in this Help topic is only available if support for an East Asian language is enabled through Microsoft Office Language Settings.

    Note To use phonetic guides with Simplified Chinese text, you must use the Simplified Chinese IME 98 or IME 2000. To use tone marks with Simplified Chinese text, you must use the Simplified Chinese IME 2000.

    Select the text to which you want to add phonetic guides.
    On the Format menu, point to Asian Layout, and then click Phonetic Guide.
    In the Ruby text box, enter the phonetic guides that you want to apply to the selected text.
    Do any of the following:
    To change the font or font size, select the option you want in the Font or Size box.
    To change the alignment, select the option you want in the Alignment box.
    To change the offset from the base text, select the distance you want in the Offset box.

  4. First of all, thanks very much to gweipo and Amanda for showing me that built in Asian Phonetic guide (Format > Asian Layout > Phonetic Guide). That is very cool. Unfortunately it’s only a Hanzi > Pinyin converter, and I’ve already got the pinyin with the tone marks in the document. But I’d seen that before and always wondered how they did that. Thanks!

    That brings me to Pinyin Joe’s plugin: it’s great. I’ll be adding it to my resources link on the side. Thanks so much everyone.

  5. Sorry i can;t help you out on this one. WOW! i never knew about some of these tools before. I have been stupidly cutting and pasting individually from Wenlin for the past while.
    Cheers for the resources

  6. 大家好,

    I came across your blog recently. I’m Chinese but immigrated to a different country when I was young so I’ve never had the chance to learn Chinese. I have always had a communication barrier with my parents. It’s improved quite a bit though, but I’m thinking of learning to type. I’ve just read your post on How to Type PinYin with tone markers and will hopefully soon be able to write emails to my family in China.

    Thanks so much for the insightful posts.

  7. Pingback: The Big Bang Theory: Sheldon’s Chinese | Sinosplice

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.