ForHosting KIT · Documents & PDF

Convert PDF to Excel

The numbers you need are sitting in a PDF table, and retyping them is where errors start. This endpoint finds tabular data inside a PDF and rebuilds it as actual spreadsheet cells — rows, columns and values you can sum, sort and filter, not a screenshot pasted into a grid.

● BetaPer request + per page$0.010
Use it from WebAPIEmailApp soonTelegram soon

Run this on our servers with your account. Free tools run in your browser; this one bills your KIT balance per the price above.

Why tables in a PDF are stuck

A PDF doesn't store a table the way a spreadsheet does — it stores lines, boxes and positioned text, and a human brain reconstructs the grid on sight. Copy-pasting a PDF table into Excel usually gives you one column of jumbled text or numbers that lose their decimal alignment. This is the specific, narrow problem this endpoint is built to solve: reading the visual structure of a table and turning it back into rows and columns Excel actually understands.

Who needs a table back, not a document

Analysts pulling figures out of a vendor's quarterly PDF report, accountants reconciling a bank statement that only arrives as PDF, researchers digitizing tables from published papers or government filings, procurement teams comparing supplier price lists sent as static PDFs. Anywhere the source data is trapped as a picture-like table and the destination needs to be a working spreadsheet, this is the bridge.

What comes back

Send the PDF, receive a task_id right away, and the job detects tables on each page and writes them into an XLSX with values in real cells — ready for a SUM formula, a pivot table or a VLOOKUP, not just readable text. Native (digital) PDFs give the cleanest extraction; scanned PDFs are read with OCR first, so results depend on scan quality.

Fitting into a data pipeline

Because results land by webhook, this slots into ingestion pipelines without polling: a finance system watches an inbox for supplier PDFs, fires a conversion request per file, and loads the resulting XLSX straight into its reconciliation process the moment the webhook confirms it's ready.

A note on where PDF tables come from

PDF was designed in the early 1990s to preserve exactly how a page looks when printed, which is precisely why it's so bad at preserving what a table structurally is. Spreadsheets, by contrast, have stored tabular data as literal rows and columns since the earliest electronic versions in the late 1970s. Converting one into the other is really translating between two different ideas of what a table is — visual layout versus structured data.

Vendor report reconciliation

A quarterly PDF report from a supplier contains pricing tables; extracting them to XLSX lets finance reconcile against internal records without retyping.

Bank statement analysis

A bank only issues statements as PDF; converting the transaction table to Excel enables filtering and categorizing without manual entry.

Research data digitization

A researcher needs the numeric tables from a published PDF paper in spreadsheet form to run further analysis.

Price list comparison

Procurement receives supplier price lists as PDFs and converts each to XLSX to compare line items side by side.

Is the PDF to Excel API live?

Yes, it's live now and ready to accept jobs.

How is it priced?

$0.010 per request plus $0.0575 per page — table extraction is the more processing-heavy step, which is reflected in the per-page rate.

Does it work on scanned PDFs?

Yes, through OCR, but results depend on scan quality. Native, digitally created PDFs extract most reliably.

What if a page has no table?

Pages without detectable tabular structure are skipped for that page rather than producing garbled output.

Do I get real spreadsheet cells or just text?

Real cells — rows and columns you can sum, sort, and reference in formulas, not text pasted into a grid.

Is there a free tier?

There's no free tier — free tiers get abused and slow everyone down. Access runs on a prepaid ForHosting KIT balance: top up from $10.00 (it never expires) and each request is charged at its published price, so a call with no balance returns HTTP 402. No subscription, no tokens, no invented credits, and a failed task is never charged.

How do I get the XLSX file?

By signed webhook when the job finishes, or from a signed link that stays valid for 24 hours.

Am I charged for a failed extraction?

No. Failed tasks retry automatically up to three times and are never billed — you get a clear error instead.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/doc/pdf-to-excel

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, and soon from our app, email and Telegram.

curl -X POST https://api.kit.forhosting.com/doc/pdf-to-excel \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":"…"}'
{
  "input": "…"
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "doc.pdf_to_excel",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.010
Per page$0.0575

Published price — no tokens, no invented credits. A failed task is never charged.

max_mb25
max_pages200
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.
413input_too_largeThe file exceeds the size limit.
422task_failedThe task failed after 3 retries. You are never charged for it.

Read the full KIT documentation →