PDF & Image to Markdown/Text — OCR, Tables, RU/KZ/EN avatar

PDF & Image to Markdown/Text — OCR, Tables, RU/KZ/EN

Pricing

from $3.50 / 1,000 ocr pages

Go to Apify Store
PDF & Image to Markdown/Text — OCR, Tables, RU/KZ/EN

PDF & Image to Markdown/Text — OCR, Tables, RU/KZ/EN

Convert PDFs and images to clean Markdown or plain text for LLMs, RAG and data pipelines. Reads the text layer directly and OCRs only scanned pages (Tesseract, 12 languages incl. Russian and Kazakh). Headings, lists and tables preserved. Pay per page; blank pages free.

Pricing

from $3.50 / 1,000 ocr pages

Rating

0.0

(0)

Developer

Temirlan Zhussipov

Temirlan Zhussipov

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

PDF & Image to Markdown/Text — OCR, tables, Russian & Kazakh

Turn PDFs and images into clean Markdown or plain text — ready for LLMs, RAG pipelines, search indexes and data entry. Digital PDFs are read straight from their text layer (fast, exact); scanned pages and images are OCR'd automatically. Headings, bullet lists and tables are preserved.

Why this Actor

  • Smart OCR (Auto mode). Each page is checked: if it has a text layer it's extracted directly, only scanned pages go through OCR. Mixed documents (digital + scanned pages) just work — and you don't pay OCR prices for digital pages.
  • LLM-ready Markdown. Headings (#, ##, ###) detected from font sizes, bullet and numbered lists, paragraphs re-joined across line breaks, hyphenation fixed.
  • Tables. Ruled tables in digital PDFs become Markdown tables and structured rows (tables) — no duplicated table text in paragraphs.
  • 12 OCR languages, including Russian, Kazakh (ә ғ қ ң ө ұ ү һ і), Ukrainian, English, German, French, Spanish, Italian, Portuguese, Polish, Turkish, Dutch.
  • Per-page or per-document output. Split by page for RAG chunking, or get one item per document.
  • Robust & safe. Every document is processed in an isolated process with a timeout and file-size/page limits; corrupt pages don't lose the rest of the document.
  • Fair pricing. Pay per page; blank pages and failed downloads are free.

Input

FieldDescription
Document URLsDirect links to PDFs or images (PNG, JPEG, TIFF incl. multi-page, WebP, GIF, BMP).
Output formatmarkdown (default), text, or both.
OCR modeauto (default) — OCR only pages without text; always; never.
OCR languagesOne or more of the 12 supported languages (default English).
Pagese.g. 1-3,7,10-. Empty = all pages.
One result per pageOne dataset item per page instead of per document.
Extract tablesOn by default.
LimitsMax pages per document (100), max file size (50 MB), OCR DPI (300), timeout per document (900 s).
{
"sources": ["https://www.irs.gov/pub/irs-pdf/fw9.pdf"],
"outputFormat": "markdown",
"ocrMode": "auto",
"languages": ["eng", "rus", "kaz"]
}

Output

One item per document (default):

{
"url": "https://example.com/report.pdf",
"fileName": "report.pdf",
"kind": "pdf",
"pageCount": 12,
"pagesProcessed": 12,
"textLayerPages": 10,
"ocrPages": 2,
"emptyPages": 0,
"markdown": "# Quarterly Report 2026\n\nRevenue grew…\n\n| Region | Q2 | Q3 |\n| --- | --- | --- |\n…",
"tables": [{ "page": 1, "rows": [["Region", "Q2", "Q3"], ["Kazakhstan", "120", "150"]] }],
"ocrMeanConfidence": 91.4,
"metadata": { "Title": "Quarterly Report", "Author": "…", "CreationDate": "…" },
"ocrLanguages": ["eng"]
}

Pages in the combined markdown are separated by ---. With One result per page, each item has page, method (text-layer / ocr / empty), markdown/text, tables and ocrConfidence. Failed downloads produce an item with an error field (not charged). A run summary is saved as SUMMARY in the key-value store.

Pricing

Pay per event:

  • Page (text layer) — a page whose text was read directly from the PDF.
  • OCR page — a page or image that was OCR'd and produced text.

Blank pages, failed pages and failed downloads are free.

Tips

  • Use Auto OCR mode — it's both the fastest and cheapest.
  • Choose only the OCR languages you need; every extra language slows OCR.
  • For very small print, raise OCR DPI to 400; for speed on clean scans, 200 is often enough.
  • Password-protected PDFs aren't supported.

Privacy

Files are downloaded only for the duration of the run and are not stored anywhere except your own run's dataset. Only http(s) URLs to public hosts are accepted.

Under the hood

Text layer: pdfplumber (MIT). Rendering: PDFium via pypdfium2 (BSD-3/Apache-2.0). OCR: Tesseract (Apache-2.0).