USE CASE · WEB-READY PDFS

Put your PDFs on the web, without the cleanup pass.

Turning PDFs into web pages is where things break — tables collapse, headings flatten, equations turn to garbage. Datalab converts them to clean, semantic HTML your CMS can publish as-is, tables and equations intact.

TRUSTED BY
SDK · PYTHON

HTML out, ready for the CMS.

from datalab_sdk import DatalabClient, ConvertOptions

client = DatalabClient()

# HTML output — semantic, accessible, no wrapper-div noise.
result = client.convert(
    "report.pdf",
    options=ConvertOptions(output_format="html", mode="balanced"),
)
cms.publish(slug="2026-q1-report", body=result.html)

# Or `json` mode — block-level structure with bounding boxes,
# so you can re-render figures, tables, and equations in the destination.
result = client.convert(
    "report.pdf",
    options=ConvertOptions(output_format="json", mode="balanced"),
)
# result.json is the parsed block tree; iterate the blocks
# yourself to upload images, render equations, etc.
print(result.json)
WHY DATALAB

Why teams prefer Datalab for web-ready PDFs.

01 HTML, NATIVE

HTML you can paste into a CMS without scrubbing it first.

Convert emits HTML as a first-class output — no wrapper divs, no broken heading levels, no tables flattened into pipes.

02 ASSETS, NOT PIXELS

Figures, tables, and equations come back as themselves.

In json mode, each figure, table, and equation returns as a discrete block with a stable ID, bounding region, and caption.

03 PUBLISHING-READY

Headings nest correctly. Footnotes find their referents.

Heading levels stay nested, footnotes bind to source, and captions stay with their figure — so the CMS treats it as content, not a page to rebuild.

DEPLOYMENT

Run it in our cloud or your own infrastructure.

  • Managed cloud

    Start with an API key — nothing to host or operate.

    Sign up →
  • EU data residency

    Run in-region, with no egress to US infrastructure.

    Sign up →
  • Your VPC

    Runs inside your own AWS, GCP, or Azure account.

    Talk to sales →
  • On-prem & air-gapped

    Fully offline, the same model weights, dedicated support.

    Talk to sales →
SOC 2 Type II · BAA available View our trust center →
START

Try it on one of your PDFs.

Free tier with up to $20 in credits per month — no card required.