How-to · PDF Processor

How to Extract Tables from a PDF Locally in Your Browser

Step-by-step guide: load a tabular PDF, detect lattice and borderless stream tables, edit cells in the embedded table editor, and export clean CSV, Markdown, or HTML.

Open PDF Processor Add to VS Code
Free · runs in your browser · your files are never uploaded
How to Extract Tables from a PDF Locally in Your Browser demonstration
PDF Processor — How to Extract Tables from a PDF Locally in Your Browser

TLDR

Open any PDF containing tables, switch to the Doc tab to inspect the auto-detected table grid, and click into any cell to edit numbers or headers. For complex borderless tables, switch to the Analyze tab to adjust column detection thresholds, then click Export to save your tables as clean CSV, Markdown, or structured HTML.


Before you start

You need a PDF with tables and a web browser. PDF Processor extracts tables entirely within your browser memory using local Web Workers: your financial files, invoices, or customer logs never touch an external server.

For this guide, a document with both bordered tables (with lines) and borderless tables (separated by whitespace gutters) is ideal.


Step 1 — Load your document

Click Open File in the top bar and select your PDF document.

Extraction starts immediately. The engine scans character coordinates and vector lines to classify tabular regions without requiring cloud OCR tokens.

Step 1 — Load your document

Step 2 — Review detected tables in the Doc view

Click the Doc tab in the top navigation strip.

The document view renders all detected tables as native, clean HTML <table> elements:

Step 2 — Review detected tables in the Doc view

Step 3 — Edit and format table cells

Click directly into any cell inside the table to make inline corrections.

Step 3 — Edit and format table cells

Step 4 — Inspect table structure in the Analyze tab

If a table with borderless whitespace gutters missed a column boundary, click Analyze in the top tab strip.

  1. The Analyze canvas highlights detected tables with colored bounding boxes (blue for lattice grid tables, green for borderless stream tables).
  2. Look at the right-hand inspection panel to check detected column gutters and Y-band row alignments.
  3. Adjust the Stream Table Sensitivity slider to tune whitespace tolerance until every column gutter is cleanly identified.

Step 5 — Export to CSV, Markdown, or HTML

Once your table structure is verified, click Export in the top-right header:

You can also highlight any table on the page and press Cmd+C / Ctrl+C to paste clean tabular data directly into Microsoft Excel or Google Sheets.

Pro tip: lattice vs stream tables

The extraction engine distinguishes between two distinct table types:

  1. Lattice Tables: Tables enclosed by visible horizontal and vertical ruling lines. The engine traces line intersections to build an exact cell grid.
  2. Stream Tables: Borderless tables where columns are separated purely by whitespace gaps. The engine uses projection histograms along the X-axis to group text baselines into columns.

Next steps

PDF Processor — Pull text, tables, and vector geometry out of PDFs — in the browser, with no upload.