PDF OCR - Scanned PDF to Text & Markdown, Page by Page avatar

PDF OCR - Scanned PDF to Text & Markdown, Page by Page

Pricing

from $2.40 / 1,000 image transcribeds

Go to Apify Store
PDF OCR - Scanned PDF to Text & Markdown, Page by Page

PDF OCR - Scanned PDF to Text & Markdown, Page by Page

Convert public scanned PDF links to text or Markdown, one row per page by default. Text-bearing pages cost $0.003 each; blank and failed pages are free. Select page ranges or combine a PDF into one result row.

Pricing

from $2.40 / 1,000 image transcribeds

Rating

0.0

(0)

Developer

Yukai Lin

Yukai Lin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

PDF OCR — Scanned PDF to Text & Markdown, Page by Page

What does this PDF OCR tool do?

Paste a public scanned PDF URL (or a Google Drive, Dropbox or OneDrive share link) and get one Dataset row per page with its text or Markdown. This edition targets scanned PDFs and image-only pages for page-by-page OCR through the existing image-ocr engine and image-ocr billing event. document-to-markdown primarily converts text-based documents to Markdown. Each page with text uses one existing image-ocr event: $0.003 per page on the Free plan. Blank pages and failures are free. The default limit is 50 selected pages per PDF; you can change it up to 500. PDFs must be 15 MB or less. Password-protected or oversized PDFs return a free error row. Searchable PDFs also work: their text layer is read directly when available, while scanned pages use OCR. Markdown may keep simple tables, but original page layout is not preserved.

How to use

  1. Click Start with the prefilled three-page scanned sample PDF to see a page-by-page result. The sample is CC0 and contains fictional content. Used alone, the sample runs normally and each text-bearing page is charged. If you keep the prefilled sample and add your own valid URL, image URL list entry, dataset URL or base64 image, the sample is skipped; only your sources produce results and charges. The SUMMARY record reports sampleSkipped:true and sampleSkipReason.
  2. Paste one public PDF URL per line in PDF URLs or shared file links. Use pageRange such as 1-2,5 to read only selected pages. maxPdfPages limits how many selected pages are processed per file.
  3. Keep Markdown for headings and tables, or choose Plain text. mergePdfPages:true combines the selected pages into one Dataset row with a pages array and chargedPages count. Export the Dataset as JSON, CSV or Excel.

Image URLs, dataset image fields and base64 images accepted by the underlying image-ocr engine remain supported. A duplicate URL is processed once. Skipping the prefilled sample in a mixed run does not change billing for any other source. A page with no detected text gives errorType:"no_text" and charged:false.

Input example

First Start, using the prefilled sample (up to three image-ocr events, $0.009 on Free if all pages have text):

{"urls":["https://filedone.ai/sample-files/sample-scanned-report-3-pages.pdf"],"mode":"markdown","maxPdfPages":50,"mergePdfPages":false}

To read just page 2, add "pageRange":"2". To get one row for pages 1 and 2, use "pageRange":"1-2","mergePdfPages":true.

Keep form checkboxes in images (preserveCheckboxes, off by default) applies to image URLs only. PDF pages ignore it: they are read and charged as before, without checkbox symbols or checkboxReview.

Output example

Each selected page is a separate row by default. This abbreviated example shows the fields most useful for a PDF; actual OCR wording can vary:

{"pdfUrl":"https://filedone.ai/sample-files/sample-scanned-report-3-pages.pdf","pageNumber":1,"pdfPageCount":3,"text":"# Larkfield Community Library\nAnnual report ...","charCount":47,"success":true,"charged":true,"route":"pdf-ocr"}

The PDF text by page view shows pdfUrl, pageNumber, text, charCount, charged, chargedPages, pages, errorType and imageUrl. The full Dataset also has pdfPageCount, success, route, language, lineCount, error and other engine fields. In merged mode, the one row has pages entries with pageNumber, text, success and optional errorType; chargedPages is the number of text-bearing pages billed. With no successful page, the top-level errorType is no_text when all selected pages are blank, or ocr_unavailable when any page's OCR backend fails, including mixed blank and failed pages. imageUrl contains the source URL for both PDF and image inputs.

Pricing

ResultCharge
PDF page with textOne image-ocr event, $0.003 on Free
Blank page (no_text), failed or skipped page$0
Image with text, when suppliedOne image-ocr event, $0.003 on Free

A three-page PDF with two text pages costs $0.006 on Free. Merging pages changes the number of Dataset rows, not the number of charge events. Higher Apify plans may have volume discounts; check the Pricing tab. There is no separate PDF event or start fee.

Before processing, the status and run log show the amount if all sources are single-page images and the true upper limit if every unknown URL is a PDF with up to maxPdfPages pages (50 by default). For one URL on Free, these are $0.003 and $0.15; the latter is an upper limit, not the price of one image. SUMMARY.costPlan.singlePageImageScenarioUsd and worstCaseUsd keep both amounts. The upper limit is compared with your maximum charge per run. Blank image/PDF pages and failed items are free.

Limitations

Chinese, Japanese and Korean accuracy: Review OCR text against the original before relying on names, dates, amounts or other important fields. In a 2026-10-28 local test of the same image OCR engine, one Japanese receipt image had a 32.1% character error rate and one Korean street-sign image had 23.9%; both missed the test's 20% target. These were images, not a benchmark of scanned PDFs or all documents, and no comparable Chinese accuracy figure was measured. Start with a representative page and proofread the result; use a readable text-layer PDF when available. OCR output and language labels can be wrong.

  • Scanned text, handwriting, small print and irregular tables can be misread. Compare important values with the source. Markdown is extracted text, not a reconstruction of the PDF's original layout.
  • A PDF may be up to 15 MB. Password protection, inaccessible share links, missing files and OCR failures yield free error rows. Some hosts block data-center downloads.
  • The first 50 selected pages are read by default; the input allows 1–500. Extra pages are skipped without charge. Page numbers are one-based.
  • Text-layer pages may be read directly, while image-only pages use page OCR. Either path charges one image-ocr event only when that page returns text.

FAQ

Can I paste a Drive or Dropbox sharing link? Yes, for a publicly accessible file. If the link requires login or the host blocks downloads, the result is a free error row.

Can I get one row per file? Yes. Set mergePdfPages:true; the row includes a pages array and chargedPages. The default is one row per selected page.

Are blank pages charged? No. They return a free no_text row. Failed pages and invalid URL lines are free too.

Does it make a searchable PDF? No. It returns extracted text or Markdown in a Dataset. It does not modify the source PDF.

Support

Use the Actor's Issues tab with a public sample URL and the failing page number. Do not send private documents.