Document to Markdown for LLMs: PDF, Scan OCR, DOCX, PPTX, XLSX
Pricing
from $0.20 / 1,000 pages
Go to Apify Store
Document to Markdown for LLMs: PDF, Scan OCR, DOCX, PPTX, XLSX
Pricing
from $0.20 / 1,000 pages
Public URLs of the documents to convert: PDF (text or scanned), DOCX, PPTX, XLSX, EPUB, HTML, TXT/MD/CSV, XML e-invoices, images (PNG, JPG, TIFF, WEBP) or a ZIP with such files. Files uploaded to an Apify key-value store work too (use the record URL).
Upload one document from your computer instead of giving a URL.
auto = OCR only pages without a usable text layer (scans). always = OCR every page (e.g. broken text layers). never = text layer only, no OCR charges.
auto = detect the language from the text layer or a first OCR pass. Or Tesseract codes joined with +, e.g. deu, deu+eng, fra, spa, ita, nld, por, pol, ces, swe, dan, fin, hun, ron, frk (German Fraktur).
Also return chunks for vector databases: each chunk has its heading path, page range and token count (OpenAI o200k tokenizer).
Maximum tokens per chunk.
Tokens of the previous chunk repeated at the start of the next one (within the same section).
Return every detected table additionally as rows (JSON) and CSV. Tables are always included in the Markdown.
Return the Markdown of every page separately, with the method used (text layer or OCR) and the OCR confidence.
Also return the content as plain text without Markdown syntax.
Insert comments into the Markdown so citations can point to pages.
If a PDF carries an embedded invoice XML (ZUGFeRD / Factur-X) or the file is an XRechnung XML, return the invoice data as JSON (number, dates, seller, buyer, totals, line items).
Pages beyond this limit are skipped (and not charged). For formats without pages, 3,000 characters count as one page.
Upper limit for OCR pages per document, to keep costs predictable.
Larger downloads are refused.