Langkau ke kandungan utama
PPDF123

Extract Tables From a PDF

Extract Tables finds aligned table rows in a PDF, shows each table in an editable preview, and exports your corrected rows as Excel or CSV. Pages without text can be read with OCR, so check numbers read from scans before relying on them.

Seret dan lepaskan fail di sini, atau klik untuk pilih

Menerima PDF · sehingga 500.0 MB setiap fail · sehingga 20 fail sekali gus

Anda juga boleh menampal fail dengan Ctrl/Cmd+V atau dari menu papan keratan.

Bahasa dokumen
Pilih sehingga 4. Bahasa yang lebih sedikit dibaca dengan lebih pantas dan tepat.

Extract Tables finds table-like blocks in a PDF and shows them in a preview you can correct before anything is downloaded. Rows are detected from aligned columns in the PDF's text layer, and columns follow the blank channels the rows share, so a cell left empty keeps its place instead of shifting the rest of the row.

In the preview, click a cell to fix it, delete a stray row or column, merge a wrapped line into the row above, or untick a table you do not want. Excel and CSV downloads use exactly what the preview shows. In Excel, plain numbers such as 1,234.50 become numeric cells, while values with leading zeros, symbols or units stay text.

Scanned pages are optional. With OCR on, pages that have no text layer are rendered, recognized with Tesseract in the languages you choose, and rebuilt into rows from the word positions. That works best on clean, straight scans; check amounts and dates read from a scan before you rely on them. Up to 50 pages that need OCR are handled per request on this site.

Ciri

  • Editable preview: fix cells, delete rows or columns, merge wrapped lines
  • Excel and CSV exports built from the corrected preview
  • Empty cells keep their column; plain numbers become numeric cells in Excel
  • Optional OCR for scanned pages, with a language choice
  • Optional page range

Bila menggunakan alat ini

  • Moving a bank or card statement into a spreadsheet
  • Extracting an invoice's line items or a report's tables
  • Checking what a PDF's tables look like before choosing an export

How do I extract tables from a PDF?

  1. Upload the PDF and, if needed, enter a page range
  2. Leave OCR on for scanned pages and pick their languages, or turn it off to read only the text layer
  3. Click Process and review each table in the preview
  4. Correct anything that is off, then download Excel or CSV

Had dan kes khas

  • Detection needs aligned columns; tables typeset with single spaces between columns may not register
  • Merged cells, colored headers and borders are not reconstructed
  • OCR on scans is less exact than reading a text layer: verify figures, dates and signs
  • At most 50 pages that need OCR per request on this site
  • Upload limit on this website: 500 MB per file, sent in chunks above about 95 MB. A single direct API request body is capped at 100 MB.

Soalan lazim

Why were no tables found?
A table needs at least two rows with aligned columns. Prose, a single row and tables with single-space gaps do not qualify. For image-only pages, keep OCR on.
How accurate is OCR on a scanned table?
It depends on the scan. Clean, straight, high-resolution pages usually come out well, but a wrong digit or a shifted column is possible, so check the preview before exporting.
Why is a number stored as text in Excel?
Only plain numbers become numeric cells. Values with a leading zero, a currency symbol, a percent sign or a unit stay text so account numbers and codes are not altered.
Does the preview change my PDF?
No. Edits only affect the Excel or CSV you download; the PDF is left alone.

Kemas kini terakhir:

Panggil dari kod

Setiap alat di laman ini ialah panggilan REST biasa. Penggunaan tanpa nama tidak perlukan akaun atau kunci API. Untuk pelayar, pembangun dan ejen AI sama-sama.

curl -X POST "https://pdf123.xyz/api/v1/convert/pdf/tables" \
  -F "[email protected]" \
  -F "pageNumbers=all" \
  -F "ocr=auto" \
  -F "languages=eng" \
  -o output.pdf

Juga tersedia sebagai alat MCP untuk klien ejen yang menggunakan Model Context Protocol (JSON-RPC 2.0 melalui POST /mcp). Rujukan API penuh

Gunakan melalui ejen AI

Skill

Dengan skill ini, Claude Code, Codex, Cursor dan ejen AI lain boleh menjalankan "Ekstrak Jadual daripada PDF" bagi pihak anda: /skills/pdf123-pdf-to-tables.md

Semua skill ejen

Fail hanya digunakan untuk pemprosesan ini dan dipadam secara automatik selepas itu.