Accessibility

Make a scanned PDF searchable with OCR

How to add a reliable text layer to scanned pages and check names, numbers, tables, and reading order afterward.

Quick answer

OCR adds machine-readable text behind or alongside the page image. Select the document’s real language, straighten and clean the scan, run recognition on a duplicate, then verify the text by searching for difficult names and copying representative passages. OCR is a draft that needs review, not proof of accuracy.

01

Know whether OCR is needed

Try to select a sentence with the cursor or search for a distinctive word. If the whole page behaves like one picture and search returns nothing, the PDF probably contains image data only. A mixed document may have searchable exported pages and image-only scanned attachments, so test more than the first page.

OCR does not replace the visible scan. In the common searchable-image approach, software keeps the page image and adds an invisible text layer. This supports search, copying, indexing, and some assistive technology workflows while preserving the visual record.

02

Prepare the scan before recognition

  1. 01

    Keep an untouched copy

    Recognition can alter page images, orientation, or encoding. Work on a duplicate and use a descriptive suffix such as _OCR.pdf.

  2. 02

    Correct rotation and skew

    Letters aligned horizontally are easier to recognize. Rotate sideways pages and deskew pages that slope because of a rushed scan.

  3. 03

    Choose the right language

    Language affects dictionaries and character models. Select the dominant language and add supported secondary languages when the document mixes them.

  4. 04

    Avoid over-cleaning

    Remove obvious shadows and dark borders, but do not erase faint punctuation, diacritics, signatures, or pale type with aggressive thresholding.

03

Verify what matters, not just what is easy

  • Search for a surname, an accented word, a date, and a reference number.
  • Copy a paragraph into a plain-text editor and compare it line by line.
  • Check 1 versus I, 0 versus O, 5 versus S, and punctuation in identifiers.
  • Inspect columns and tables; OCR may join cells in the wrong order.
  • Test page headers and footers that repeat across the document.
  • Use read-aloud or a screen reader for a sample to reveal broken reading order.

04

OCR is one accessibility step

Searchable text is useful, but it does not automatically create an accessible PDF. A document may still need headings, lists, table structure, alternative text for meaningful images, a declared language, descriptive links, bookmarks, and a logical reading order.

For a short personal application, accurate searchable text and clear page images may be the practical priority. For public information, education, employment, or formal compliance work, use an accessibility checking and remediation process appropriate to the organization’s standard.

Final checklist

  • Untouched original retained
  • All pages upright and reasonably straight
  • Correct recognition language selected
  • Names, dates, numbers, and accented text checked
  • Tables and columns copied in a sensible order
  • Search works across scanned pages
  • Visible image quality remains acceptable
  • Accessibility structure assessed separately when required
Use the interactive checker

?

Questions people ask

Does OCR change the appearance of my scan?

A searchable-image workflow normally preserves the page image, though some tools also clean or compress it. Compare the result with the untouched original before relying on it.

Why is copied text full of errors when the page looks clear?

The text layer can be wrong even when the image looks perfect. Language settings, skew, low contrast, unusual fonts, and multi-column layouts all affect recognition.

Is OCR safe for confidential documents?

Local processing keeps the file on your device. If you use a cloud service, review its storage, retention, access, and deletion terms before uploading confidential material.

Primary references

We use primary technical sources where a workflow depends on a specific standard or product behavior.

AP
How this guide was reviewed

Checked against current primary documentation where cited, edited for plain language, and structured around a repeatable verification step. Read our editorial policy.

Continue

Related field guides