Docelora
ToolsAboutContact
AI & OCR

Scanned PDF to Text (OCR)

Get editable text out of a PDF that was made by a scanner or a phone app, where the pages are pictures and ordinary text extraction finds nothing. Each page is rendered and read with optical character recognition.

Quick answer: choose the scanned PDF, select the language, optionally limit the page range, and press Read text. Pages are processed one by one in your browser; the text appears below with page markers and can be downloaded as a TXT file.

Scanned PDF to Text (OCR)

Scanned or image-only PDF files · up to 200 pages per run.

or drag and drop a file here

One PDF up to 150 MB. Password-protected PDFs must be unlocked first.

Use for documents that mix two languages.
For example 1-3, 6, 9-

Runs on your device: recognition happens in this browser tab. Your file is not uploaded to Docelora. The first time you use a language, the engine and that language’s data (roughly 3–4 MB plus 1–3 MB per language) are downloaded from docelora.com and kept in your browser’s storage for next time.

How to get text from a scanned PDF

1. Choose the PDFSelect the scanned file. The page count is shown once it opens.
2. Set language and pagesPick the language, choose all pages or a range such as 1-5, and keep 300 DPI unless the print is tiny.
3. Read and downloadPress Read text, wait while each page is recognised, then copy the text or download the TXT file.

Is your PDF scanned or digital?

A quick test: open the PDF and try to select a word with the mouse. If you can highlight individual words, it already has a text layer – use PDF to Text, which is instant and exact. If clicking selects the whole page as one picture, or nothing at all, the PDF is a scan and this OCR tool is the right choice. Some PDFs are mixed: typed pages with scanned signatures or attachments. OCR works on those too, because every page is treated as an image.

How it works

PDF.js draws each selected page onto a canvas at the resolution you choose, exactly as a viewer would display it. The canvas is passed to the Tesseract engine, which finds text lines and reads them with a neural network trained for the chosen language. The text of each page is added in page order, with an optional marker so you can find your place in long documents.

Choosing a resolution

SettingBest forSpeed
200 DPILarge, clear print such as letters and reportsFastest
300 DPIMost documents – the usual standard for OCRModerate
400 DPISmall print, footnotes, dense forms and contractsSlowest; uses more memory

Higher resolution only helps up to a point: if the original scan was made at 150 DPI, rendering it at 400 DPI cannot add detail that is not there.

Accuracy: what to expect

SourceWhat to expectNotes
Clean scan or screenshot of printed textVery good – most words correctBest case. Check numbers and names.
Phone photo of a flat page in good lightGoodAccuracy falls with blur, shadow and tilt.
Faded receipt or thermal paperFairUse Improve contrast. Totals and dates must be checked.
Tables, forms and multi-column layoutsText is read, structure is not keptColumns may be read across instead of down.
Decorative fonts, logos, text on photosPoor to fairThe model is trained mainly on document text.
HandwritingUsually poorThe engine is designed for printed text, not handwriting.

Tips for better results

How long does it take?

Speed depends on your device and the amount of text. As a rough guide, a modern laptop reads a dense A4 page at 300 DPI in a few seconds; a phone may take several times longer. The progress bar shows which page is being read. For documents of hundreds of pages, process them in ranges such as 1-50, 51-100 and so on.

Privacy and how your files are handled

The recognition engine is Tesseract, an open-source OCR engine (Apache 2.0 licence), compiled to WebAssembly by the tesseract.js project and served from docelora.com rather than a third-party CDN. When you select the button, your browser loads the engine, then the trained data for the language you chose. Your images and PDFs are read into the page’s memory and recognised there. Nothing you choose is sent to Docelora, and no account is needed.

The engine and language files are stored in your browser’s own storage (IndexedDB) so the next run starts faster. They contain no information about your documents. You can remove them by clearing site data for docelora.com in your browser settings.

Limitations

Up to 200 pages can be processed per run. Encrypted PDFs cannot be opened. The output is plain text: tables, columns, headers and footers are read as lines of text without their structure. Handwriting, stamps and signatures are not recognised reliably. If you need a PDF that stays visually identical but becomes searchable, use OCR PDF instead.

Troubleshooting

Related tools

Frequently asked questions

How do I convert a scanned PDF to text?

Choose the PDF, pick the language and pages, then press Read text. When all pages are done, copy the text or download it as a TXT file.

Why did PDF to Text give me nothing?

Because the pages of a scanned PDF are images. There is no stored text to extract, so OCR has to read the pictures of the letters.

Can I OCR only some pages?

Yes. Choose Selected pages and enter numbers or ranges, for example 1-3, 7, 10-.

What resolution should I choose?

300 DPI suits most documents. Use 400 DPI for very small print and 200 DPI to speed up large, clear text.

Is there a page limit?

Up to 200 pages per run, to keep memory use reasonable in a browser. Process longer files in several ranges.

Can it read PDFs that mix typed and scanned pages?

Yes. Every selected page is rendered and recognised, whether or not it already contains text.

Will the output keep page breaks?

Yes. Pages are separated by a blank line, and the optional markers show where each page begins.

Can I make the PDF itself searchable instead?

Yes – use OCR PDF, which keeps the pages as they look and adds an invisible text layer so you can search and select text.

Does it work with password-protected PDFs?

No. Encrypted files must be unlocked first, and only if you are entitled to do so.

Is my file uploaded to a server?

No. The file is opened and recognised by code running in your browser tab. Docelora’s server delivers the page, the OCR engine and the language data, but it does not receive your file or the recognised text.

Why is the first run slower than later ones?

The first time you use a language, your browser downloads the OCR engine (about 3–4 MB) and the language data (1–3 MB for most languages). These are cached, so later runs start almost immediately.

Which languages are supported?

Twenty: English, Arabic, Bengali, Chinese (Simplified), Chinese (Traditional), Dutch, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Urdu, Vietnamese. You can combine any two for mixed-language documents.

Should I select two languages?

Only when the document really contains both, for example English with Urdu, or French with Arabic. Adding a language that is not present makes recognition slower and can introduce stray characters.

Is the result 100% accurate?

No OCR engine is. Clean printed text usually comes out with few errors, while photos, faded paper and unusual fonts produce more. Always check names, numbers, dates and amounts against the original.

What does “average engine confidence” mean?

It is the engine’s own estimate of how sure it is about the words it read, averaged across pages or images. It is a useful warning sign when it is low, but a high figure does not prove the text is correct.

Can it read handwriting?

Not reliably. Tesseract is trained on printed text. Neat block capitals sometimes work, but joined-up handwriting usually produces poor results.

Is the layout or formatting kept?

Line breaks and paragraph gaps are kept where the engine detects them. Fonts, bold, colours, tables and columns are not reproduced; the output is plain text.

Does it work on a phone?

Yes, in current versions of Safari, Chrome, Samsung Internet, Firefox and Edge. Recognition uses the processor heavily, so it is slower than on a computer and long jobs drain the battery faster.

Is it free?

Yes. There is no account, no watermark and no limit on how many times you use it.

Why do I see random symbols in the result?

Usually the wrong language is selected, the image is too small or blurred, or the area contains pictures or patterns that the engine tried to read as text. Crop to the text and try again.

Can I use it offline?

Once the page, engine and language data have loaded and been cached, recognition itself does not need the network. You still need to open the page while online.

Which browsers are supported?

Current versions of Chrome, Edge, Firefox and Safari on Windows, macOS, Linux, Android and iOS. WebAssembly and JavaScript must be enabled.

Who makes the OCR engine?

Tesseract is an open-source engine originally developed at HP and later maintained with support from Google and the open-source community. Docelora uses the tesseract.js WebAssembly build and does not claim to have written the engine.

Last reviewed: 7 November 2026.