substitutefor

Contribute to the catalog

Improve OCRmyPDF

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • naps2 — Adding searchable text to existing scanned PDFs in repeatable local workflows
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · OCRmyPDF documentation

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · OCRmyPDF cookbook

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · Advanced features

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · PDF security issues

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · Installation

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · Copyright and license

Source 6

Source details

To remove this source, first uncheck its citations.

Source 7 · Online deployments

Source 7

Source details

To remove this source, first uncheck its citations.

Source 8 · NAPS2 OCR

Source 8

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Recognition workflow

Section 1

Sources for paragraph 1
2 · Image preparation

Section 2

Sources for paragraph 1
3 · Existing text and structure

Section 3

Sources for paragraph 1
4 · Archival output

Section 4

Sources for paragraph 1
5 · Trust and signed documents

Section 5

Sources for paragraph 1
6 · Deployment and licensing

Section 6

Sources for paragraph 1
7 · Substitution scope

Section 7

Linked to naps2. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities4

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

OCRmyPDF

Command-line PDF OCR pipeline that adds searchable text, with configurable image processing and PDF/A output.

Overview

OCRmyPDF adds searchable text to scanned PDF documents through a command-line workflow. It combines OCR with optional image preparation, optimization and archival-format conversion. It is suited to repeatable processing of existing files rather than acting as a scanner-driver interface or a general visual PDF editor.[1][2]

Recognition workflow

OCRmyPDF takes an existing PDF and adds recognized text so its scanned pages can be searched. The cookbook defaults to English unless languages are specified, and the corresponding language data must be installed. A companion text file contains only text produced by the OCR pass: pre-existing text and skipped pages are omitted. It is therefore not a reliable substitute for extracting every character from a mixed digital-and-scanned document.[1][2]

Image preparation

Optional rotation, deskewing and cleanup can improve difficult scans. Cleanup used only for recognition differs from cleanup inserted into the final visible page. The documentation warns that background removal and final cleanup can remove wanted details or introduce artifacts, while some processing rasterizes content. Output needs visual review when these transformations matter, rather than assuming a searchable result preserved all source detail.[2]

Existing text and structure

Processing modes can skip pages already containing text, replace an old OCR layer or force rasterization. These choices are not interchangeable: redo and force operations can discard structural tags that no longer match the content. Skip mode preserves structure on untouched text pages, but a subsequent Ghostscript PDF/A conversion can still remove it. Ordinary PDF output is the documented choice when avoiding that conversion is necessary.[3]

Archival output

In version 17, automatic output is best-effort PDF/A and can fall back to an ordinary PDF. Current documentation describes an internal conversion attempt checked by pikepdf, followed by Ghostscript when necessary. An explicit PDF/A requirement must be selected rather than inferred from successful automatic output. The project's internal check is not presented as a replacement for a reference validator.[3]

Trust and signed documents

The security guide says OCRmyPDF is not a malware-protection or PDF-sanitization tool. It normally refuses to modify digitally signed files; overriding that safeguard invalidates the signature even if its visible appearance remains. Encrypted inputs require separate handling, and certificate-encrypted PDFs cannot be opened directly. These constraints make an unchanged original important when OCR output is a derivative rather than the authoritative document.[4]

Deployment and licensing

Documented installation routes cover Linux, macOS, native 64-bit Windows, WSL and FreeBSD. OCR requires external components such as Tesseract, while rasterization and PDF/A needs determine other dependencies; native Windows has no single all-dependencies installation command. The core uses MPL-2.0, with different terms for ancillary files and dependencies. Server integrations also need CPU and temporary-storage limits and cannot assume that accepting arbitrary uploaded PDFs is safe.[5][6][7]

Substitution scope

OCRmyPDF can replace the existing-PDF OCR portion of NAPS2 in a scripted workflow. Its purpose is adding searchable text, not driving a physical scanner or providing a full interactive editor. The substitution is useful when processing behavior, output format and resource limits can be configured explicitly; it does not establish equivalent document layout editing.[1][2][7][8]

References

  1. OCRmyPDF documentation

    Purpose and command-line workflow

    vendor · retrieved 2026-10-07
  2. OCRmyPDF cookbook

    Languages, sidecar omissions and image-processing cautions

    vendor · retrieved 2026-10-07
  3. Advanced features

    v17 modes, tagged PDFs and PDF/A fallback behavior

    vendor · retrieved 2026-10-07
  4. PDF security issues

    Trust boundary, digital signatures and encryption

    vendor · retrieved 2026-10-07
  5. Installation

    Native Windows, platforms and external dependencies

    vendor · retrieved 2026-10-07
  6. Copyright and license

    Core MPL-2.0 and ancillary file licenses

    vendor · retrieved 2026-10-07
  7. Online deployments

    Resource limits and unsafe public-upload assumptions

    vendor · retrieved 2026-10-07
  8. NAPS2 OCR

    OCR of imported PDF pages

    vendor · retrieved 2026-10-07

Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.