Go to example tasks

Convert PDF to Markdown for LLMs

Convert a PDF into clean Markdown that an LLM can read: headings, lists, paragraphs re-flowed, two-column pages in reading order and running headers and footers removed. Paste a PDF URL, optionally pick a page range, and download Markdown, text or JSON.

Try for free
PDF to Markdown Converter: OCR, Tables, RAG
PDF to Markdown Converter: OCR, Tables, RAGjcwilk/pdf-to-markdown
Source
Status
Title
Language
+5 fields
Text
Number
Boolean
List
Object

Input

PDF URLs
url:https://arxiv.org/pdf/1706.03762
Outputs:markdown
Page range:1-3

Output fields

Source
Status
Title
Language
Processed pages
OCR pages
Word count
Error message
Markdown

How it works

Sign up on Apify or log in

The PDF to Markdown Converter: OCR, Tables, RAG Actor is ready to run with the inputs already set for "Convert PDF to Markdown for LLMs". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert PDF to Markdown for LLMs" task

The PDF to Markdown Converter: OCR, Tables, RAG Actor will start running based on the input automatically. You can also change all the input fields, like PDF URLs, outputs, and more, to match your specific use case.

Receive the "Convert PDF to Markdown for LLMs" 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, status, title, and more.

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 to Markdown for LLMs" task via API.

Image

Integrate "Convert PDF to Markdown for LLMs" into your workflow

Connect "Convert PDF to Markdown for LLMs" 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

The PDF to Markdown task outputs one row per PDF with the Markdown text, title, page count, language, word count and a status, ready to paste into an LLM prompt.

The PDF to Markdown task converts tables to Markdown tables, reads two-column pages in reading order and removes repeated headers, footers and page numbers.

The PDF to Markdown task costs $0.0011 per document plus $0.00012 per page and a $0.004 run start fee. The 3-page example here costs under a cent.

Yes. The PDF to Markdown task runs from the Apify API, schedules and webhooks, and from n8n, Make or Zapier, and returns JSON, CSV or Excel.