OCR a PDF, make scans searchable
Turn scanned pages into searchable, copyable text, privately.
or drop it here · printed text in 12 languages
Processed in your browser. Your files are never uploaded. Check it yourself
How to make a scanned PDF searchable
A scanned PDF is just a stack of pictures: you can’t search it, copy a sentence from it, or let a screen reader read it aloud. OCR (optical character recognition) reads the printed words in those pictures. This tool gives you either a searchable PDF that looks exactly like the original but has hidden, selectable text, or the recognised words as a plain text file. It supports 12 languages, up to three in one document.
- 1
Choose the scanned PDF
Press Choose a scanned PDF or drop the file onto the panel. Password-protected scans ask for their password first and are decrypted in memory. As soon as the file opens, the tool checks every page for existing, selectable text: a page with at least 30 characters of real text counts as “Has text”, and a page with a few characters plus an image (a scanner’s “Scanned by…” footer, for example) still counts as a scan.

- 2
Check which pages will be read and pick the language
Each thumbnail is labelled Scan (will be read) or Has text (skipped, shown dimmed). Under Document language, pick every language the document uses, up to three; the size next to each is what your browser downloads the first time you use it. Choose the output: Searchable PDF keeps your pages exactly as they look and adds invisible text, while Plain text (.txt) gives you just the words, in reading order. Your language and output choices are remembered in this browser for next time.
Tick Force OCR on all pages only if a page’s existing text is wrong or garbled; those pages then get a second invisible text layer.

- 3
Start OCR and watch the progress
Press OCR 5 pages (the button counts the pages to read). On a computer, several pages are read at once by background workers: one fewer than your processor cores, up to four. On phones and tablets one page is read at a time to save memory. Thumbnails switch from Reading… to Done, and the progress card estimates the time left once the first pages finish. Cancel stops immediately and leaves nothing changed.

- 4
Download, copy or check the text
The result shows how many pages were read, how many already had text, the average confidence and the time taken. Download the searchable PDF, or the text as a .txt file, or press Copy text. The recognised text is also shown in a box so you can check it at a glance. If average confidence is below 70%, a warning says the scan looks blurry, small or low-contrast.
Open the downloaded PDF and press Ctrl+F (Cmd+F on a Mac) to search it. Selecting text should highlight words over the scan; if the highlight sits slightly off the printed words, that is normal for OCR text layers and doesn’t affect searching or copying.

OCR PDF features
- Searchable PDF or plain-text output
- 12 languages, up to three in one document
- Pages that already contain text are skipped
- Force OCR option for every page
- Average confidence shown when recognition finishes
- Recognition runs on your device, in background workers
OCR without uploading: what happens to your scan
Recognition runs on your own device using Tesseract, an open-source OCR engine, in background workers. Your document is not uploaded.
The first time you use a language, its recognition data (roughly 0.6 to 3 MB) is downloaded from our own site and kept in your browser’s cache. That download contains no information about your file. Each page is drawn at 300 dpi (less for very large pages, to fit your device’s memory), read, and then an invisible text layer is laid exactly over the words. The page image itself is not changed.
Pages that already contain real text are skipped, so born-digital PDFs aren’t processed twice. Tick Force OCR on all pages to override.
How to prove your file never left your device: a two-minute Network-tab and offline test you can run on this tool.
Making a scanned contract searchable
A 6-page contract was scanned to PDF in English. Open it: all six pages are marked “Will be read”. Keep English selected, choose Searchable PDF and press OCR 6 pages. A progress bar shows which pages are being read and estimates the time left; on a laptop it usually takes a few seconds per page, longer on a phone. When it finishes, you’ll see the average confidence. Open the result, press Ctrl+F, search for the landlord’s name, and it’s found on page 1.
Good to know
- OCR works on printed text; handwriting isn’t supported. Accuracy depends on the scan, so check names, numbers and dates against the original.
- Scans at 300 dpi, straight and evenly lit, give the best results. If the result warns that the scan looks blurry or small, try rescanning.
- Pick every language in the document, but no more: each extra language makes OCR a little slower.
- Making a PDF from photos first? Use JPG to PDF, then OCR it, then compress it if it’s large.
Who makes scans searchable, and what to watch for
Researchers, students and archivists
Digitised archive letters, old journal articles and photocopied book chapters often arrive as image-only PDFs. A text layer lets you search for a name across a 40-page file, quote a passage without retyping it, and feed the text into reference or note-taking tools. Treat the text as a finding aid rather than a transcription: older typefaces, faded ink and archive stamps all cost accuracy, so check every quotation against the page image. Copyright in the scanned material is unchanged by OCR.
Legal teams and anyone handling bundles
Scanned contracts, correspondence and disclosure documents are far easier to work with when you can search for a clause number or a party’s name. Run OCR before merging and paginating a bundle. Never rely on OCR text for exact figures or dates in a legal document: confirm them on the image.
Accountants, bookkeepers and finance teams
Scanned invoices, receipts and bank letters become searchable by supplier name or reference. OCR gives you text, not a spreadsheet: tables come out as lines of words, so it helps you find a document rather than extract its figures into columns. Numbers are where OCR mistakes matter most (5 and 6, 1 and 7, a missing decimal point), so check amounts against the scan.
HR and office administration
Signed contracts and forms that were scanned for the personnel file can be made searchable so the right one turns up when you need it. Because the work happens on your device, personal data in those scans isn’t sent to a third-party OCR service.
Landlords and letting agents
Scanned tenancy agreements, inventories and inspection reports are easier to search for a clause or a room. A searchable PDF still looks exactly like the signed paper copy, which matters when it is evidence.
People who use screen readers or text-to-speech
A scanned letter is silent to a screen reader. After OCR, the words can be read aloud or enlarged as text. See Accessibility below for what our text layer does and doesn’t provide.
Running OCR on Windows, Mac, Chromebook, iPhone and Android
OCR is the heaviest job on PDFMagpie, so the device makes a real difference.
| Device | What to expect | Tips |
|---|---|---|
| Windows or Mac laptop/desktop | Several pages read at once (up to four workers). A few seconds per page for a clean letter-sized scan. | Keep the tab open; you can use other tabs meanwhile. |
| Chromebook | Works in Chrome like any desktop; speed depends on the model’s processor. | Lower-powered models are noticeably slower on long documents. |
| iPhone and iPad | One page at a time, and large pages are read at a lower resolution to fit memory. | Keep Safari in front and the screen on; mobile browsers may pause tabs in the background. For more than about 50 pages, the tool suggests keeping the phone plugged in. |
| Android | As iPhone: one worker, memory-aware resolution. | Use Chrome; close other tabs for long scans. |
Every page is drawn at 300 dpi for recognition, unless that would exceed a pixel budget (about 12 megapixels on computers, 6 on phones), in which case that page is read at a lower resolution and the result tells you the lowest dpi used. A4 at 300 dpi is about 8.7 megapixels, so ordinary pages are read at full resolution on a computer.
OCR PDF compared with Acrobat, Google Docs, Live Text and OCRmyPDF
Several good tools can read text from scans. They differ mainly in what they give you back and where the work happens.
| Method | What you get | Where it runs | Cost |
|---|---|---|---|
| OCR PDF (this page) | The same PDF with an invisible text layer, and/or plain text | In your browser, on your device | Free |
| Adobe Acrobat Pro (Scan & OCR) | Searchable PDF; can also edit recognised text and add tags | Desktop app on your device | Paid subscription |
| Google Drive: Open with Google Docs | A new, editable Google Doc; the original layout is mostly lost | Google’s servers (the file is in your Drive) | Free with a Google account |
| Live Text (Mac, iPhone) or Google Lens (Android) | Text you can select or copy from an image while viewing it; not saved into the PDF | On the device (Live Text); Lens may use Google’s servers depending on the feature | Built in |
| Microsoft Word (open a PDF) | An editable Word document; layout can shift | Desktop app | Part of Microsoft 365 / Office |
| OCRmyPDF (command line) | Searchable PDF, good for batches | Your own computer | Free, open source |
Pick a searchable PDF (this tool, Acrobat or OCRmyPDF) when the document is a record and must still look like the original. Pick a conversion to Word or Google Docs when you want to rewrite the text and don’t mind the layout changing. Pick Live Text or Lens to grab a sentence from a single page quickly. OCRmyPDF and this tool both use Tesseract, the open-source recognition engine originally developed at HP and later maintained with Google’s support.
How fast, how accurate and how big: measured on real scans
We ran the tool you are using on six PDFs in Chromium on an 8-core Windows laptop (four OCR workers), English selected, Searchable PDF output.
| Document | Pages read | Time | Average confidence | Size before → after |
|---|---|---|---|---|
| Clean 5-page test scan (our fixture) | 5 | about 8 s, including loading the engine and English data | 96% | 583,683 → 592,397 bytes (+1.5%) |
| Same file again (engine cached) | 5 | about 7.7 s | 96% | same |
| Scanned USDA letter, 2 dense pages (public domain) | 2 | about 18 s | 93% | 1,133,217 → 1,149,774 bytes (+1.5%) |
| Mixed test file: rotated scan pages plus one page with text | 2 (1 skipped) | about 5 s | 96% | 146,772 → 150,626 bytes |
| Archive scan, 8 large pages incl. landscape spreads, 23.7 MB | 8 | about 2 min 26 s | 68% (low-confidence warning shown) | 23,709,404 → 23,828,291 bytes (+0.5%) |
| Scan already OCR’d by Acrobat; a born-digital PDF | 0 | instant | n/a | “No pages need OCR” |
Accuracy. For the clean test scan we have the true word list, so we could check the output properly: all 225 of 225 expected words were found in the recognised text. That is a best case, a crisp, straight, evenly lit scan of a modern typeface. The archive spreads show the other end: small type, uneven contrast and two pages per image brought average confidence down to 68%, and the tool warned us to check the result. Confidence is Tesseract’s own estimate, weighted by words; it is a good guide to whether to check carefully, not a measured error rate.
Size. The text layer is small: about 1.5% on ordinary scans and less on image-heavy ones, because it is just invisible characters plus a tiny shared font. The page images are not touched. If the scan was large to begin with, run Compress PDF afterwards; compression keeps the text layer.
Language data. The first use of each language downloads its data once from our own site and the browser caches it: English 1.9 MB, Spanish 1.1 MB, French 594 KB, German 833 KB, Portuguese 981 KB, Italian 1.2 MB, Dutch 2.8 MB, Polish 1.9 MB, Turkish 1.9 MB, Indonesian 595 KB, Hindi 900 KB, Simplified Chinese 1.6 MB.
Getting better OCR results from your scans
Recognition quality is decided mostly before OCR starts, by the scan itself.
- Scan at 300 dpi for normal text, 400 dpi or more for very small print such as footnotes. Lower resolutions lose the fine detail that separates similar letters.
- Straight and flat. Pages photographed at an angle, or the curved middle of a thick book, read worse. Scanner apps on phones that detect page edges and flatten the image help a lot.
- Even light, good contrast. Shadows across a page, glare on glossy paper and faint photocopies all cost accuracy. Black-and-white or greyscale scanning modes are fine; colour isn’t needed for text.
- The right language. Choose every language in the document, but no more. A French letter read as English loses its accents and some words. Each extra language makes OCR a little slower.
- One page per image. Two-page book spreads work, but reading order across columns is harder and confidence drops, as our archive test showed.
- Upright pages. Pages with a rotation setting are handled, but if a page image itself is sideways, rotate it first with Rotate PDF.
If you are starting from phone photos rather than a PDF, combine them with JPG to PDF first; our guide to combining scans and photos into one PDF covers capturing legible pages.
What OCR PDF can’t do
- Handwriting. The engine reads printed text. Handwritten notes, signatures and most cursive script are not recognised.
- Languages outside the 12. Arabic, Hebrew, Japanese, Korean, Russian and other languages not in the list aren’t available yet. Choosing a different language for them produces nonsense.
- Tables and layout. The text layer follows the lines on the page, but there is no table structure in the output; in plain-text output, multi-column layouts can read across columns.
- No editing of the recognised text. The searchable PDF keeps the scan image as the visible page; you can’t correct a misread word in the text layer here.
- Very long documents take time. Over 200 pages on a computer (50 on a phone), the tool warns that it may take several minutes. Files over 250 MB on a computer (80 MB on a phone) get a memory warning; splitting them with Split PDF and reading the parts is more reliable.
- Language data needs a connection the first time. After that your browser normally serves it from its cache, so a language you have used recently doesn’t need downloading again.
Privacy: what is downloaded, and what never leaves your device
Online OCR usually means uploading a scan of something personal, often a letter, contract or ID document, to someone else’s computer. Here the recognition runs on your own device.
- The engine comes to you. The page loads the Tesseract worker and its WebAssembly core from our own site, along with the language data from
/tessdata/on pdfmagpie.com. In the Network tab you will see these files arrive the first time: for English, a 1.9 MBeng.traineddata.gz. They are the same for everyone and contain nothing about your document. - Your pages stay in the tab. Each page is drawn into an image in memory, handed to a worker on your device, and the recognised words come back the same way. No request carries the scan or its text. You can confirm this with the Network-tab and offline test; run OCR once online first, so the engine and language data are already in your browser’s cache.
- Nothing is kept. When you leave the page or press Start over, the workers are shut down and their memory released. The only thing stored is your choice of languages and output type, in this browser’s local storage, so the tool remembers them next time.
- Nothing is logged. Error handling records only the kind of error, never page content.
Accessibility: what the text layer does and doesn’t give a screen reader
OCR is often the first step in making a scanned document accessible, so it is worth being precise about what this tool adds.
- It adds real, extractable text. Each recognised word is placed as invisible text over its position on the page, in a font that maps back to the correct characters. PDF readers, search, copy and paste, and text-to-speech can all use it.
- It does not add tags. The output is an untagged PDF: there are no headings, list or table structure, alternative text for images, or declared reading order. Screen readers that handle untagged PDFs will generally read the text line by line, in the order it was recognised. For a document that has to meet an accessibility standard such as PDF/UA, use a desktop editor that can add and check tags after OCR.
- Accuracy matters more for listeners. A misread word is easy to spot visually but can be confusing when read aloud. Check important documents, or use the Plain text output with a reading tool so errors are easier to correct.
- The tool itself. Progress is announced to screen readers every few seconds (pages read and time left), the language list is a keyboard-navigable list box with a search field, and the result is announced when it is ready.
OCR PDF: troubleshooting
- “No pages needed OCR. Every page already has selectable text.”
- The PDF already contains text (it was made from a Word file, say, or was OCR’d before). Choose Plain text to export that text, or tick Force OCR on all pages if the existing text is garbled.
- “Some text may be wrong — the scan looks blurry, small or low-contrast.”
- Average confidence was under 70%. Check names, numbers and dates against the image; if you can, rescan at 300 dpi or higher, straight and evenly lit.
- “Couldn’t load the OCR language data”
- The first use of a language needs a connection to download its data from our site. Check you are online (or that a firewall isn’t blocking pdfmagpie.com/tessdata) and press Try again. Your file stays on your device either way.
- “Large pages were read at N dpi to stay within this device’s memory.”
- Very big pages (posters, drawings, spreads) were read at a lower resolution. Results are usually fine; for tiny print, OCR the file on a computer, which has a larger pixel budget than a phone.
- “That’s a big file for this device.”
- It should still work. If the tab becomes unresponsive, split the PDF with Split PDF and OCR the parts.
- “N pages to read — this may take several minutes.”
- Long job warning. Keep the tab open (and a phone plugged in). You can cancel at any time without losing your original.
- Searching the result finds nothing
- Check you opened the -ocr copy, and that the document language was selected correctly. Some viewers need a moment to index a large file before search works.
- The text comes out in the wrong order
- Multi-column pages and two-page spreads can read across columns. Searching still works; for clean reading text, split spreads into single pages first.
- “This PDF is password-protected”
- Enter the password you use to open the file; it is decrypted in memory for OCR. The searchable PDF is saved without a password, so lock it again with Protect PDF if needed.
- “Your device ran out of memory”
- Close other tabs, try on a computer, or split the document and OCR it in parts.
Glossary
- OCR (optical character recognition)
- Software that finds printed letters in an image and turns them into text a computer can search and copy.
- Searchable PDF
- A PDF that shows the original scan but has invisible text laid over the words, so search, select and copy work.
- Text layer
- The invisible text added over each page. It doesn’t change what the page looks like.
- Born-digital PDF
- A PDF made directly by software (Word, a browser, an accounts package). It already has text and doesn’t need OCR.
- Confidence
- The OCR engine’s own estimate, per word, of how sure it is. We show the average, weighted by word count.
- dpi (dots per inch)
- How many pixels the page image has per inch. 300 dpi is the usual standard for reading text.
- Tesseract
- The open-source OCR engine used here, run in your browser through tesseract.js.
- Language data
- Trained files that teach the engine one language’s letters and words. Downloaded once per language and cached.
- Tagged PDF
- A PDF with a structure tree describing headings, lists, tables and reading order for assistive technology. This tool doesn’t add tags.
Related tools and guides
OCR PDF: frequently asked questions
How do I OCR a PDF for free?
Choose the scanned PDF above, pick the language and press OCR. It’s free with no sign-up, and the text recognition runs on your own device.
How do I make a PDF searchable?
Choose Searchable PDF as the output. The result looks identical to your scan but contains invisible text, so Ctrl+F (Cmd+F on a Mac) finds words in it.
Why is my PDF not searchable?
It is probably a scan or photo: the pages are pictures of text, not text. Running OCR adds a text layer. If the PDF does have text but search still fails, the text may have been stored without a proper character mapping; try Force OCR on all pages.
Can I OCR a PDF to Word?
Not directly. Choose Plain text, press Copy text and paste into Word. If you need the layout as an editable Word document, opening the PDF in Word converts it, with some layout changes.
Can I OCR a PDF to Excel?
No. OCR here gives text in lines, without table structure, so figures won’t land in separate cells. It is best for finding and copying text.
Is OCR AI?
Modern OCR uses machine learning: Tesseract’s current engine is an LSTM neural network trained on text. Here it runs entirely in your browser; nothing is sent to a cloud AI service.
How do I OCR a PDF on a Mac?
Open this page in Safari, Chrome or Firefox and use it as on any computer. Live Text in macOS lets you select text in an image while viewing it, but doesn’t save a searchable text layer into the file.
Does it read handwriting?
No. It reads printed text. Handwriting, signatures and most cursive script won’t be recognised.
Which languages are supported?
English, Spanish, French, German, Portuguese, Italian, Dutch, Polish, Turkish, Indonesian, Hindi and Simplified Chinese, up to three in one document. Arabic and other scripts aren’t supported yet.
Is my document uploaded for OCR?
No. Recognition runs on your device. Only the engine and language data are downloaded from our own site, and those requests contain nothing about your file.
How long does OCR take?
In our tests a clean page took one to two seconds on a laptop reading four pages at once, and a dense archive scan about 18 seconds per page. Phones read one page at a time and are slower.
Will OCR make my PDF bigger or change how it looks?
It looks exactly the same; the page images aren’t touched. The file grows slightly, about 1.5% in our tests, for the invisible text.
Page updated · By the PDFMagpie team