Offline receipt OCR in the browser.
Read shop receipts on the user's phone with JavaScript and WebAssembly. No upload, no paid API, works offline.
- Download model, 6,7 MB
- Turn on airplane mode
- Scan or pick a receipt
- Sharp photos give the cleanest reads. Upload a phone photo or try the sample receipt.
The result
The result comes once, as JSON. The form below is an example bookkeeping app.
nota-result
nota-kit vs OCR APIs
OCR APIs read receipts on their servers. nota-kit reads them on the user's phone. Pricing from each provider's public page.
| nota-kit | Veryfi / Tabscanner | Google Document AI | |
|---|---|---|---|
| Receipt photo | Stays on the user's phone | Uploaded to their server | Uploaded to Google Cloud |
| Offline | Works | Doesn't work | Doesn't work |
| Cost per scan | Rp 0 | US$0.06-0.08 per receipt (Veryfi US$500/mo min.) | US$0.10 per receipt (1-10 page block) |
| Output | JSON store, items, total, plus arithmetic checks and review flag | Server JSON | Server Expense Parser JSON |
Checked on 27 November 2026. Sources: Veryfi pricing, Tabscanner, Document AI pricing, Document AI processors.
Install
One JavaScript function for browser and Node. Outputs JSON.
Accuracy
- Arithmetic checks verify the receipt
- Item sum is checked against subtotal and total, and paid minus change against total. Mismatches or missing totals trigger perlu_dicek.
- Try it with your own receipt
- The photo goes nowhere.
| nota-kit | PP-OCRv5 Mobile | Tesseract.js | |
|---|---|---|---|
| All receipt text | 88.0% | 79.4% | 50.8% |
| Prices & amounts | 89.3% | 76.6% | 43.6% |
| Grand total exact | 69.5% | 52.6% | 34.7% |
| Line items exact | 20.7% | 13.0% | 0.0% |
| Asset size | 9.6 MB | 15.0 MB | 15.0 MB |
Test data: 100 real receipt photos from CORD v2 test (CC-BY-4.0) on the same machine (~2.3 s/img in browser). On 100 synthetic receipts, token accuracy is 99.8% and total is 100.0%. Benchmark data and scripts on GitHub
License
Free for anyone, commercial use included. License: Apache-2.0