• Tesseract.js reads text from images in the browser. The JavaScript library runs the Tesseract OCR engine through WebAssembly and supports more than 100 languages.
  • The language setting changed what we could read. On two sample receipts, Korean and Japanese settings recovered the total labels that the English setting missed.
  • Check the currency against the image. Both local-language runs kept the amount digits but read the currency symbol as a backslash.

Two receipts, four OCR runs

Imagine filing trip expenses from a Korean café and a Japanese convenience store. We made two fictional receipt images for this test. The Korean slip shows 바다커피, the date 2026-11-10 and a total of ₩12,500. The Japanese one shows さくらマート, the same date and a total of ¥1,280. The PNGs below are the exact files the browser read.

Fictional Korean café receipt from 바다커피 dated 2026-11-10 with a total of ₩12,500
Korean café receipt, total ₩12,500. Original AI Tool Radar test image with fictional details.
Fictional Japanese convenience store receipt from さくらマート dated 2026-11-10 with a total of ¥1,280
Japanese convenience store receipt, total ¥1,280. Original AI Tool Radar test image with fictional details.

We used Tesseract.js 7.0.0 in Chrome on November 18, 2026. Each image went through two runs. The first loaded English (eng), and the second loaded Korean (kor) or Japanese (jpn). Each pair used the same 660 × 850 PNG without preprocessing. All four runs used the LSTM engine (OEM 1), single-block segmentation (PSM 6), and the 4.0.0_best_int language data. The browser loaded both images, the OCR engine and the language files from a local test server. We blocked non-local requests during the test. Tesseract.js project documentation · Tesseract language codes

What the browser actually read

All four runs kept the date and the total’s digits. The language setting had a visible effect on the words around those digits. With Korean, the store name and 합계 came through. With Japanese, 合計 came through and the store name was readable with extra spaces. The excerpts preserve the OCR characters. The full output below preserves spacing and line breaks.

Swipe or scroll horizontally to view all columns.

Store-name and total excerpts from the four OCR runs
Image English setting Matching language setting
Korean HE C7 of
Al W12,500
바다커피
합계 \12,500
Japanese I< pv—F
At ¥1,280
さく ら マ ー ト
合計 \1,280
Show the complete OCR text for all four runs

Korean receipt, English setting

HE C7 of

of IF

SR 2026-11-10

Of 2 Zt 5,000
HE 3 F0te 7.500
Al W12,500
ol 83H FMAM ZARELICH

Korean receipt, Korean setting

바다커피

구매 영수증

날짜 2026-11-10

아메리카노                                  5000
버터 크루아상              7,500
합계                \12,500
이용해 주셔서 감사합니다

Japanese receipt, English setting

~
I< pv—F
HE EITHER
H{+ 2026-11-10
BIE 380
BF 220
HRA YF 680
At ¥1,280
CHRHYINES TENET

Japanese receipt, Japanese setting

に 】
さく ら マ ー ト
お 買い 上 げ 明 細
日 付 2026-11-10
お に ぎり 380
お 茶 220
サン ドイ ッ チ 680
合計 \1,280
ご 利用 あり が と う ご ざ いま す

Both matching-language runs returned a literal backslash (U+005C) in place of the currency sign. Check the symbol on the receipt before assigning a currency. The Japanese run also added an extra line above the store name. The receipt OCR experiment on GitHub includes both PNGs and all four OCR transcripts. This comparison covers two clean, machine-printed images. If you are working from crumpled or faded slips, check a sample of those images before relying on the output.

How to use Tesseract.js in a browser

  1. Start with an image. Use a clear PNG or JPEG with the whole total line visible. For a scanned PDF, render the page you need to an image first.
  2. Choose the language data. Load kor for a Korean slip or jpn for a Japanese slip. For an image containing two languages, the worker accepts an array of language codes. Try that setup on examples from your own files.
  3. Keep the original beside the result. Show the text the worker returns next to the image. After reading a batch in one language, close the worker.

The JavaScript API loads the engine and language files before the worker can read an image. A first run may have to download these files. If your app needs to work without an external connection, host the assets locally and check the app’s network requests. Tesseract.js 7.0.0 worker options

Turn recognized text into checked expense rows

OCR returns text. Your app or spreadsheet still needs to identify which line is the total, normalize the amount and assign a currency. In these two examples, we confirmed the currency from the original images before preparing the rows below. You can keep a field blank and mark it for review when a symbol is ambiguous.

Swipe or scroll horizontally to view all columns.

Example expense rows verified against the original images
Merchant Date Amount Currency What we checked
바다커피 2026-11-10 12,500 KRW The original shows ₩.
さくらマート 2026-11-10 1,280 JPY The original shows ¥. The store name has no spaces.

For a reimbursement workflow, keep the image tied to the expense row and send any unclear date, total or currency for review. If the incoming files first need to be sorted by document type, start with our supplier PDF classification guide. Sorting the files and reading their fields are two distinct steps.

← Back to Tech Guides
Tech Guides
Turn a PDF Into Editable Markdown With Docling ↗