Add searchable text to scanned pages
Run OCR on scanned PDFs in your browser. English and Arabic text becomes selectable and searchable while pages look exactly the same.
Private by design — files stay in your browser
Add a PDF file to get started.
OCR adds a searchable text layer to scanned PDFs. Pages that already have text are skipped unless you ask otherwise. Everything runs in your browser — models download once, on Start.
Drag & drop a PDF here
one file at a time — it never leaves your browser
How it works
A scanned PDF is a picture of a page, so ordinary text extraction finds nothing. OCR PDF renders each selected scan to an image, runs Tesseract.js in your browser to find words and their positions, then stamps those words back as invisible text on the original page. The page itself — its picture, vectors and dimensions — is not re-rendered, so the file looks identical while the words become searchable, selectable and copyable. Pages with a usable text layer are found first and skipped by default, so a mixed document only processes its scans. Your PDF is never uploaded.
How to use it
- Add one PDF by dropping it onto the workspace or choosing a file. One file at a time; extra files are ignored.
- The file card reports how many pages look scanned after a quick text-layer check. No OCR models are downloaded at this stage.
- Choose an 'OCR language': English, Arabic, or Arabic + English.
- Choose which pages to process — 'All', a 'Single page', or a 'Custom' 1-based range such as 1-3,5.
- Check 'Re-OCR pages that already have text' only if you want to recognize pages that already have a text layer.
- Click 'OCR PDF'. The engine and models are fetched from this site when the run starts if they are not already cached; the progress panel shows loading and per-page status. Use 'Stop' to cancel.
- On success, download <name>-searchable.pdf. The result lists pages OCR'd, pages skipped, and words added.
OCR versus ordinary text extraction
PDF to Text and PDF to Word read text that is already stored in a PDF; they cannot read letters inside a picture. OCR is the step that turns a scan's picture of text into real text. This tool combines both: it recognizes words from the rendered page image, then adds them as an invisible text layer on top of the untouched page. If your PDF already has selectable text, PDF to Text is the simpler choice. If search finds nothing in a document that clearly contains writing, that is the case OCR is for.
Languages and model loading
Recognition uses Tesseract.js with English, Arabic, or both together. Its worker, core files, and language models are self-hosted on this site rather than loaded from a third-party CDN. They are fetched only when an OCR run actually starts: adding a file, checking which pages look scanned, and running with no pages needing OCR do not download them. Arabic adds about 1.7 MB on first use and is cached by the browser afterwards. A slow or blocked connection can stop the first run; once cached, later runs reuse the files. Your PDF and its page images are not uploaded — the engine files travel from this site to your browser.
What changes in the output
Recognized words are drawn as invisible text at their detected positions, so the appearance of every page stays the same while the text can be selected, searched, and copied. Page count and dimensions are preserved, and pages skipped for already having text are left as they were. Arabic words are placed at their detected boxes; text-direction reordering is not attempted, so reading order follows the visual placement. The finished PDF is written only after all selected pages complete — pressing Stop discards the pages finished so far and produces no partial download.
Supported languages
- English
- Arabic
- Arabic + English
English, Arabic, and Arabic + English are available. The Tesseract worker, core and models are self-hosted here and downloaded when you press Start, not when you add a file; Arabic adds about 1.7 MB on first use and is then cached.
Formats & limitations
- Input: one PDF at a time, detected as application/pdf or by a .pdf filename; encrypted files are refused.
- Output: <name>-searchable.pdf. If no selected page needs OCR, the original bytes are returned and the tool reports 'Already searchable.' with no download.
- A page is treated as scanned when its text layer has fewer than 20 characters; other pages are skipped unless 'Re-OCR pages that already have text' is checked.
- Pages are rendered for recognition at roughly 288 DPI. Large or numerous scans take longer; no fixed page-count or file-size cap is coded in the tool.
- The Tesseract engine and language files come from this site on the first OCR run. Arabic adds about 1.7 MB and is cached afterwards; a blocked connection can prevent loading.
- Recognition is not perfect: missing or misread words depend on the scan's clarity. Arabic is placed positionally with no text-direction reordering.
- Stopping discards completed pages; the PDF is written only after every selected page finishes.
- Your PDF is never uploaded. Engine files are downloaded from this site, so the tool needs a working connection the first time it runs.
How results are validated
- The input must be at least 5 bytes of a readable PDF; encryption and corruption are checked before any work begins.
- Selected page numbers are deduplicated, bounds-checked, and processed in page order; an invalid range blocks the run.
- A bundled font must load before stamping; without it the tool reports 'OCR font failed to load.' and writes nothing.
- Words with empty text or degenerate boxes are skipped individually, so one bad recognition cannot spoil a page. Recognized text is stamped invisibly and page count and dimensions are preserved.
Troubleshooting
The file is refused as password-protected
OCR cannot open encrypted files. Run Unlock PDF with the password you know, then add the unlocked file here.
It says 'Already searchable.' and shows no download
Every selected page already had a text layer, so the file was returned unchanged. Check 'Re-OCR pages that already have text' if you still want to run OCR.
Models stall while loading, or 'OCR font failed to load.' appears
These files are downloaded from this site on the first run, so a blocked connection or strict ad blocker can stop them. Check your connection, allow the site's assets, and reload before trying again.
A page number or range is rejected
Use a page between 1 and the document's page count, or an ascending range like 1-3,5. Fix it before starting.
Some words are missing or misread after OCR
Recognition depends on scan clarity and runs at roughly 288 DPI. A cleaner or higher-contrast scan usually helps; OCR does not guarantee every word is captured.
Arabic text reads in an unexpected order
Words are placed at their detected positions and no text-direction reordering is attempted, so reading order follows the visual layout of the scan.
Real-world examples
- Make a scanned contract searchable so you can find a clause or copy a name.
- Process a bilingual Arabic/English scan with the Arabic + English mode.
- OCR only pages 1-3 and 5 of a mixed report with Custom, leaving text pages untouched.
- Re-run OCR on a page with a poor, partial text layer using Re-OCR.
- Make a folder of scanned invoices findable by vendor name before filing them.
Frequently asked questions
What does OCR add to a scanned PDF?
It recognizes letters from the page image and adds them as invisible text on top of the original page. The file looks the same, but the words become searchable, selectable and copyable. It downloads as <name>-searchable.pdf. If the PDF already has selectable text, PDF to Text can read it without OCR.
Why does it say 'Already searchable.'?
Every page you selected already had a usable text layer (at least about 20 characters), so nothing needed recognizing and the original file was returned unchanged. Check 'Re-OCR pages that already have text' to process those pages anyway.
Can I OCR only some pages?
Yes. Choose All, a Single page, or a Custom range like 1-3,5. Pages in your selection that already have text are still skipped unless you enable Re-OCR.
Which languages are supported, and are models downloaded?
English, Arabic, and Arabic + English. The Tesseract worker, core, and models are self-hosted on this site and are downloaded when a run starts — not when you add a file. Arabic adds about 1.7 MB on first use and is cached afterwards. Your PDF itself is never uploaded.
What happens if I press Stop?
The run is cancelled and pages finished so far are discarded. The searchable PDF is written only after every selected page completes, so there is no partial download — run it again whenever you like.