提取 PDF 表格

从 PDF 文件中提取表格,并导出为 CSV、JSON 或 Markdown 格式。

点击选择文件 或将文件拖放到此处

PDF 文件

您的文件从未离开您的设备。

使用方法

1

Upload File

点击或拖放您的文件到此处

2

Process

点击处理按钮开始

3

Download

立即保存处理后的文件

相关 PDF 工具

Merge PDF

Free online merge PDF tool

Compress PDF

Free online compress PDF tool

Split PDF

Free online split PDF tool

Edit PDF

Free online edit PDF tool

Rotate PDF

Free online rotate PDF tool

常见问题

Which output format should I choose?

CSV opens in Excel, Google Sheets, or any database import. JSON gives an array of rows, each an array of cell strings, for scripts and APIs. Markdown gives a pipe table you can paste into GitHub, a wiki, or documentation.

What do I get when the PDF contains several tables?

Each table is saved as its own file, named like table_1_page3.csv, and all of them are bundled into filename_tables.zip. A single table downloads directly as filename_table.csv, .json, or .md. If you'd rather have every table in one file, use PDF to CSV.

Why does it say no tables were found?

Detection works on the document's text layer. Scanned PDFs contain only an image, so run them through OCR PDF first. Text that only looks like a table because of spacing, with no table structure, may also go undetected.

A table continues over several pages. Will it come out as one file?

No. Each page is scanned separately, so a table that spans pages is exported as one file per page, each with the page number in its name. Join the pieces in a spreadsheet after extraction.

Can I extract tables from only some pages?

The whole document is always scanned, though the page number in each filename tells you where a table came from. To limit the scan, save the pages you need first with Extract Pages and run this tool on the smaller file.

Does the CSV handle commas and line breaks inside cells?

Yes. Cells containing commas, quotes, or newlines are wrapped in double quotes with inner quotes doubled, so spreadsheet software reads them correctly. Empty cells are written as empty fields.

Can tables be extracted from a password-protected PDF?

If the file needs a password to open, you're asked for it before extraction starts, and the tables are read from a decrypted copy held in memory.

Is the PDF uploaded for table detection?

No. The detection engine (PyMuPDF compiled to WebAssembly) is downloaded from a CDN the first time you use it, then runs inside your browser. Your PDF stays on your device.