Receipt OCR
Python CLI, library and web API that reads receipt images and returns merchant, date, total and line items as JSON, using an LLM API key you supply.
Receipt OCR (v0.4.0, Oct 2026, ~750 stars) is a developer tool, not a phone app. Its receipt-ocr command, Python library and FastAPI web service send a receipt image to an LLM and return structured JSON (merchant, date, total, line items). It needs an API key: the docs cover OpenAI, Google Gemini and Groq through an OpenAI-compatible setting; local models are not documented. A separate Tesseract module extracts raw text on your own machine with no key. MIT licence; install with pip or run in Docker. No receipt storage or expense tracking app is included.
The facts
| Question | Answer | Source | Checked |
|---|---|---|---|
| Runs on my machine? | Partly. The CLI and web API run on your computer or server, but structured extraction sends images to a hosted LLM API; only the Tesseract raw-text module is fully local | github.com | Checked 3 weeks ago |
| Code licence | Open source. MIT | github.com | Checked 3 weeks ago |
| Commercial use | Yes. The MIT licence allows commercial use. Your LLM provider's own terms also apply | github.com | Checked 3 weeks ago |
| Paid services needed? | Optional. Structured extraction needs an LLM API key (OpenAI, Google Gemini or Groq are documented); the Tesseract raw-text module needs none | github.com | Checked 3 weeks ago |
| Hardware | No minimum figures stated; the AI work happens at the API provider, and Tesseract runs on an ordinary CPU | github.com | Checked 3 weeks ago |
| Operating systems | Any system with Python 3.10 or newer; the package is marked OS independent and its tests run on Linux, Windows and macOS. Docker images for servers | github.com | Checked 3 weeks ago |
| Setup effort | Medium; pip install, set an API key, then run the command on an image. It is a command-line and API tool with no graphical app | github.com | Checked 3 weeks ago |
Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.
No licence changes since we started watching. Licence changes: follow Receipt OCR and we email you if its terms change.
Where to run it
Receipt OCR can run on your own server. If you don’t have one, these hosts can run it for you.
Referral links: we may earn a commission if you sign up and pay, at no extra cost to you. They never change our facts, rankings or comparisons. How we keep them separate.
Stars over time
Building history +4 stars this week. Too early to say if that’s fast or slow for it: that needs five weeks of daily counts. Stars show attention, not quality. Where these numbers come from.