Go to example tasks

Extract text from scanned documents and photos with OCR

Reads text from scanned PDFs and photographed pages (PNG, JPEG, TIFF) with OCR and returns it as Markdown or plain text, one row per document. Pages that already have a text layer are read directly. Set the OCR language to match the document. Links must be public.

Try for free
PDF to Markdown & Document to Text for LLM/RAG, with OCR
PDF to Markdown & Document to Text for LLM/RAG, with OCRtinlark/document-to-markdown
File
Type
Title
Pages
+9 fields
Text
Number
Boolean
List
Object

Input

Document links:https://raw.githubusercontent.com/tesseract-ocr/test/232ff181c66516116ec0e84c4963f70de15050fd/testing/phototest.tif
OCR (scanned pages and images):auto
OCR languages:eng
Output format:both

Output fields

File
Type
Title
Pages
OCR pages
Words
Language
Tables
Chunk
Heading path
Warnings
Source
Status

How it works

Sign up on Apify01

Create your Apify account to access the PDF to Markdown & Document to Text for LLM/RAG, with OCR.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay