Skip to content

v1.0.0

Latest

Choose a tag to compare

@privatenumber privatenumber released this 13 Jun 15:04
· 1 commit to develop since this release
v1.0.0
0572999

First release.

mac-ocr is a macOS command-line tool that reads text from images and PDFs, and creates searchable PDFs — entirely on-device via Apple's Vision framework, nothing uploaded.

Highlights

  • OCR images and PDFs to text, JSON, or streamed JSONL (page by page)
  • Create searchable PDFs from scans or images (invisible, selectable text layer)
  • Batch, stdin, and URL inputs; language selection, regions of interest, encrypted-PDF passwords
  • Typed Node.js API: ocr, ocr.pages, createSearchablePdf, supportedLanguages
  • Bundles an agent skill for AI coding assistants

Install

npm install -g mac-ocr

Requires macOS 10.15+. Ships a prebuilt universal binary — no Xcode or Swift toolchain needed.

npm: https://www.npmjs.com/package/mac-ocr