Writes the tables of a PDF of up to 5 pages into one CSV file, free for 3 runs a day without an account. Bigger jobs: sign in, $0.02 a page, 50 pages free, no card needed.
PDF to CSV: the tables in a PDF as one clean file
Drop in a PDF of up to 10 MB with up to 2 scanned pages, and get all of its tables back in a single CSV. You also get Excel and JSON files from the same run, ready for a spreadsheet, a database import or a script.
Free toolsUpdated
Free without an account, 3 runs a day. Your file is deleted as soon as the run ends.
- Takes
- Digital and scanned PDFs with one or more tables
- Gives back
- CSV
- Excel
- JSON
How it works
How the PDF to CSV converter works
Drop in the PDF
Upload a digital PDF or a scan. If your PDF is locked, type its password into the field under the file so it can be used for that run and never stored.
Every table is read
Each table comes back with its printed headers and typed values for text, numbers, currency and dates. Tables that share a printed header share the same CSV column.
Download the CSV
You get one CSV file for the whole PDF, along with Excel and JSON files. The download links work for 1 hour, and then the result and all outputs are deleted.
Example
A 2-page price list as CSV rows
Here is the output from table-larkspur.pdf, a 2-page plant nursery price list where 1 table runs from page 1 to page 2 with 52 rows under 6 printed columns. Prices and minimum orders come out typed as numbers.
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 fileHow output.csv is written
The same rules apply to every CSV the converter writes.
| Detail | What the CSV does |
|---|---|
| Encoding | UTF-8 with a byte order mark, so Excel opens accents and currency signs correctly |
| Line ends and quoting | CRLF line ends and RFC 4180 quoting, which spreadsheet apps and CSV libraries read without settings |
| Several tables | One file with a table column; columns with the same header line up in one column |
| Page of each row | A page column on every row, to find the row in the PDF |
| Formulas | Text starting with =, +, - or @ gets a ' in front so a spreadsheet does not run it; negative numbers stay as they are |
Source: parserkit export formats
One CSV, however many tables
Your download output.csv puts every table from the PDF into a single file. Each row includes a table column to show which table it came from and a page column showing the page it was printed on. Columns are matched across tables by their printed header, while a table that runs across pages stays together as 1 table.
If you want separate tabs instead of a combined file, output.xlsx gives you a Summary sheet, a Checks sheet, and a sheet for each table (Table 1, Table 2 and so on). It comes with the same run, or you can use the PDF to Excel converter directly.
Safe to open in a spreadsheet
The output.csv file is formatted to RFC 4180 with CRLF line ends and a UTF-8 byte order mark at the start. Because the byte order mark is there, Excel reads the UTF-8 encoding right away and keeps accented letters and currency signs intact instead of mangling them.
Values are also cleaned up so a spreadsheet will not misread them when you open the file. Text that starts with =, +, - or @ gets a ' placed in front of it so your spreadsheet will not try to run it as a formula, while plain negative numbers are left alone and stay numbers.
Free limits, and what signing in lifts
Without an account, you can run a single PDF or image (PNG, JPEG, GIF, WebP, TIFF or HEIC) up to 10 MB and up to 5 pages, with at most 2 scanned pages. You get 3 free runs a UTC day from your address (and 10 per /24 network), resetting at 00:00 UTC. A failed run still counts toward the day's limit.
Signing in with Google raises the limit to 100 MB and 250 pages per document, and keeps your files and results for 7 days, or 90 days on Pro. You start with $1 of free credit, which covers 50 pages at $0.02 a page with no card needed; see the pricing page for details.
FAQ
Common questions
Will the CSV open correctly in Excel?
Yes. The file is written in UTF-8 with a byte order mark, which tells Excel the encoding so accented names and currency signs come through cleanly. Line ends are CRLF and quoting follows RFC 4180.
What if the PDF has several tables?
They all go into the same CSV with a table column to tell them apart. Columns with the same printed header share a single column in the file, and the rest get their own.
Can I convert a scanned PDF to CSV?
Yes. Scanned pages go through text recognition first. A free run reads up to 2 scanned pages, and signing in with Google lifts that limit to 250 pages a document.
Is my PDF kept?
No. Your uploaded PDF is deleted as soon as the run finishes. The CSV and the other output files are deleted 1 hour later, when the download links expire.
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.
- 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.
- PDF table extraction APITables from PDFs and scans as JSON, Excel and CSV, whole across page breaks.
- PDF to JSON APIYour own JSON Schema in, those fields out, with sums re-added.
- PDF table extraction toolsparserkit leads for PDF tables to Excel, CSV and JSON at $0.02 a page, ahead of Tabula, Camelot and AWS Textract.
- Can I convert a PDF to a CSV?Yes: parserkit's free PDF to CSV tool writes every table in a digital or scanned PDF to one clean CSV, no account needed.
Start free
Send us your worst scan
Your first $1 is free: 50 pages with every check and export, no card.
