Language: English
← Back to HanCam

HanCam · Free pinyin tool

Chinese OCR: image to text with pinyin

Chinese in a screenshot or a picture that you cannot select? Choose the picture here. The page reads the characters, writes the pinyin above them and lets you copy either. The reading runs in your browser, so the picture stays on your device.

The first reading downloads the reader once: about 10 MB, and about 17 MB more the first time a text is Traditional. Nothing is downloaded before you choose an image. On mobile data you may want to wait for Wi-Fi.

Text with pinyin

The characters and their pinyin appear here.

Chinese
Tones

Your image is read on this device. It is not uploaded and not stored. A line marked with a red bar in the result was hard to read: check it against the picture before you copy.

This tool runs in your browser. Nothing you type or paste is sent to a server.

What it reads well

This page reads Chinese text out of a picture and writes the pinyin above every character. It is made for screenshots and clearly printed text: chat messages, web pages, app screens, e-books, subtitles, slides and scanned pages, in Simplified or Traditional Chinese, on a light or a dark background.

In our test with eleven screenshots, some of them with text as small as 12 pixels, it read 826 of 834 Chinese characters correctly. Text and digits in Latin letters are shown as well, without pinyin.

Photos read well when the text is printed and fills most of the picture: a notice, a label, a book page, a single sign. A menu set in columns or a street full of signs comes out with its lines mixed up, so for those point the camera of the HanCam app at the one line you want. Handwriting and lettering on a curve are mostly missed.

Where it is weak

The reader finds lines of text and reads them one by one. It does not understand the picture. Expect wrong or missing characters in these cases:

How it works, and what it downloads

The reading happens on your own device. When you choose your first picture, the page downloads a text reader: about 10 MB, and about 17 MB more the first time it meets Traditional characters. Your browser keeps these files, so later pictures need no download. The picture itself is processed inside the browser tab. It is not uploaded and not stored.

The pinyin comes from the same converter as the Chinese to pinyin tool on this site. It chooses readings from the context and is right most of the time, but a character with more than one reading can come out wrong, and a character that was misread gets the pinyin of the wrong character.

The reader is built on the PP-OCR models of PaddleOCR (Apache License 2.0), run by ONNX Runtime Web (MIT License). Sources and licences

Chinese in front of you: use the camera

This page needs a picture file. For a sign, a menu or a page in front of you, HanCam reads Chinese straight from the camera of your iPhone or iPad and shows the characters with pinyin and tone marks, and the meaning. It reads a photo from your library too. The meaning is in your phone's language where Apple's on-device translation offers it, and in English otherwise.

Read Chinese you cannot copy: signs, menus, books and screenshots.

Download HanCam on the App Store

Free: reading is unlimited, copying 10 times a day. One-time Premium purchase, no subscription. iPhone and iPad, iOS 18 or later.

Questions and answers

Is my picture uploaded?

No. The reader runs in your browser. The page fetches the reader's own files from this site and nothing else. Your picture stays in the browser tab and is gone when you close it or choose another one.

Why does the first picture take longer?

The reader is about 10 MB and is downloaded when you choose your first picture, not before. Your browser keeps it, so the next pictures need no download. Traditional Chinese needs a second, larger file of about 17 MB the first time.

Does it read Traditional Chinese?

Yes. On Automatic the page notices Traditional characters and reads the picture again with the reader made for them. You can also choose Simplified or Traditional yourself. Traditional reads both scripts, a little more slowly.

Which pictures work best?

Screenshots, and pictures in which the text is sharp, evenly lit and not tiny. If a photo reads badly, take it again closer, sharper and straight on.

Can it read handwriting?

No. The reader is made for printed and on-screen text. On handwriting and brush lettering it misses characters and invents others.

Is the pinyin always right?

No. The characters are read first, and a misread character gets the wrong pinyin. For characters that were read correctly the pinyin is chosen from the context and is right most of the time. Check characters that have more than one reading.

Free pinyin tools