Converting Chinese characters to Pinyin or Jyutping on Google Sheets

Luc Wastiaux
May 2, 2019 · 2 min read

If you study Mandarin, you probably know what Pinyin is. In Cantonese, Jyutping fulfills a similar role. Dictionaries will show you the Pinyin for individual words, but if you want to quickly convert whole sentences, such as when taking notes during a Chinese lesson, you need better tools.

Support my work on this add-on

Step 1: new spreadsheet

Open new spreadsheet on . Enter the following column headers: Chinese and Pinyin.

Step 2: choose add-on

In the Add-ons menu, choose Get add-ons, then in the search bar, type mandarin. Install the Mandarin Cantonese Tools add-on by clicking the + Free button.

Step 3: use pinyin conversion function

In your spreadsheet in cell A2, type a Chinese word or sentence, such as 谈生意. In cell B2, type =PINYIN(A2) (don’t forget to start with the = sign). Then press Enter. After a while, you should see the equivalent pinyin.

You can also use =JYUTPING(A2) if you are learning Cantonese.

Step 4: extend the formula to other rows

Drag the lower right hand square while on cell B2 to extend the formula to subsequent rows.

Done ! You can now quickly convert lots of chinese words or sentence to pinyin, which is particularly useful when taking notes during a Chinese lesson, especially if you’re going to convert those notes to flashcards. You can directly export the result to CSV and import into Anki.

Follow me on Patreon to receive updates about new functionality:

This addon makes use of the following open source library:

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store