mac-ocr is really great               [ Home ](https://davidharting.com) [ Notes ](https://davidharting.com/notes) [ Media Log ](https://davidharting.com/media) [ Pages ](https://davidharting.com/pages)  [ Login ](https://davidharting.com/login) 

 2026 July 16

mac-ocr is really great
=======================

  [mac-ocr](https://github.com/privatenumber/mac-ocr) is a CLI tool from GitHub user privatenumber that let's you easily grab text out of iamges and PDFs. You just pass a path to a file and it prints the text out to stdout.

I installed it with mise: `mise use -g npm:mac-ocr@latest`, and then use it like `mac-ocr /Downloads/screenshot.png | pbcopy`.

So far, I've used it to grab text out of website screenshots and long email threads that I saved as PDFs. In my experience it is surprisingly fast and accurate.

 [ Back to all notes ](https://davidharting.com/notes)
