Skip to content

Searchable Scans

You'll scan a short document that matters, run free text recognition over it, and end up with a PDF you can search for a word in.

About

A scan is a photo of a page, and a photo can't be searched. Text recognition, called OCR, reads the printed words and hides them behind the image, so a forty-page club newsletter or a stack of typed letters becomes something you can search in a second. Free tools do this well on typed text at 300 dpi and badly on handwriting, so for the handwritten pages you type a transcript yourself. Save the result as PDF/A, which keeps the fonts and the text layer inside the file. Household paperwork and the shredder are Order & Minimalism's badge next door. This one is for the document you'd be sad to lose.

At a glance

Per requirement
15 XP
Completion bonus
75 XP
Requirements
5
Takes
One evening
Skill level
Beginner (done it a few times)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
On your own

Requirements

  1. 1
    Choose a document of 20 to 60 pages and scan every page at 300 dpi. A flatbed is best, a phone app like Microsoft Lens, Adobe Scan or Genius Scan is fine by a window with the flash off, and NAPS2 is a free desktop app that drives any scanner. Use 300 dpi for typed text and 400 for small print, greyscale unless the page has colour that matters. A bound book goes on the flatbed one page at a time with the spine hanging off the edge, never pressed flat. Take a photo of your setup with a page on it. Photo
  2. 2
    Run OCR and save a PDF/A. NAPS2 has OCR built in, and ocrmypdf is a free command line tool that straightens the pages, recognises the text and writes PDF/A in one go. Set the language, because the wrong one turns every accented word to noise. Take a photo of the finished PDF with a search box open and a word highlighted on the page. Photo
  3. 3
    Search for five words and check every page is there in order. Pick five words you know are in the document, one from the first page and one from the last. If one doesn't turn up, look at the page: it's usually a skewed scan or faint type, and a rescan at 400 dpi fixes it. Flip through and compare the page count to the paper. Take a photo of your five-word checklist with the results. Photo
  4. 4
    Type a transcript for one handwritten page. OCR won't read handwriting, so type the page yourself, keeping the spelling as written and marking anything you can't read with square brackets. Paste it as the page's note in the PDF or save it as a text file with the same name. Take a photo of the handwritten page beside your transcript. Photo
  5. 5
    Name it by the rule, store it beside the paper, and send it to someone who'd want it. Date, source, description, like 1987-03_rowing-club_newsletter.pdf. Put the paper back where it lives with a note that a scan exists and where. Then send the PDF to a person connected to it. Take a photo of the paper with its note and the message you sent. Photo