Description
Zerox is an OCR and document extraction tool that uses vision language models to turn documents into Markdown for AI ingestion. The approach is to convert the file into a series of page images, send each image to a vision model with a request for Markdown, then combine the responses into one output. This suits documents with unusual layouts, tables and charts, which plain text extraction often mangles. Zerox is available as a Node.js package and a Python package. Both accept PDFs, DOCX files and images, and both support OpenAI, Azure OpenAI, AWS Bedrock and Google Gemini models, with Vertex AI in the Python package. The Node version can extract structured data with a schema, and it can extract data per page, handle errors in several modes, correct orientation and trim edges. The Python version supports custom system prompts. Both support concurrent processing and a temporary directory setting. The maintainFormat option passes each page's output into the next page's request, which keeps table formats consistent across page breaks, at the cost of running requests in sequence. The Node version needs GraphicsMagick and Ghostscript for PDF conversion, and the Python version needs poppler. The site offers a hosted version and full documentation.…
Highlights
- OCR with vision language models
- Node.js and Python packages
- PDF, DOCX and image input
- OpenAI, Azure, Bedrock and Gemini support
- Structured data extraction with a schema
- maintainFormat keeps tables consistent across pages
Ratings & Reviews
No ratings yet
Be the first to rate Zerox.
People also visit
Zerox FAQ
What does Zerox do?
It converts documents such as PDFs, DOCX files and images into Markdown by sending page images to a vision model.
Which languages can I use?
There is a Node.js package and a Python package, with a feature table in the README showing what each one supports.
Which model providers are supported?
OpenAI, Azure OpenAI, AWS Bedrock and Google Gemini, with Vertex AI in the Python package.
Can it extract structured data?
Yes, in the Node version, using a schema. The README also describes per-page extraction.
What does maintainFormat do?
It passes the output of each page into the next page's request to keep tables consistent, but it makes the requests run in sequence, so it is slower.
What do I need installed?
GraphicsMagick and Ghostscript for PDF processing in Node, and poppler for PDFs in Python.
What are the best Zerox alternatives?
Popular alternatives to Zerox include Scribeocr, Extend AI and FrankenOCR. See all Zerox alternatives









