Till huvudinnehållet
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.

Dra filer hit, eller klicka för att välja

Tar emot PDF · upp till 500.0 MB per fil · upp till 20 filer åt gången

Du kan också klistra in en fil med Ctrl/Cmd+V eller via urklippsmenyn.

Dokumentets språk
Välj högst 4. Färre språk läses snabbare och mer exakt.

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.

Funktioner

  • 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

När du ska använda det här verktyget

  • 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

Gränser och specialfall

  • 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.

Vanliga frågor

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.

Senast uppdaterad:

Anropa från kod

Varje verktyg på webbplatsen är ett vanligt REST-anrop. För anonym användning behövs varken konto eller API-nyckel. Lika mycket för AI-agenter och utvecklare som för webbläsaren.

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

Finns också som MCP-verktyg för klienter som talar Model Context Protocol (JSON-RPC 2.0 via POST /mcp). Fullständig API-referens

Använd den från en AI-agent

Skill

Med den här skillen kan Claude Code, Codex, Cursor och andra AI-agenter köra ”Extrahera tabeller ur PDF” åt dig: /skills/pdf123-pdf-to-tables.md

Alla agent-skills

Filerna används bara för den här körningen och raderas automatiskt efteråt.