Image to Excel OCR API for Automated Table Pipelines
Turn JPG, PNG, and WebP photos or screenshots of printed tables into deterministic Excel (.xlsx), UTF-8 CSV, and JSON rows in one REST call—including borderless layouts and bilingual Arabic–English sheets.
curl -X POST "https://api.structocr.com/v1/image-to-excel" \
-H "x-api-key: YOUR_API_KEY" \
-F "file=@./price-sheet-photo.jpg"{
"success": true,
"mode": "tables",
"document": {
"tables": [{
"id": "table_1",
"title": "Pricing Schedule",
"headers": ["SKU", "Description", "Qty", "Price"],
"rows": [
["SKU-101", "Steel Bracket", "24", "$18.50"],
["SKU-102", "Hex Bolt Pack", "50", "$9.00"],
["SKU-103", "Mounting Plate", "12", "$42.00"]
]
}]
},
"usage": { "pages_succeeded": 1, "credits_charged": 2 }
}Need a browser tool or no-code workflow right now?
Convert Any Table Image into Spreadsheet Rows Without Templates
Plain image-to-text OCR strips away column alignment and dumps broken lines into text strings. StructOCR parses visual grid structure directly into rectangular arrays ready for Excel, Google Sheets, and SQL.
Photos, Screenshots & Scans
Extract clean rows from smartphone photos of printed sheets, WhatsApp price lists, cropped screenshots, and 150+ DPI scans (JPG, PNG, WebP).
Borderless Grid Alignment
Detects whitespace-aligned columns, wrapped descriptions, and empty cells so every row matches headers.length without column drift.
Bilingual Arabic & Global UTF-8
Preserves mixed RTL Arabic and LTR English columns, European accents, and currency symbols—ready for Excel UTF-8 workbooks.
XLSX, CSV & Sheets Ready
Deterministic headers[] and rows[][] serialize in two lines to openpyxl .xlsx, Node exceljs, RFC-4180 CSV, or Google Sheets API.
Built for n8n & Low-Code
One multipart HTTP Request node plus our ready-to-import n8n template turns incoming photos into Excel files or Google Sheets rows.
Strict Zero Data Retention
In-memory execution only: zero storage bucket writes, raw_response: null in audit logs, and automatic credit refunds on failed calls.

From Phone Photos & Screenshots to Production Spreadsheets
Send supplier price lists, warehouse count clipboards, financial snapshots, or bilingual Arabic–English tables via direct binary upload—or test in your browser with our free Image to Excel converter and n8n automation guide.
POST Binary Image
Upload a JPG, PNG, or WebP up to 10 MB via multipart/form-data to /v1/image-to-excel.
Vision Table Parsing
Visual layout extraction aligns bordered and borderless columns, even on phone photos.
Export XLSX or Sync
Write headers[] and rows[][] directly into Excel (.xlsx), UTF-8 CSV, SQL, or Google Sheets.
Clean Rectangular Rows Ready for Excel, CSV & BI
Every row inside document.tables[].rows matches the exact column count of headers[], preventing shifted spreadsheet columns in downstream Python, Node.js, or n8n pipelines.
Extraction Modes
mode="tables" (default)Returns: document.tables[] with id, title, headers[], and rectangular rows[][] arrays
Best for: Direct Excel (.xlsx) workbook generation, CSV exports, Google Sheets sync, supplier price sheets
mode="auto"Returns: document.summary, key-value document.fields, plus every detected table in document.tables[]
Best for: Photographed quotes, order forms, inventory sheets with store/date headers above the grid
mode="json" + schemaReturns: Strict schema-locked custom_data (up to 50 fields, depth 4) with null for absent values
Best for: ERP/database ingestion where fixed column names and numeric types must be enforced
Download our ready-to-import n8n workflow template to capture JPG/PNG uploads from forms, Gmail, or Google Drive and write extracted rows straight to Excel (.xlsx) or Google Sheets.
Read the n8n Image to Excel setup guideTest Image to Excel Extraction Live
Drop a JPG, PNG, or WebP table image below to inspect the structured grid, download an .xlsx file, and copy the exact POST /v1/image-to-excel snippet.
Live Demo: Image to Excel Converter
No registration required. Try an instant sample or upload a JPG, PNG, or WebP table image up to 10 MB.
Drop a JPG, PNG, or WebP table image here, or click to browse
JPG · PNG · WebP (or scanned PDF) · max 10 MB · photos, screenshots & bilingual tables
Integrate in 5 Minutes with Python, Node.js, Go, PHP, C#, Java, or n8n
Full multipart examples (including direct openpyxl Excel generation and n8n Code node expansion), status codes, and zero-retention specs are documented in our API reference.
Image to Excel API Frequently Asked Questions
Ready to Build with StructOCR?
Get your API key in under a minute. New users receive 200 free credits to test Passport, VIN, License Plate, Container, Receipt, HIN, Driver License, ID Card, Vehicle Registration, Weighbridge Ticket, ATM Cassette and Invoice OCR APIs.
✓ No credit card required · ✓ Instant API key · ✓ Full API access