How to OCR a Scanned PDF Into Editable Text

Published September 1, 2026 · 4 min read

A scanned document — a photocopied form, a printed contract you photographed, a receipt — is really just an image wrapped in a PDF. There's no text layer to select or search. Optical character recognition (OCR) reads the pixels and reconstructs the actual text, and this tool does that with Tesseract, a mature open-source OCR engine, running fully client-side via WebAssembly, with self-hosted trained data for 25 languages.

Try OCR PDF

Steps

  1. 1

    Open the OCR PDF tool

    Go to the OCR PDF tool.

  2. 2

    Upload your scanned PDF

    Choose the PDF (or image) you want to extract text from.

  3. 3

    Choose the document language and options

    Select the language the document is written in, which pages to run OCR on, and a segmentation mode if your document has an unusual layout (like a sparse form).

  4. 4

    Run OCR

    The tool renders each page and recognizes the text on it — this takes a few seconds per page since OCR is genuinely more work than plain text extraction.

  5. 5

    Copy or download the text

    Review the extracted text, then copy it or download it as a plain .txt file.

Frequently asked questions

Because the OCR model and engine are self-hosted and run in a Web Worker, this works even on sensitive scanned documents you wouldn't want to upload to a third-party OCR API.

← Back to blog