O
AI Tool Profile

OCRmyPDF

Open-source command-line tool that adds an OCR text layer to scanned PDF files so they can be searched or copied, for developers and technical users. Free to use under the Mozilla Public License 2.0.

Website
github.com
Pricing model
Open Source
Price start
Free

Description of OCRmyPDF

OCRmyPDF is an open-source tool that, per its repository, adds an OCR text layer to scanned PDF files, allowing them to be searched or copy-pasted. It is run from the command line and is aimed at developers and technical users who prefer to process documents locally.

The project lists several features: PDF/A output by default, keeping the original embedded image resolution, deskewing and cleaning pages before OCR, validating input and output, using multiple CPU cores, support for multiple languages and handling images as input. Languages come from Tesseract language packs that are installed separately and selected with the -l option, and multiple languages can be combined. The README states it supports Tesseract 4.1.1 and later.

The README says Linux, Windows, macOS and FreeBSD are supported, and that Docker images are available for x64 and ARM. Packages are listed for apt, dnf, Homebrew, MacPorts, nix, LinuxBrew, FreeBSD pkg, OpenBSD pkg_add and Snap. OCRmyPDF is otherwise pure Python but requires external installations of Ghostscript and Tesseract OCR. The core software is under the Mozilla Public License 2.0, with non-core code generally under MIT and documentation and test files under CC-BY-SA 4.0. Because it runs on your own machine, there is no hosted service, price or account involved.

Features of OCRmyPDF

  1. Adds an OCR text layer to scanned PDFs so they can be searched or copy-pasted.
  2. Produces PDF/A output by default, keeps embedded image resolution, and can deskew and clean pages before OCR.
  3. Uses multiple CPU cores and Tesseract language packs, with several languages combinable via the -l option.

Frequently asked questions

Is OCRmyPDF free?

Yes. The core software is under the Mozilla Public License 2.0, with non-core code generally MIT and documentation under CC-BY-SA 4.0. There is no paid plan on the repository page.

What does OCRmyPDF need to run?

It is pure Python but requires external installations of Ghostscript and Tesseract OCR. The README states it supports Tesseract 4.1.1 and later.

Website: https://github.com/ocrmypdf/OCRmyPDF

Key facts

Free command-line tool that makes scanned PDFs searchable, for technical users. Biggest limit: needs Tesseract and Ghostscript installed and has no graphical interface. Free under MPL-2.0.

Pricing model Open source
Free tier Yes · Free open-source software (MPL-2.0); no usage limits stated · no credit card required
Starting price Not verified
Data residency On-premises
Compliance (as stated by vendor) Not verified
Integrations Tesseract OCR, Ghostscript
Public API Not verified
Self-hostable Yes
Official site Not verified
Can a general AI assistant replace it? For layout-aware or LLM-based extraction, compare Docling or olmOCR; for hosted APIs, Mistral OCR or Google Document AI.
Last verified 2026-11-17 by editor

Alternatives & Similar Tools

Vidsembly logo
Vidsembly Freemium

Vidsembly turns PowerPoint decks, PDFs and documents into narrated videos with AI voiceover or your own voice clone in 12 languages, then lets you host and share them with a link or embed.

A

Microsoft Azure service that extracts text, key-value pairs and tables from printed and handwritten forms, PDFs and images, for developers. Microsoft says free and standard pricing options exist; limits are on a page not readable today.

T
Tesseract OCR Open Source

Open-source OCR engine and command-line program that recognizes text in images, for developers building OCR into their own software. Free under the Apache License 2.0 and recognizes more than 100 languages out of the box.

M

Mistral AI's OCR API that extracts text and structured content from PDFs and images, for developers building document pipelines. Mistral lists OCR 4.1 at $4 per 1,000 pages; no free-tier terms were stated on the pages read.

D
Docling Open Source

Open-source toolkit that parses PDFs, Office files, images and other formats into structured output for generative AI pipelines, for developers. Free under the MIT license and can run locally, including air-gapped.

N
Numerous.ai Freemium

Numerous.ai brings ChatGPT into Google Sheets and Microsoft Excel through an =AI function you can use in any cell, with no API key needed. Its site does not publish plan prices, so check the add-on before you rely on it.

Update history

  1. 2026-11-17 · ai alternative note updated (editor)
  2. 2026-11-17 · editor verdict updated (editor)
  3. 2026-11-17 · self hostable updated (editor)
  4. 2026-11-17 · integrations updated (editor)
  5. 2026-11-17 · data residency updated (editor)
  6. 2026-11-17 · free tier updated (editor)
  7. 2026-11-17 · pricing model updated (editor)

Beyond the tool

Need the outcome rather than the software?