Go to example tasks

Convert PDF reports to Markdown for LLMs and RAG

Turn long PDF reports, papers and manuals into clean Markdown that keeps headings, reading order and tables, ready for ChatGPT, Claude or a RAG pipeline. Tables also come out as JSON. Digital pages are read without OCR; scanned pages get OCR automatically. The example converts the 9-page Docling technical report from arXiv.

Try for free
Invoice, Receipt & PDF Table to JSON/Markdown OCR
Invoice, Receipt & PDF Table to JSON/Markdown OCRpanix/invoice-table-json-extractor
Source URL
Full Markdown
Text
Number
Boolean
List
Object

Input

Document URLs(required):https://arxiv.org/pdf/2408.09869
OCR mode:auto
Max pages per document:20

Output fields

Source URL
Full Markdown

How it works

Sign up on Apify or log in

The Invoice, Receipt & PDF Table to JSON/Markdown OCR Actor is ready to run with the inputs already set for "Convert PDF reports to Markdown for LLMs and RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert PDF reports to Markdown for LLMs and RAG" task

The Invoice, Receipt & PDF Table to JSON/Markdown OCR Actor will start running based on the input automatically. You can also change all the input fields, like document urls, OCR mode, and more, to match your specific use case.

Receive the "Convert PDF reports to Markdown for LLMs and RAG" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source url and full markdown.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Convert PDF reports to Markdown for LLMs and RAG" task via API.

Image

Integrate "Convert PDF reports to Markdown for LLMs and RAG" into your workflow

Connect "Convert PDF reports to Markdown for LLMs and RAG" with 100+ integrations, or run it via API or MCP.

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

Frequently asked questions

Markdown keeps headings, lists and tables as plain text, so an LLM or an embedding model sees the document's structure. The PDF to Markdown task drops page clutter and keeps the reading order of multi-column pages.

The PDF to Markdown task reads up to 2,000 pages per document; set Max pages per document to limit the cost. Very large results are saved to the key-value store and linked from markdown_url.

The PDF to Markdown task runs IBM Docling and its OCR models inside your Apify run. No document is sent to OpenAI or any other outside service, and no API key is needed.

The PDF to Markdown task costs $0.005 per digital page on the Apify Free plan and $0.0045 on Starter, less on bigger plans, plus $0.004 per run. Scanned pages cost more because they need OCR.