Turn paperwork into data
Read a PDF or photo on your device, pull out the fields you need, and check every value against the document. A free alternative to Google Document AI — setup guide and prices for the real service are in the second tab.
1 · Add the document
Drop a PDF or image here
PDF up to 20 pages · JPG/PNG/WEBP. Files never leave your device.
2 · Text found
3 · Extract fields
Google Document AI — cost calculator
List prices (USD), pay-as-you-go: Enterprise OCR $1.50 per 1,000 pages (first 1,000 pages/month free; $0.60 above 5M); Form Parser and Custom extractor $30 per 1,000 pages up to 1M pages, $20 above; Layout Parser $10 per 1,000 pages; Custom classifier/splitter $5 per 1,000 pages up to 1M, $3 above; Invoice and Expense parsers $0.10 per document of up to 10 pages. Savings plans are 10–20 % lower. Failed requests are not billed. Source: cloud.google.com/document-ai/pricing, checked 2026-11-26.
Set up the real API
- Google Cloud Console → enable Document AI API → attach billing.
- Document AI → Create processor (e.g. Invoice parser) in region
usoreu; note the processor ID. - Create a service account with the “Document AI API User” role and call it from your server (OAuth access token, not an API key):
curl -X POST \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
"https://us-documentai.googleapis.com/v1/projects/PROJECT_ID/locations/us/processors/PROCESSOR_ID:process" \
-d '{"rawDocument":{"mimeType":"application/pdf","content":"'"$(base64 -w0 invoice.pdf)"'"}}'
How this works & limits
- PDF text: pdf.js 3.11 reads the text layer of digital PDFs. Pages with no text layer (scans) are rendered and read with Tesseract.js 5 OCR (English).
- Quick facts (dates, money amounts, e-mails, phone numbers) are found with plain patterns — no AI.
- AI extraction: up to 12,000 characters of text go to
POST site-api /ai/chatwith a JSON schema for the chosen document type. Each returned value is then searched for in the document text: ✓ found, ⚠ not found verbatim (check it — it may be reformatted or invented). Results are labelled AI-generated. - Handwriting, tables and checkboxes are much better in Google Document AI’s specialised processors.