Image & Screenshot OCR Guide

Convert Table Images (PNG, JPG, WebP, TIFF) to Clean CSV & Excel

Quick summary: TableCSV turns PNG screenshots, JPG photos, WebP captures, BMPs, and multi-frame TIFF scans into clean Excel-ready UTF-8 CSV, Markdown, and JSON in RAM with automatic EXIF rotation, deskewing, 50 OCR languages, and CWE-1236 formula safety.

Supported image formats

TableCSV validates every upload by file magic bytes and processes raster images through the exact same OpenCV table detector and RapidOCR pipeline used for scanned PDFs:

FormatExtensionsKey Handling in TableCSV
PNG.pngLossless screenshots, dashboard exports, scanned pages
JPEG.jpg, .jpegAutomatic EXIF orientation fix + auto-deskew for phone photos of tables
WebP.webpModern web screenshots and multi-frame WebP archives
TIFF (Multi-Frame).tif, .tiffMulti-page fax/scanner TIFF stacks (up to 50 frames; 12 OCR frames per free web batch)
BMP.bmpUncompressed scanner bitmaps validated via magic-byte header

Built for spreadsheets & safe Excel imports

  • Excel UTF-8 BOM enabled by default: Prevents Microsoft Excel from garbling accented letters, currency signs (€, £, ¥), or Arabic, Cyrillic, and CJK scripts when you double-click a downloaded .csv file.
  • CWE-1236 CSV formula protection: Non-numeric cells starting with spreadsheet formula triggers (=, +, -, @) are neutralized automatically while preserving signed numbers like -$42.50 and +12.5% untouched.
  • Visual grid overlay verification: Toggle Visual grid overlay in Extraction options to inspect every detected header and cell box directly on top of your source image.

Convert folders of images offline (CLI & Python)

Have dozens of scanned receipts, invoices, or PNG exports? Pass multiple images or an entire folder to pdf2csv-tables locally—it sorts filenames naturally (page_1.png … page_10.png) and merges matching table schemas into a single CSV:

pip install pdf-to-csv-table-extractor

# Single image -> Excel-ready CSV
pdf2csv-tables extract invoice_photo.jpg --utf8-bom -o output/

# Folder of naturally sorted images -> schema-merged CSVs + ZIP bundle
pdf2csv-tables extract ./monthly_scans/ --zip --utf8-bom -o output/

# Treat each image independently (no cross-image table merging)
pdf2csv-tables extract sheet_a.png sheet_b.png --separate-images -o output/

Frequently asked questions

Can I convert a photo or screenshot of a table directly to Excel CSV?

Yes. Upload any PNG, JPG, WebP, TIFF, or BMP image to TableCSV. The engine auto-rotates EXIF phone photos, straightens tilted captures, detects bordered or borderless table grids, runs RapidOCR in your chosen language, and exports an Excel-ready UTF-8 BOM CSV with CWE-1236 formula-injection safety.

Does TableCSV support multi-page TIFF files from office scanners?

Yes. Multi-frame TIFF files are read page-by-page just like a multi-page PDF. Matching tables across frames are automatically merged into a single CSV with repeated headers removed (up to 12 frames per free web batch, or unlimited frames locally with the Python CLI).

How do I convert a whole folder of table images into one merged CSV?

Install the free local CLI (`pip install pdf-to-csv-table-extractor`) and pass the folder path: `pdf2csv-tables extract ./monthly_scans/ -o output/`. Images are sorted naturally (page_1.png, page_2.png, ..., page_10.png) and merged across pages by matching column schema.

What image quality gives the best OCR accuracy?

Aim for crisp text at roughly 200–300 DPI equivalent (clear screenshots or evenly lit smartphone photos without harsh shadows across cells). Keep Auto-deskew enabled for angled photos and toggle Detect borderless tables on for unruled pricing sheets or receipts.