HyperAPI
DashboardDocsBlogsToolsPricing
Sign inContact us
HyperAPI
by Hyperbots
HyperAPI
DashboardDocsBlogsToolsPricing
Sign inContact us

PDF to CSV, one file per table.

PDF to MarkdownMarkdownPDF to textTextExtract tablesTablesPDF to JSONJSON
</>API

Drop a file here

PDF (1 page), PNG, JPG

Uploads are off right now · the samples work

Or try a sample

Sources: U.S. National Archives · U.S. Census Bureau · CORD, NAVER Clova (CC BY 4.0) · NIST SD 2, converted to PDF (NIST data licence)

Files are deleted after 30 days and never used for training.

What each CSV keeps

  • Header rowthe first line of the file
  • Valuesexactly as printed
  • One CSVper table on the page
  • Safe to openformula-like cells are neutralised

From code

import io
import pandas as pd
from bs4 import BeautifulSoup
from hyperapi import HyperAPIClient

client = HyperAPIClient()  # reads HYPERAPI_KEY from the environment
result = client.parse("report.pdf")


def placed_cells(html):
    """A born-digital page's table: one placed line per cell."""
    rows = {}
    for line in BeautifulSoup(html, "html.parser").select("span.line"):
        style = dict(p.split(":", 1) for p in line["style"].split(";") if ":" in p)
        top = round(float(style["top"].strip().removesuffix("pt")))
        left = float(style["left"].strip().removesuffix("pt"))
        rows.setdefault(top, []).append((left, line.get_text(" ", strip=True)))
    grid = [[text for _, text in sorted(r)] for _, r in sorted(rows.items())]
    return pd.DataFrame(grid[1:], columns=grid[0])


for block in result["result"]["blocks"]:
    if block["type"] != "table":
        continue
    if "<table" in block["html"]:  # scans and photos: an HTML table
        df = pd.read_html(io.StringIO(block["html"]))[0]
    else:
        df = placed_cells(block["html"])
    df.to_csv(f"{block['id']}.csv", index=False)
Get a key30 free pages a month

Questions

PDF to CSV, answered.

Yes. Every table on the page has its own .csv download, named after your file and the table's number.
The CSV holds every value as printed. Excel can reformat some values when it opens a CSV, such as long numbers and dates; to keep them exactly, import the file as text, or press Copy for Excel and paste.
The free tool reads one page. Through the API, Parse reads the whole document, and tables that continue across pages are reported in cross_page_tables.
PDF
01 · 02 · 03 · 04 · 05
hyperapi · document intelligence · structured data · invoice · receipt · contract
HyperAPI

Start with a free account.

No credit card. 30 pages free every month. Read the docs and ship today.

Start free →
Python SDK · Install from GitHub
HyperAPI

Document intelligence APIs from Hyperbots. Built for dashboard users, backend services, and AI agents that need reliable document output.

Product

  • Dashboard
  • UI Sandbox
  • Pricing
  • Contact Sales

Docs

  • Quickstart
  • API Reference
  • Upload API
  • Async Jobs
  • SDKs
  • MCP Server
  • Status

Company

  • Hyperbots↗
  • About↗
  • Blog
  • Research↗

Legal

  • Privacy Policy
  • Terms and Conditions

© 2026 Hyperbots Inc. All rights reserved.

Privacy Policy·Terms·hyperapi-support@hyperbots.com