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.
source
Required
The input file URL or key-value store key.
status
Required
ok = converted; blocked = site refused bots (not charged); failed = error (not charged).
fileType
Optional
Detected type: pdf, docx, png or jpeg.
httpStatus
Optional
HTTP status of the download.
pages
Optional
Total pages in the file.
textPages
Optional
Pages converted from the text layer (billed as text-page).
ocrPages
Optional
Pages converted with OCR (billed as ocr-page).
chars
Optional
Length of content in characters.
content
Optional
The converted Markdown or text. Pages start with '## Page N' headings for PDFs.
chunks
Optional
Content split for RAG when chunkSize > 0, otherwise null.
error
Optional
Human-readable reason when status is not ok.