PDF & Document to Markdown (OCR)
Pricing
from $1.00 / 1,000 text page converteds
PDF & Document to Markdown (OCR)
Convert PDFs, DOCX and images you supply into clean Markdown or plain text, with OCR for scanned pages and RAG-ready chunks.
PDF & Document to Markdown (OCR)
Pricing
from $1.00 / 1,000 text page converteds
Convert PDFs, DOCX and images you supply into clean Markdown or plain text, with OCR for scanned pages and RAG-ready chunks.
Main input. List of direct http(s) links to PDF, DOCX, PNG or JPEG files, e.g. ["https://arxiv.org/pdf/1706.03762"]. Only these exact URLs are downloaded; nothing is crawled. One result item per file.
[ "https://arxiv.org/pdf/1706.03762"]Optional alternative to fileUrls: files already in an Apify key-value store, as 'storeId/key' or just 'key' (this run's default store). Most agents can ignore this.
'markdown' (default): keeps page headings, lists and DOCX tables. 'text': plain text.
'auto' (default): OCR only scanned pages without a text layer. 'on': OCR every page (slower, costs more). 'off': never OCR; images are skipped.
Tesseract OCR language code(s), default 'eng'. Combine with '+', e.g. 'eng+fra'. Installed: eng, deu, fra, spa, ita, por, nld.
Split the text into chunks of about this many characters for RAG/embeddings (returned in 'chunks'). 0 (default) = no chunking. 1500-4000 is typical.
Characters shared between consecutive chunks when chunkSize > 0. Default 200.
Maximum pages converted per file (default 500). Pages beyond this are skipped and not charged. Agents should set a small value (e.g. 5) to preview long documents cheaply.