Each table comes back as JSON with its title, columns, rows and the page of every row, up to 200 a document, plus an Excel sheet per table and a stacked CSV. $0.02 a page, 50 pages free, 250 pages a job.
PDF table extraction API, scans too
Up to 200 rows a page and 2,000 characters a cell: a table that runs over a page break stays one table, repeated header lines are skipped, and text that wraps inside a cell joins its row.
Updated
Example
A price list that runs over two pages
table-larkspur.pdf is a plant nursery price list with six columns, split over two pages. It comes back as one table.
POSTapi.parserkit.com/v1/parse?wait=60
curl "https://api.parserkit.com/v1/parse?wait=60" \
-H "Authorization: Bearer $PARSERKIT_API_KEY" \
-F file=@table-larkspur.pdf \
-F preset=generic_tableimport os
import requests
with open("table-larkspur.pdf", "rb") as file:
res = requests.post(
"https://api.parserkit.com/v1/parse",
params={"wait": 60},
headers={"Authorization": f"Bearer {os.environ['PARSERKIT_API_KEY']}"},
files={"file": file},
data={"preset": "generic_table"},
)
job = res.json()
print(job["verification"]["status"], job["verification"]["coverage"])import { openAsBlob } from "node:fs";
const form = new FormData();
form.append("file", await openAsBlob("table-larkspur.pdf"), "table-larkspur.pdf");
form.append("preset", "generic_table");
const res = await fetch("https://api.parserkit.com/v1/parse?wait=60", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PARSERKIT_API_KEY}` },
body: form,
});
const job = await res.json();
console.log(job.verification.status, job.verification.coverage);{
"id": "job_2tikgoo3g3k5gvq33ox9",
"status": "succeeded",
"preset": "generic_table",
"pages": 2,
"cost_usd": 0.04,
"verification_status": "verified",
"data": {
"tables": [
{
"title": "Prices in EUR per plant, excluding VAT. Minimum order per line in plants.",
"page_start": 1,
"page_end": 2,
"columns": [
{
"name": "CODE",
"type": "string"
},
{
"name": "PLANT",
"type": "string"
},
{
"name": "POT",
"type": "string"
}
],
"rows": [
[
"LH-1001",
"Acer palmatum 'Bloodgood'",
"C10",
"80-100 cm",
24.5,
5
],
[
"LH-1002",
"Acer palmatum 'Sango-kaku'",
"C10",
"80-100 cm",
26.8,
5
],
[
"LH-1003",
"Amelanchier lamarckii",
"C15",
"125-150 cm",
31.2,
3
],
[
"LH-1004",
"Betula utilis 'Doorenbos'",
"C25",
"200-250 cm",
58,
2
],
[
"LH-1005",
"Buxus sempervirens",
"C2",
"20-25 cm",
3.15,
25
],
[
"LH-1006",
"Carpinus betulus",
"C3",
"60-80 cm",
4.9,
25
],
[
"LH-1007",
"Cornus alba 'Sibirica'",
"C3",
"40-60 cm",
4.4,
10
],
[
"LH-1008",
"Cornus kousa 'China Girl'",
"C15",
"100-125 cm",
42.6,
3
],
[
"LH-1009",
"Euonymus alatus 'Compactus'",
"C5",
"40-50 cm",
9.8,
10
],
[
"LH-1010",
"Fagus sylvatica",
"C3",
"60-80 cm",
5.2,
25
],
[
"LH-1011",
"Hamamelis x intermedia 'Arnold Promise'",
"C10",
"60-80 cm",
36.5,
3
],
[
"LH-1012",
"Hydrangea paniculata 'Limelight'",
"C5",
"40-60 cm",
11.9,
10
],
[
"LH-1013",
"Hydrangea macrophylla 'Endless Summer'",
"C5",
"30-40 cm",
12.4,
10
],
[
"LH-1014",
"Ilex crenata 'Dark Green'",
"C3",
"25-30 cm",
5.6,
25
],
[
"LH-1015",
"Lavandula angustifolia 'Hidcote'",
"P9",
"10-15 cm",
1.95,
50
],
[
"LH-1016",
"Ligustrum ovalifolium",
"C3",
"60-80 cm",
3.8,
25
],
[
"LH-1017",
"Magnolia stellata",
"C10",
"60-80 cm",
34.9,
3
],
[
"LH-1018",
"Malus 'Evereste'",
"C25",
"200-250 cm",
64,
2
],
[
"LH-1019",
"Nandina domestica",
"C5",
"40-50 cm",
13.2,
10
],
[
"LH-1020",
"Osmanthus x burkwoodii",
"C5",
"40-50 cm",
14.6,
10
],
[
"LH-1021",
"Photinia x fraseri 'Red Robin'",
"C5",
"60-80 cm",
10.8,
10
],
[
"LH-1022",
"Pieris japonica 'Mountain Fire'",
"C5",
"30-40 cm",
13.9,
10
],
[
"LH-1023",
"Prunus laurocerasus 'Rotundifolia'",
"C5",
"60-80 cm",
9.4,
10
],
[
"LH-1024",
"Prunus serrulata 'Kanzan'",
"C25",
"200-250 cm",
61.5,
2
],
[
"LH-1025",
"Pyrus calleryana 'Chanticleer'",
"C25",
"250-300 cm",
72,
2
],
[
"LH-1026",
"Rhododendron 'Cunningham's White'",
"C10",
"40-50 cm",
22.8,
5
],
[
"LH-1027",
"Rosa 'Gertrude Jekyll'",
"C4",
"40-60 cm",
12.9,
10
],
[
"LH-1028",
"Rosa rugosa 'Alba'",
"C3",
"40-60 cm",
6.4,
25
],
[
"LH-1029",
"Salvia nemorosa 'Caradonna'",
"P9",
"10-15 cm",
2.25,
50
],
[
"LH-1030",
"Sambucus nigra 'Black Lace'",
"C5",
"60-80 cm",
12.7,
10
],
[
"LH-1031",
"Skimmia japonica 'Rubella'",
"C3",
"20-25 cm",
8.6,
10
],
[
"LH-1032",
"Sorbus aucuparia",
"C15",
"150-175 cm",
33.4,
3
],
[
"LH-1033",
"Spiraea japonica 'Goldflame'",
"C3",
"30-40 cm",
5.1,
25
],
[
"LH-1034",
"Syringa vulgaris 'Madame Lemoine'",
"C10",
"80-100 cm",
27.9,
5
],
[
"LH-1035",
"Taxus baccata",
"C5",
"40-50 cm",
11.2,
10
],
[
"LH-1036",
"Thuja occidentalis 'Smaragd'",
"C10",
"100-125 cm",
17.8,
10
],
[
"LH-1037",
"Viburnum opulus 'Roseum'",
"C5",
"60-80 cm",
11.6,
10
],
[
"LH-1038",
"Viburnum tinus",
"C5",
"40-60 cm",
10.9,
10
],
[
"LH-1039",
"Weigela florida 'Bristol Ruby'",
"C3",
"40-60 cm",
5.7,
25
],
[
"LH-1040",
"Anemone x hybrida 'Honorine Jobert'",
"P9",
"10-15 cm",
2.45,
50
],
[
"LH-1041",
"Astilbe chinensis 'Pumila'",
"P9",
"10-15 cm",
2.1,
50
],
[
"LH-1042",
"Echinacea purpurea 'Magnus'",
"P9",
"10-15 cm",
2.35,
50
],
[
"LH-1043",
"Geranium 'Rozanne'",
"P9",
"10-15 cm",
2.9,
50
],
[
"LH-1044",
"Hosta 'Patriot'",
"C2",
"15-20 cm",
4.8,
25
],
[
"LH-1045",
"Nepeta x faassenii",
"P9",
"10-15 cm",
2.05,
50
],
[
"LH-1046",
"Pennisetum alopecuroides 'Hameln'",
"C2",
"30-40 cm",
4.6,
25
],
[
"LH-1047",
"Rudbeckia fulgida 'Goldsturm'",
"P9",
"10-15 cm",
2.15,
50
],
[
"LH-1048",
"Sedum 'Herbstfreude'",
"P9",
"10-15 cm",
1.95,
50
],
[
"LH-1049",
"Stipa tenuissima",
"P9",
"20-30 cm",
2.2,
50
],
[
"LH-1050",
"Verbena bonariensis",
"P9",
"10-15 cm",
1.9,
50
],
[
"LH-1051",
"Calamagrostis 'Karl Foerster'",
"C2",
"40-60 cm",
4.7,
25
],
[
"LH-1052",
"Miscanthus sinensis 'Gracillimus'",
"C3",
"60-80 cm",
7.4,
10
]
],
"row_pages": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
}
]
},
"verification": {
"status": "verified",
"coverage": {
"values": 319,
"checked": 319
}
},
"outputs": [
{
"name": "output.json",
"bytes": 75337
},
{
"name": "output.xlsx",
"bytes": 10061
},
{
"name": "output.csv",
"bytes": 3109
}
],
"warnings": []
}Real response from . Trimmed to 3 of 6 columns, with bounding boxes, empty fields and file links left out.
Try it on this fileTable extraction tools side by side
Requirements from each project's own page, as of November 2026.
| Tool | Price | Scanned PDFs | Needs |
|---|---|---|---|
| parserkit | $0.02 a page, 50 pages free | Yes, read with OCR | An API key |
| Camelot | Free, MIT license | Only with the ml and ocr extras | Python 3.10 or newer |
| Tabula | Free, MIT license | No, text-based PDFs only | Java 8 or newer |
| pdfplumber | Free, MIT license | No OCR | Python 3.8 or newer |
Sources: Camelot on PyPI, Tabula README, pdfplumber on PyPI
Output
What comes back for every table
Tables
Title, first and last page, and columns with a name and a type.
Rows
Each row as a list of cells, plus
row_pageswith the page every row came from.Page breaks
A table that continues on the next page stays one table, and repeated header lines are skipped.
Wrapped text
Text that wraps inside a cell is joined to its row.
Scans
Scanned pages are read with OCR; pages with a text layer use the PDF's own text.
Files
output.xlsxwith one sheet per table, andoutput.csvwith every table stacked and numbered.
Tables that run over several pages
POST the file to /v1/parse with the generic_table preset. Every table comes back with a title, the pages it spans, its columns with a name and a type, the rows, and the page of each row. A table that runs over a page break stays one table, header lines repeated on the next page are skipped, and text that wraps inside a cell is joined to its row. Past 200 rows per page of the file, the job warns TABLES_TRUNCATED and says how many rows it left out.
Excel and CSV out
Every job writes output.xlsx with one sheet per table and output.csv with all tables stacked and a table number column, next to output.json. Files stay downloadable for 7 days, or 90 days on Pro.
Every row traced to its page
Each cell is matched against the words printed inside its own box on the page, and the response counts how many were found. row_pages gives the page of every row, so any line in your sheet leads straight back to the page it came from.
What it costs
$0.02 a page, so a 40-page catalogue costs $0.80, and $0.01 a page past 5,000 pages in a UTC month. The first 50 pages are free with no card; see pricing.
What the libraries and Textract leave to you
Camelot, Tabula and pdfplumber cost nothing to install, but they need a text-based PDF: Tabula and pdfplumber have no OCR, and Camelot reads a scan only with its ml and ocr extras. Amazon Textract hands each table back as TABLE and CELL blocks with a row and column index, with merged cells, titles and footers in blocks of their own, and your code rebuilds the rows and writes the files.
parserkit skips that work. One POST, scans and photos included, returns finished rows with named, typed columns, the page of every row, an Excel sheet per table and a stacked CSV, at $20 per 1,000 pages.
FAQ
Common questions
Does it work on scanned PDFs?
Yes. Scanned pages are read with OCR, and photos in JPEG, PNG, WebP, HEIC or TIFF work the same way. Pages with a text layer use the PDF's own text.
What happens to a table that continues on the next page?
It stays one table. Header lines repeated on the next page are skipped, and row_pages records the page of each row.
Are the cells checked?
Each cell is matched against the words printed inside its own box on the page, and the response counts how many were found. With row_pages on every row, parserkit lets you trace any value back to the page it was printed on.
How is this different from Camelot or Tabula?
Camelot, Tabula and pdfplumber are libraries you install, run and keep up yourself, and they need a text-based PDF: Tabula and pdfplumber have no OCR, and Camelot reads scans only with its ml and ocr extras. parserkit is one HTTP call that reads scans and photos too, keeps a table whole across page breaks, and returns JSON, an Excel sheet per table and a CSV.
How does it compare with Amazon Textract?
Textract returns each table as TABLE and CELL blocks with a row and column index, plus separate blocks for merged cells, titles and footers, and your code turns them into rows. parserkit returns the finished table: named, typed columns, the rows, the page of each row, an Excel sheet per table and a CSV.
How much does table extraction cost?
$0.02 a page, and $0.01 past 5,000 pages in a UTC month, so a 40-page catalogue is $0.80. parserkit gives you the first 50 pages free, with no card.
Related
- PDF to Excel converterPull the tables out of a PDF, digital or scanned, into Excel with the printed column names, free and without an account.
- PDF to CSV converterTurn the tables in a PDF into one clean CSV with a column per printed header, ready for a database, a script or Excel. Free, no account.
- PDF to JSON converterTurn the tables in a PDF into JSON rows with typed columns and the page of every row, free without an account.
- Image to Excel converterTurn a photo or screenshot of a table, JPG, PNG or HEIC, into an Excel sheet with its printed columns, free and without an account.
- Extract tables from a PDF in Pythonpdfplumber and camelot on a 2-page price list with no ruling lines, merged cells and a scan, then the same file through the API.
- parserkit vs TabulaTabula's free draw-a-box table extraction for text-based PDFs against parserkit's OCR, page-spanning tables and API at $0.02 a page.
- parserkit vs AWS TextractAWS Textract alternative: checked fields at $0.02 a page, with protected PDFs, Office files and emails read, and no S3 bucket to set up.
- PDF to JSON APIYour own JSON Schema in, those fields out, with sums re-added.
Start free
Send us your worst scan
Your first $1 is free: 50 pages with every check and export, no card.
