100% Private — Files Never Leave Your Browser

Extract Tables from PDFs
into Google Sheets

Upload a PDF, preview the extracted tables, and download as CSV or Excel — instantly, for free, with no account needed. Works with invoices, reports, bank statements, and more.

PDF → Google Sheets Extractor
Upload .pdf · Auto-detects tables · Export as CSV or Excel
Drag & drop your PDF file
Works best with text-based PDFs (not scanned images)

How to Extract PDF Tables into Google Sheets

1
Upload your PDF
Drag your PDF into the extractor above, or click "Choose File" to browse. Works with invoices, reports, statements, and any text-based PDF.
2
Review extracted tables
The tool scans each page for tabular data. Browse pages and tables, and preview the extracted rows and columns.
3
Download as CSV or Excel
Click "Download CSV" for Google Sheets import, or "Download Excel" for a proper .xlsx file.
4
Import into Google Sheets
Open Google Sheets, go to File → Import → Upload, select your CSV, and click "Import data".

How PDF Table Extraction Works

Extracting tables from PDFs is one of the most requested — and most challenging — data conversion tasks. The fundamental difficulty is that PDF files don't actually contain "tables." Unlike HTML or Excel, where table structure is explicitly defined with rows and columns, a PDF is essentially a set of drawing instructions: put this text at position (x, y), draw a line from here to there, place this image at these coordinates.

What looks like a table to your eyes is really just text items positioned at specific pixel coordinates on the page. To extract a table, the software has to reverse-engineer the structure by analyzing where text items cluster vertically (rows) and horizontally (columns), then reconstruct the grid.

How This Tool Reconstructs Tables

This tool uses PDF.js, Mozilla's open-source PDF rendering engine, to extract every text item from each page along with its exact (x, y) coordinates. It then uses a clustering algorithm to group nearby X positions into columns and groups items by their Y position into rows. The result is a reconstructed grid that represents the table as you see it on the page.

When multiple tables exist on a single page, the tool detects gaps in the data — areas where rows have significantly fewer filled cells — and splits them into separate tables. You can switch between detected tables using the table selector tabs.

Text-Based vs. Scanned PDFs

There are two fundamentally different types of PDFs, and understanding the difference is crucial for table extraction. Text-based PDFs are generated digitally — they were created by software (like Excel, Word, a billing system, or a web browser's "Print to PDF" function). These contain actual text data that can be selected, copied, and extracted. This tool works with text-based PDFs.

Scanned PDFs are images of paper documents. When you scan a document on a flatbed scanner or take a photo of a page, the resulting PDF contains a picture of text, not actual text characters. No amount of coordinate analysis can extract text from an image — you need OCR (optical character recognition) for that. A quick test: try selecting text in your PDF viewer. If you can highlight individual words, it's text-based. If the entire page selects as one block, it's scanned.

Best Types of PDFs for This Tool

Bank and financial statements: These are almost always text-based and have clean, consistent table structures. Transaction tables, account summaries, and balance sheets extract reliably.

Invoices and purchase orders: Line items, quantities, prices, and totals are typically arranged in well-structured tables that extract cleanly.

Government and regulatory reports: Published data tables from agencies, census data, and statistical reports are usually digitally generated with consistent formatting.

System-generated reports: Any PDF exported from software (ERP systems, CRM tools, analytics platforms) contains text-based data that extracts well.

Frequently Asked Questions

Is my PDF safe? Does it get uploaded anywhere?
Completely safe. This tool runs 100% in your browser using JavaScript. Your PDF is never sent to any server — it's processed locally and discarded when you close the tab.
What types of PDFs work best?
PDFs with text-based tables work best — this includes reports, invoices, bank statements, data exports, and any PDF that was generated digitally (not scanned from paper). If you can select and copy text in your PDF viewer, it will work here.
Can I extract tables from scanned PDFs?
Not with this tool. Scanned PDFs contain images rather than text data. You'd need an OCR (optical character recognition) tool first — Google Drive actually has built-in OCR: upload the PDF to Drive, right-click, and "Open with Google Docs" to extract the text.
What if my PDF has multiple tables?
The tool detects multiple tables per page and lets you switch between them using the table selector tabs. You can preview and export each table separately.
The extraction doesn't look right. What can I do?
PDF table extraction is tricky because PDFs don't actually contain "tables" — they contain text positioned at specific coordinates. If the result looks off, try: (1) checking if the PDF is scanned vs text-based, (2) opening the PDF in Google Docs first (which has its own extraction engine), or (3) using a desktop tool like Tabula for complex layouts.
Is there a page or file size limit?
No hard limit. Processing happens in your browser, so speed depends on your device. PDFs up to ~20MB and 100+ pages work well in most browsers. Very large files may take a few seconds to process.