Excel Power Query PDF import alternative: parserkit turns PDFs, scans and phone photos into Excel tables at $0.02 a page, 50 pages free. A 2-page price list with 52 rows costs $0.04.
Excel Power Query PDF import alternative: parserkit vs Get Data from PDF
parserkit reads a 2-page table for $0.04, scans included. Power Query's From PDF reads text-based PDFs in Excel for Windows, returns nothing from a scan and leaves misaligned multi-line rows for you to fix in M code.
ComparisonsUpdated
Getting a PDF table into Excel
What each tool does with the PDFs that cause trouble, from each vendor's own documentation.
| Tool | Scans and photos | On a Mac | Price |
|---|---|---|---|
| parserkit | Read with OCR | Yes, in the browser or by API | $0.02 a page, 50 pages free |
| Excel Power Query, From PDF | Import comes back empty | No PDF source | Included with Microsoft 365 |
| Tabula | Text-based PDFs only | Yes | Free, open source |
Sources: Power Query PDF connector, Microsoft Q&A: scanned PDFs in Power Query, Power Query in Excel for Mac, Power Query sources by Excel version, Tabula
The verdict
Why parserkit over Excel Power Query
Where Excel Power Query falls short
- Scans and phone photos come back empty: the connector reads the text in a PDF, and a scan has none.
- Excel for Mac's Power Query has no PDF source, and Office 2016 and Office 2019 don't list the PDF connector.
- Multi-line rows land misaligned, and Microsoft's fix is Table.FillDown or Table.Group in M code.
- Large PDFs time out unless you read them one page range at a time.
- It finds tables, not transactions: nothing checks that a statement's balances or totals add up.
What parserkit does instead
- Scans and phone photos read with OCR, with a 400 DPI re-read when a check fails.
- Runs in the browser and through an API, so a Mac works the same as Windows.
- A table that runs across pages comes back as one table, each row with its page and numbers typed as numbers.
- Each cell is checked against the words printed inside its own box on the page.
- Bank statements come back as transactions with every running balance checked, plus quickbooks.csv and xero.csv.
Example
A 2-page price list through parserkit
A plant nursery price list read with the generic_table preset: 1 table from page 1 to page 2, 52 rows under 6 columns, prices and minimum orders typed as numbers, and 319 of 319 values found on the page, for $0.04.
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 Get Data from PDF works
In Excel for Windows, Data > Get Data > From File > From PDF opens a Navigator with every table Power Query found in the file. Behind it is Pdf.Tables, which takes a start page, an end page, a switch that joins similar tables on consecutive pages, and an option to treat border lines as cell edges. On Windows the connector needs .NET Framework 4.5 or later.
Whatever it finds lands in Power Query Editor, where cleaning it up is your job: promoting headers, fixing types and stitching rows back together.
Where it breaks: scans, Macs and multi-line rows
A scanned or photographed PDF has no text objects for the connector to read, so the import comes back empty, as a Microsoft moderator explains on Microsoft Q&A. Excel for Mac's Power Query lists Excel Workbook, Text/CSV, XML, JSON, SQL Server, SharePoint Online List, OData and blank sources, and no PDF. On Windows, Microsoft's version table lists the PDF connector for Microsoft 365 plans and not for Office 2016 or Office 2019.
On text-based files, Microsoft's own connector page says multi-line rows are not always identified and points to Table.FillDown or Table.Group in M code to fix them. Bank statements are full of descriptions that wrap onto a second line. For large PDFs it suggests reading one page or a small range at a time to avoid timeouts.
What parserkit returns
parserkit reads PDFs, scans and phone photos, so the same upload works for a bank's PDF and a photo of a printed report. Tables come back with the generic_table preset: a table that spans pages is one table, each row keeps its page, and number and currency columns are typed as numbers.
output.xlsx has a Summary sheet, one sheet per table with the printed column names and a page column, then a Checks sheet. output.csv holds every table in one file with a table column and a page column, ready for Excel or any other tool.
Bank statements get the bank_statement preset: transactions as rows, with the opening and closing balances, the credit and debit totals and every running balance checked, plus quickbooks.csv and xero.csv. It costs $0.02 a page, so 1,000 pages cost $20, with 50 pages free; the rest is on our pricing page.
Keep Excel, swap the import
Your workbook and your queries stay; only the PDF step changes.
- Sign in with Google for 50 pages free and send the PDF you were importing, scan or not.
- Open output.xlsx, or load output.csv with Get Data > From Text/CSV and keep your Power Query steps after it.
- Call the API from a script when the same report arrives every month, with
?waitfor the result in the same call.
FAQ
Common questions
Can Excel Power Query import data from a scanned PDF?
No. A scanned PDF has no text objects for the PDF connector, so the import comes back empty. parserkit reads scanned PDFs and phone photos with OCR at $0.02 a page, with 50 pages free.
Does Excel for Mac have Get Data from PDF?
Excel for Mac's Power Query sources are Excel Workbook, Text/CSV, XML, JSON, SQL Server, SharePoint Online List, OData and blank sources, with no PDF. parserkit works on a Mac in the browser and returns output.xlsx and output.csv for Excel.
How do I import a bank statement PDF into Excel?
Power Query brings in the table but leaves wrapped descriptions and balances for you to line up. parserkit reads the statement as transactions, checks every running balance, and gives you output.xlsx plus quickbooks.csv and xero.csv.
Can I keep using Power Query with parserkit?
Yes. Load output.csv with Get Data > From Text/CSV and your queries run as before, on tables parserkit has already read and checked against the page.
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.
- 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 Adobe AcrobatAcrobat's Export PDF to Excel, its Standard and Pro plans and scanned PDFs, against parserkit's per-page extraction with checks.
- Bank statement converterTurn a bank statement PDF or photo into Excel, CSV, QuickBooks or Xero files, with every balance checked, 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.
Start free
Send us your worst scan
Your first $1 is free: 50 pages with every check and export, no card.
