Image and PDF OCR avatar

Image and PDF OCR

Pricing

from $17.00 / 1,000 pages read by ocr

Go to Apify Store
Image and PDF OCR

Image and PDF OCR

Read text from images and scanned PDFs by web address: one row per image or page with the text, word count, and a confidence score. PDFs that already hold text are read from that text, cheaper. Open source OCR inside the run; no API key, your files go to no outside service.

Pricing

from $17.00 / 1,000 pages read by ocr

Rating

0.0

(0)

Developer

Mamba Labs

Mamba Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

19 minutes ago

Last modified

Features

Limited permissions

Share

Give web addresses of images or PDF files. The actor reads each image, and each page of a scanned PDF, into text with OCR, and returns one row per page: the text with its lines kept, word and line counts, Tesseract's mean word confidence, and the number of words it was unsure of. A PDF page that already holds text is read from that text instead, which is exact and cheaper. You pay per page. Failed downloads, unsupported files, summary rows, and a refused input are free.

Features

  • One row per image or PDF page, with the text, word_count, line_count, mean_confidence (0 to 100), and low_confidence_words so you know which pages to check by eye.
  • PNG, JPEG, GIF (first frame), WebP, BMP, and TIFF images, and PDF files, up to 30 MB each. Phone photos are turned upright from their camera tag before reading.
  • PDFs: pages with a text layer are read from it (method text_layer, charged as page-text), and pages without one go through OCR (method ocr, charged as page-ocr). Set use_pdf_text_layer to no to OCR every page.
  • English, German, French, Spanish, Dutch, Italian, and Portuguese, one language per run.
  • page_layout sparse for receipts, forms, signs, and screenshots; auto for letters, articles, and book scans.
  • max_pages_per_file (default 10) caps the pages read, and so the charge, per PDF.
  • Each file ends with a free summary row: pages read, pages by OCR, pages from the text layer, or why the file was not read.
  • Number and on or off inputs are text, so Clay can send them as they are.

How the data is read

The actor downloads each address directly, and retries through the Apify proxy pool only if the host refuses the direct address. It never uses residential proxies. Images are converted to gray and scaled so the long side is at most 2,500 pixels; PDF pages are rendered at 200 dpi with the same limit. Tesseract, the open source OCR engine, reads each page inside the run. No AI model, no API key, and no outside OCR service: your files go nowhere but the run. The same file gives the same text.

How it differs from other Mamba Labs actors: Business PDF Field Extractor reads invoices, purchase orders, and contracts into fixed fields such as totals and due dates; Media URL Transcriber turns audio and video into text. This actor returns the plain text of any image or page, for any later step you choose.

Input

FieldTypeDefaultWhat it does
urlsarrayWeb addresses of PNG, JPEG, GIF, WebP, BMP, or TIFF images, or PDF files, up to 30 MB each. The address must answer without a login. In Clay, put the column in a one item list.
languagestringengLanguage of the text: eng (default), deu, fra, spa, nld, ita, or por. One language per run; run files in another language as a separate run.
page_layoutstringautoauto (default) finds columns and blocks, which suits letters, articles, and scans. block reads the page as one block of text. sparse finds scattered text, which suits receipts, forms, signs, and screenshots.
max_pages_per_filestring10Pages to read per PDF, from page 1, up to 100. Default 10. This caps the charge per file.
use_pdf_text_layerstringyesyes (default): a PDF page that already holds text is read from that text, charged as page-text, which is cheaper and exact. no: every page is read by OCR and charged as page-ocr.
max_filesstring100Files to read in this run, up to 1,000. Default 100.
max_charge_usdstringOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Example:

{
"urls": [
"https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif",
"https://example.com/scanned-letter.pdf"
],
"language": "eng",
"max_pages_per_file": "10"
}

Output

FieldTypeWhat it holds
row_typestringOne of: page, file_summary, run_summary. run_summary is the one free row written when the input is refused.
input_urlstringThe image or PDF address from your input.
file_typestringimage or pdf, from the file's first bytes.
content_typestringContent type the host sent.
file_bytesintegerSize of the downloaded file.
page_numberintegerPage of the PDF this row holds; 1 for an image.
page_countintegerPages in the file.
methodstringocr when Tesseract read the page, text_layer when the PDF's own text was used.
languagestringTesseract language code used, for example eng or deu.
textstringThe page text, lines kept, up to 100,000 characters.
char_countintegerCharacters of text on the page.
word_countintegerWords on the page.
line_countintegerLines of text on the page.
mean_confidencenumberTesseract's mean word confidence, 0 to 100. Null for a text_layer page.
low_confidence_wordsintegerWords Tesseract read with confidence under 60. Check these by eye.
page_width_pxintegerWidth of the image Tesseract read, after scaling.
page_height_pxintegerHeight of the image Tesseract read, after scaling.
pages_readintegerOn a file summary row: pages returned for this file.
pages_ocrintegerOn a file summary row: pages read by OCR, each charged as page-ocr.
pages_text_layerintegerOn a file summary row: pages read from the PDF's text layer, each charged as page-text.
row_statusstringok, or why this row carries no data: no_results, no_change, partial, blocked, or error.
error_reasonstringWhy the row is not ok. A refused input reads input_invalid: followed by what to fix.
billable_events_jsonstringWhat this row was billed as, for example {"page-ocr":1}. {} means free.
scraped_atstringWhen the row was written, UTC.

Pricing

Pay per event. Summary rows, failed downloads, unsupported files, and a refused input are free.

EventFree planBronzeSilverGold
page-ocr, one image or scanned page read by OCR$0.02$0.019$0.018$0.017
page-text, one PDF page read from its text layer$0.001$0.00095$0.0009$0.00085
apify-actor-start, once per run (one per GB of memory; the default 1024 MB is one)$0.005$0.005$0.005$0.005

Per 1,000 rows of page-ocr: $20.00 on the free plan, $17.00 on Gold.

Free plan cap: 1.50 USD of evaluation a month, about 75 rows. Any paid Apify plan removes the cap, and it resets on the 1st. The run stops before a charge that passes your maximum charge per run in Apify or your max_charge_usd input.

Mamba Labs pays the platform costs of your run, Apify proxy traffic included.

A page that holds no text is still charged as page-ocr, because the page was read: the row says no_results and Tesseract found no text. Use max_pages_per_file to cap the pages read per PDF.

Usage examples

Clay. Number and on or off inputs are text fields, which is what Clay sends. urls takes a JSON list, so put the file address column inside a one item list.

Receipts and forms. Run photos with page_layout sparse, then send text to a parser or an AI step for the fields you need. Sort by mean_confidence to find photos to retake.

Document archives. Run scanned PDFs with max_pages_per_file set to the longest file, and join rows on input_url and page_number.

MCP. The Mamba Labs MCP server @mambalabsdev/mcp-image-pdf-ocr exposes this actor to Claude and other MCP clients.

Error handling

CaseWhat you get
Missing or unreadable inputOne free row, row_type run_summary, error_reason starting input_invalid: with what to fix. The run ends successfully and charges nothing but the run start
An unknown language or page layoutRefused the same way, with the value
The address answers 404 or another errorOne free file_summary row with row_status error
The host refuses the download (HTTP 403, 429, or 503)One free file_summary row with row_status blocked
The file is not an image or a PDF, is over 30 MB, or needs a passwordOne free file_summary row that says which
A PDF longer than max_pages_per_filePages 1 to the cap, then a file_summary row with row_status partial
The run is close to its timeoutThe actor stops starting new pages 90 seconds before the timeout and delivers what it has

Limitations

  • OCR quality follows the image. Clean scans at 200 dpi or more read well; phone photos at an angle, low light, handwriting, and stylized fonts read poorly and show a low mean_confidence. Handwriting is not supported.
  • Images larger than 2,500 pixels on the long side are scaled down before reading, so very small print on a very large image can be lost; crop it first.
  • Tables come back as text lines, not cells.
  • Languages outside the seven listed are not installed. Right to left and Asian scripts are not supported.
  • The address must answer without a login. Private network addresses are not read.
  • A PDF text layer is used as the PDF holds it. A text layer made by bad OCR elsewhere is returned as is; set use_pdf_text_layer to no to read those pages again.

Mamba Labs actor suite

ActorActor ID
Account Hiring WatchgRAZA5WBi1r6L0gy7
Agent Accessibility AuditoranxbRv0lKrpQ1pnua
Agent to Brokerage ResolverePRRGLxOGyaVHO4dI
AI Answer Visibility TrackerRJZvzKniYK4nswcMg
AI List Extractor for Any WebsiteD5hOdIez45M0NX5jD
AI Tooling DetectorEwkHhmqiuJgRoVEbE
AliExpress Search ProductsMNu77ocjpdabzxeAH
Amazon Product, Price, and Stock TrackerMtJPZoyjJ3IeqTFyo
Amazon Top Reviews Scraperwh6Mq6G6BlW1CRPwx
API Deprecation and Breaking Change MonitorpHsbS3xXUK8Jqutz5
Apify Run Health MonitorfjABMkrLziyQ4gFNw
App Store and Google Play Review MonitorMaCMEhGrbchxQZ92G
B2B Reddit Conversation MonitorSoDryzzsjmY3SsiyG
B2B Social Video TranscriptsdG2UYVKE2e4zfDucK
BBB Business SearchTpjYgiza0npRmeaSJ
Bluesky Brand Presence MappereLpxzP4IuXznlFVND
Bluesky Posts ScraperKldSjS7wjoeZ7vQGm
Brand Sponsor FinderPPgK6xrgOmvL7Nrys
Brazil CNPJ Company DatacTVqsjG6A56xtLkBA
Bulk WHOIS and RDAP Domain Age LookupMTrkG5FLU6SjqLdJY
Business PDF Field ExtractorvM7JCk0CMAx5W0oJh
Career Change Signal EnginevX2Yga1a6wGaXaP14
Company Careers Page Jobs, 17 ATS BoardsizP0rfIgf5YaRZfIh
Company Change Event FeedoX44rS0fkEJ3rXLWe
Company Discovery List Builderjch0HdaZnpbMqlcGS
Company Firmographic EnricherYlUtLWjfPpqykmB8g
Company Funding RecordOFS4Mt1gyYNtGfUbE
Company Headcount EstimatoraHC4GROnNt6kfZe5r
Company Identity Resolverlr8fTRAmZCBZmuwwh
Company Role Email, Phone and Address Finder4mMncKaJykiq94grz
Company Social Presence Mapper4k6CCemkgBDz18m2h
Competitor Price, Stock, and Changelog MonitoryxdgCbUQ4PYQWwRNU
Contact Classifier0lGSeYJmniXhGANnO
Contractor License Search, CA, TX, WA, OR, LAWBYK3CPI2kdeq4bP1
Court Docket MonitorcFucrSDOihalrfmzU
CRM Contact Job Change CheckerL8UbEmMJC1XYPSZOb
Cutshort Jobs Scrapern6QehKZuPaa2L5Pwx
Dailymotion Video SearchJ36vXFWwQgnlT7HDe
Discord Server DirectoryJx3PK3b2q2ZMQYTJx
Domain Deliverability Checker0tVgxI7A6o9jMlxmc
Domain to LinkedIn URL Resolver3HtnSaqPHOg1Qg5gx
Dropped Domains from ICANN Zone FilesL5zSdrAePjKMKz24b
Ecommerce Platform Profiler5G2NeYjBbQTjaTn9L
Ecommerce Store DiscoveryPeHu4sLyFvQHXUUrX
Email List Verifier, Bring Your Own KeyCzVJ4NlaCKk80xpgE
Europages SuppliersXcw9ilHlDf9RYlecC
Event Presence IndexWLhMy8fMDgsxdYxv5
Eventbrite Events Scrapersgc6znyrbjOy5Yk9f
Expert Witness Finder, US and AustraliaLIpwlgfE3LaQBaXd4
Facebook Posts ScraperT6jxIeq4ua0SLXnqG
Facebook Reels ScraperAkOg4iNPHwYZD7Q5E
FDA Clearance and Recall Monitor3D0hAd87XgXenSsL1
Funding and Press Signal ScannerFS13X6dhQVgX3XOM6
GDPR Cookie Banner and Consent CheckerTrKyOS0KBoGC35nbr
GitHub Followers and Following ExportSGNxDmFb9v3tRDaFI
GitHub Organization Signal ScannerahF8RRpv5mzPao5CN
GitHub Repository SearchF0TGFfIvENZu47Kdl
Google Ads Transparency Center Scraper by Domain1eOwxhBVxzvOXAm4s
Google Flights FaresoVCatSfzcXbkFfcav
Google Hotels Pricesua9mDci66setpfd0B
Google Maps Places ScraperSuvHCNJ7pIuw6gn54
Google Patents Searchh65NY3mybCzdjke7i
Google Play App Details23ijMNH1onNrTicdz
Google Sheets Import and Export0VT1IaI5S3lIllONL
Google Trends ScraperOeDzaACKmBYJXzHZk
GTM Hiring Signal ScraperD7O1SA2EqwHGsGr1P
GTM Signals AggregatorxKdRfnfFNkdMpFuNs
Healthcare Provider NPI EnricherMrgbHzcpDq3mOv9Df
Houzz Professionals Directorygv0DatXK2mOidqKLe
HubSpot and Salesforce Partner DirectorywcTpF7BuFVPV4H9V1
ICP Fit ScorerW161DT8W4kW55dMFh
Image and PDF OCRcu2QyC8rn484D3A56
India MCA Company Data0rMHHRAFR5rxjhzNQ
Influencer Change Monitord2VVgahNL6UmcLkhg
Influencer Lead List BuilderKnmByszcv135yM30G
Influencer Profile ScraperEqEnklDVMIcB1V499
Influencer Search Across TikTok, Instagram and YouTubetpkedmloIIWtXx6sg
Influencer Talent Agency LookupzCuX4Mgyg6JvXgGzd
Instagram Facebook Brand Presence MapperHXh65I0JBjPsunbY8
Integration and Marketplace Presence MapperV0guNuvM85Q61f2gj
Job Board Keyword Signal Scanner4DvqpvhMR74NLcDDY
Job Posting Liveness CheckerqRI0ohsnkCwLeDKtw
Job Posting MonitorQCfICD9kOPiOdj5iI
Journalist and Media List BuildermAfizsZC8qRoR0ecS
Keepa Price HistoryaGNyKJMVbwJQHVqgx
Kick Channels, Streams, and ClipsREl7yEdagIx2YvoQU
Launch Directory List BuildercRq3bmvEZxZtioQ7U
Lead File Import CheckerRwlGVXTf46LqZdUgt
Legal Entity ResolverKHFyPCDIx7CyqULYm
Likee Creator Profiles and VideosPpIDC7DFW6023SNoG
Link in Bio Scraper and Newsletter DetectorOorucdheTIgu7RFzK
LinkedIn Company Page DetailsN9rfy1Cj2FRTOawvx
LinkedIn Company Page MapperzOPm6A9JEhUGcIdFW
LinkedIn Jobs FeedSH6N0d8cz46BhCC8B
LinkedIn Post TrackeroiGLNPuaf5BRaz9K5
Local Business Lead BuilderqMN97aoHhsAS5bznV
Local Rank and Map Pack Trackergv0kyHGDIg8XscclB
Lookalike Companies from Seed Domainse2O426WBAbLLQL4Z2
Luma Events Scraperj1wGSJAFrlfe3VqFz
Manufacturer and Supplier FinderQcsdmd0lUfPzVkonh
MCP Server Change and Health MonitorIeqjWF9U0BdDQFY08
Media URL TranscriberSyfr7Ya3EsHgWfrB6
Medium Articles Scrapervw3X3RXnB353CXdxC
Meta Ad Library Ads by Company, Graph APIJ1GWlSXfSGU3u8Wng
Mobile Phone Waterfall6OOgPktf7RIa5XCOP
Moz Domain Authority CheckerVhnN084JWsnkohAKm
Multi Platform Social Posts and CommentsicFuHR1EzDvUcfCQ5
Naver Blog SearchwBoNdClM1j37oxis5
Netherlands Rental ListingssGKGsbwoX18lFb6dR
New Hire FindercKuc38p4nYHNF3IW8
Newly Registered Companies, UK, Norway, Finland, Franceg2WfZhWvCtc57g2Jo
News and Media Mention Monitorgol1PPUKrsIk4QLBd
News Site Article ArchiveNjcF3UD8791raFNHh
Newsletter Sponsor TrackerqSwpqxD1TiPZpLQHv
Open Tender and RFP FinderkPTGz6t6TFoUUyfaO
Outbound Stack Detectorv43UJC8r7qW7cBSTG
Page Finder and ExtractorTpurgcOZbVnknlaiC
PageSpeed Insights Bulk AuditmEbdfpzHm4j7Rh8YZ
Partner and Member Directory ExtractorZX0XJPPUvnFJxeC1a
People Finder & Email VerifierLEgloG7tWgQl4o6TD
Perplexity Answer ReaderFUbX5uEE2C2jOl2xC
Person LinkedIn URL ResolverssuyPV8LnEsL8qbnb
Person Social Footprint MapperjfQXa2zW9FHCJot9K
Personal Email to Company ResolverAefT5Ye6YNPFQwJBf
Pinterest Brand Presence Mapperd1HvjZfKhgvWsoEwn
Podcast Guest and Host Findero2MGSvgbSLeeXOsIo
Podcast Ratings and Chart RanksF9xfyNI53hoxFWi0o
Private Company Funding HistoryH02K3rQIVOYpnLYc3
Product Hunt Daily Launches with Maker DomainsO4VX63drWK9Y9x641
Property Owner Records0J7ovG1iaZpQD1P0T
Prospect Engineq9rT6v64nUJdPexOQ
Public Feature Board and Roadmap MonitorrcHF5gj5r2Vqnry35
Publishing Frequency TrackerTbLwaUUATdYb6wp4N
Recent Funding Rounds FeedKueVp9MOz7iOoAgDp
Reddit Brand Presence MapperpKQZmDaT70SEb54bZ
Reddit Search and Thread Scraper4Gsth5cP2Xt9V2xDN
Remote Job Boards FeedVTGLcaqH4DUy8cmyz
Reporting Window FinderuINxR7a1IW8qUTRUX
Research Topic Institutions and AuthorsOH8ANqt7bCKbo72Gk
Sanctions List ScreeningTbMlHCgvcP6d8SeTS
SEC EDGAR Filings SearchUyUhxjv5kx1bLhSlu
SEC Form 4 Insider TradeshUzHrDz8oLjaSRiHc
Semrush Domain Metrics3dqa0abJrpssHtrYL
Sequencer Event PollerS6s8Rjd61tGdrMRk4
Sequencer Lead Push0Jv27VeWM5tSZQs9x
Shopify App Store and Chrome Web Store ListingsgaY0BzkLyN77mD3wI
Site Crawler for Links and TableslLLJ6JxZ4XqN8ULz0
Spain Company DirectoryQ6gYdBSfcBh2Rwr99
Sports Scores and FixturesyLoRnLcvqptp08cvX
Streaming Subscription Prices by CountrytbMroS2Zyn57bW17E
Substack Newsletter and Posts ScraperUEFsdwiPLmPNVy9xd
Tatoeba Sentences and AudioTmpWwlIBwwo55CHQX
TCGplayer Card PricesSMpFkXjlyaywe7VFR
Team Page People Extractorj8a9zX0k4mNbvDbWK
Tech Stack Signal Detectorqyd7nNyqFPelQViBx
Telegram Channel MessagesKr0zhiIG8Qk3ibKer
Tennis Match Datav3OX6zxXHZOf2yurO
Threads Posts by Keyword, Exact Match2OT8K8RiEEWtaj2MW
Threads Profile and PostsMbwVXjHdBt01kr2aF
Ticketmaster Event PricesCrvPX4IwLXQX9bls1
TikTok Brand Presence Mapperfco8FvoJcSafbeyd1
TikTok Shop ProductsaRkzO8JUEJ0WLEy14
TikTok Video Statsuz9Q3cEycRgA6NfqA
Trustpilot Reputation Enricher3lIqfCt61j4hqE1xz
UK Companies House Lookupysga0Ewg5JTe04GaA
US and UK Contract Award Winners by CompanyzhEtllASykOcx9hJ8
US Building Permits5xdw349kSjiLLXllv
US Import Records Buyer FinderVIMafpKF5ggOw0COU
VC and Accelerator Portfolio List BuilderchH8hrfuoqqolW06m
Wayback Machine Snapshotsj4XNxd1yyvndqCJe6
Website Accessibility Checker, WCAG 2.2 AAP3jBj3FRghKEhX52z
Website Logo FinderjiPsXBQb3AwhTcJyi
Website Phrase and Business Model ClassifierCBuZ9k7sRwBeiKiCS
Website Screenshot CapturenWd9M6qngY0sFiM8N
Website Traffic Rank EstimatorGnOFUzlNVIoXgeJjH
Work Email WaterfallOT6xqTFThC0Rjf7Zj
Workplace Program DetectorLi6pPDhqbdzFz3h7G
X Brand Presence MapperoLOgadhHUkNAyDA3w
XING Jobs ScraperGLceikOabe2bk8cRR
Y Combinator Startup JobsdKhUjewBbzfN7Crt9
Yahoo Finance Quotes and FundamentalsZX7JsMAOv3FNw8yjG
YouTube Channel and Video List ScrapertxaAjeBqgj5MStFE4
YouTube Channel Email FinderIDgKZcmeeuunUbccN
YouTube Channel from Company Domain6hSpD3kd2s2IQ4VSs
YouTube Keyword Suggestions3WH3MK5A9TocBqYZq
YouTube Shorts ScraperjUTHnhThr8jaI5ZQS
Zillow Listing DetailsyG4zM0Enfsw2NefJ1

Built by Mamba Labs.