Go to example tasks

PDF to Markdown for AI and RAG (sample)

Sample of up to 25 rows. Run the full scraper for more. Extract clean text from public PDFs (IRS Form W-9 and the Attention Is All You Need paper) as markdown, with page counts and OCR fallback for scans. Each row has the source URL, text, page count and extraction method. Paste your own PDF links to feed LLM, RAG and document-processing pipelines.

Try for free
PDF Text Extractor: OCR, Images, Markdown & RAG
PDF Text Extractor: OCR, Images, Markdown & RAGhydrocore/pdf-image-text-extractor
File
Status
File type
Title
+11 fields
Text
Number
Boolean
List
Object

Input

Files or pages:https://www.irs.gov/pub/irs-pdf/fw9.pdf+1
Text format:markdown
OCR (scanned pages and images):auto

Output fields

File
Status
File type
Title
Pages
Pages read
Words
OCR pages
OCR confidence %
Author
Created
Size (bytes)
Found on page
File URL
Error

How it works

Sign up on Apify or log in

The PDF Text Extractor: OCR, Images, Markdown & RAG Actor is ready to run with the inputs already set for "PDF to Markdown for AI and RAG (sample)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "PDF to Markdown for AI and RAG (sample)" task

The PDF Text Extractor: OCR, Images, Markdown & RAG Actor will start running based on the input automatically. You can also change all the input fields, like files or pages, text format, and more, to match your specific use case.

Receive the "PDF to Markdown for AI and RAG (sample)" 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 file, status, file type, 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 "PDF to Markdown for AI and RAG (sample)" task via API.

Image

Integrate "PDF to Markdown for AI and RAG (sample)" into your workflow

Connect "PDF to Markdown for AI and RAG (sample)" 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