Go to example tasks

Get the table of contents of a PDF

The bookmark outline the document carries, with each heading, its level and the page it points to. It is the cheapest way to see how a long report is organised, and to decide which page range is worth extracting in full.

Try for free
PDF to JSON Extractor — Tables, Fields & Structure
PDF to JSON Extractor — Tables, Fields & Structurepower_on/pdf-to-json-extractor
PDF
Pages
Outline (heading, level, page)
Pages charged
Text
Number
Boolean
List
Object

Input

PDF files(required):https://www.irs.gov/pub/irs-pdf/p15.pdf+1
Max pages per document:1
Output formats:json

Output fields

PDF
Pages
Outline (heading, level, page)
Pages charged

How it works

Sign up on Apify01

Create your Apify account to access the PDF to JSON Extractor — Tables, Fields & Structure.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay