New Tool Radar

OCR & Text Layers

How to Check Phone Numbers in a Scanned PDF After OCR

Check whether phone numbers in a scanned PDF survive OCR with every digit and separator intact, so a copied number still dials.

Schematic illustration of a scanned PDF contact box: after OCR the number +1 555-014-2280 highlights whole and pastes back digit for digit.

Phone numbers are digit strings where one wrong digit dials a stranger. OCR can confuse 1 with l, 0 with O, and drop hyphens or spaces, and Adobe’s extraction guide warns to compare important numbers with the original image before reusing them.

Use the practice file

A practice document, practice-phone-numbers.pdf. The file is fictional.

Page Content
1 Directory with 5 phone numbers
2 Emergency contact box: “+1 555-014-2280”
3 Notes page, no numbers

Page 2 is the check page: the emergency number is “+1 555-014-2280”.

Check the phone numbers

Expected result. We checked the Tesseract manual and the Adobe Acrobat. We did not run any tool. The checks below are what to expect if the work is done correctly; run them yourself on the practice file.

1. Select the emergency number

Drag across “+1 555-014-2280” on page 2.

Expected result: The whole number highlights, including the + and the hyphens.

2. Copy and paste the number

Copy it and paste it into a text file.

Expected result: The pasted text reads exactly “+1 555-014-2280”, digit for digit.

3. Check the directory

Copy the five numbers from page 1 the same way.

Expected result: All five paste back with the same digits and separators as printed.

4. Search for the area code

Use Find for “555”.

Expected result: 6 hits, one per number, matching the six visible numbers.

Verdict table

Check Expected result Pass?
Select the emergency number The whole number highlights, including the + and the hyphens. —
Copy and paste the number The pasted text reads exactly “+1 555-014-2280”, digit for digit. —
Check the directory All five paste back with the same digits and separators as printed. —
Search for the area code 6 hits, one per number, matching the six visible numbers. —

Related guides: How to Use OCR Confidence Scores to Target Proofreading — How to Add a Searchable Text Layer to a Scanned PDF.

Limits

  • Digits that look alike are the commonest OCR error, so read every pasted number digit by digit against the scan; a spellchecker will not catch a wrong digit.
  • OCR does not repair a bad scan: blur, skew and low contrast still produce errors, so check the words that matter against the visible page.
  • UNTESTED — no OCR tool was run; all results above are expected results. The practice file is fictional.

Sources

See all