New Tool Radar

AI PDF

How to OCR a Scanned PDF Before Translating It With DeepL

Add a text layer to a scanned PDF with OCR, then translate it with DeepL and check the translation is complete.

Schematic with three steps: OCR the scanned PDF; Translate the searchable copy; Check the translation is complete.

DeepL translates the text it can extract from a PDF, and a scanned PDF has no extractable text until OCR runs. Translating the scan directly gives a partial or empty result, so OCR the file first, check the text layer, and only then translate.

What you need

  • An OCR tool such as OCRmyPDF or Acrobat Scan and OCR
  • A scanned PDF to translate
  • A DeepL account with document translation access

Step 1: OCR the scanned PDF

Run OCR on the scan with the right language code and save a searchable copy, then confirm its text is selectable.

Step 2: Translate the searchable copy

Upload the searchable copy to DeepL, choose the target language, translate it and download the result.

Step 3: Check the translation is complete

Compare the page count and the section headings of the translation with the original, and check that no section is missing or empty.

Worked example: synthetic OCR-first translation check

The table below is a synthetic example. It shows the expected result of an OCR-first translation; no file was translated.

Check Without OCR first With OCR first
Pages translated 0 of 8 8 of 8
Sections present 0 of 5 5 of 5
Headings translated None All present

Expected result (UNTESTED). translating the raw scan gives 0 of 8 pages, while OCR first gives all 8 pages and all 5 sections translated. Never translate a scan without a text layer. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • For scanned PDFs, DeepL translation quality depends on OCR, so formatting can be less precise than for native files.
  • Check the OCR text layer before translating; a bad layer gives a bad translation.
  • For business-critical layout fidelity, convert the PDF to an editable Word or PowerPoint file first where possible.

Sources

See all