How to Extract Text from an Image or PDF (OCR, No Upload)
Turn images and scanned PDFs into copyable text — privately, in your browser.
OCR (Optical Character Recognition) reads the text inside an image or a scanned PDF and turns it into editable, copyable text. It is the fastest way to digitise receipts, forms and documents.
This guide shows how to run OCR without uploading your files — which matters for sensitive documents.
Why local OCR matters
Most online OCR services upload your image to a server. For receipts, IDs and contracts that is a privacy risk. This tool runs the OCR engine in your browser, so the file stays on your device.
How to extract text (OCR)
- Open the OCR tool.
- Choose an image or a PDF.
- Pick the language (English or German).
- Convert, then copy the text or download it as .txt.
Tips for better accuracy
- Use a sharp, well-lit image or a text-based PDF.
- Straighten skewed scans.
- Match the language to the text.
Ways to get text from a file
| Method | Files | Notes |
|---|---|---|
| Browser OCR (FormatFlash) | Images, scanned PDFs | No upload, English and German |
| Cloud OCR service | Images, PDFs, handwriting | Uploads your document |
| Text layer in a PDF | Native PDFs | Copy text directly, no OCR needed |
| Copy and paste | Screenshots | Only for short snippets |
Before converting, check whether your PDF already has selectable text — if a cursor turns into a caret in a reader, the text layer exists and you can copy it without OCR.
How OCR actually works
OCR looks at a picture one region at a time and decides which character each dark shape resembles. The engine runs several passes: it straightens the image, finds blocks of text, recognises the characters, then reassembles them into words and lines. That chain explains most of the typical mistakes you will see.
Because the recognition is statistical, image quality matters more than anything else. A clean 300 DPI scan usually comes out close to perfect, while a photo taken at an angle with poor lighting produces random characters — commonly rn instead of m, or 0 instead of O.
What makes recognition accurate
| Factor | Why it matters | What to do |
|---|---|---|
| Resolution | Character shapes blur or break up | Use at least 200–300 DPI for scans |
| Contrast | Dark text on a light background works best | Crop shadows, avoid photos of screens |
| Skew | Rotated lines are not recognised | Straighten the page before converting |
| Language | Letter statistics differ per language | Pick English or German to match the text |
Where OCR saves time
- Accounting: pull amount and date out of receipts and invoices instead of retyping them.
- Research: quote a passage from a scanned book or archive without typing it out.
- Accessibility: turn an image of a document into text a screen reader can read.
- Development: extract error messages or config values from a screenshot.
- Translation: get the text into a form you can paste into a translation tool.
Recognising handwriting and special characters
This engine targets printed text in fixed fonts — invoices, forms, screenshots and printed books. Handwriting, stylised fonts and mathematical notation are recognised poorly or not at all. If a document is handwritten, retyping is still faster than correcting the output.
Accented characters, umlauts and ligatures are handled when the matching language is selected, since the engine only recognises glyphs trained for that language model.
Why doing it locally is different
Cloud OCR means sending a full-quality picture of the document to a third party, where it is often stored for a retention period and used to improve the service. With browser OCR the recognition model itself is downloaded once and then runs offline in your tab — the image is processed in memory and discarded when you close the page. Nothing is transmitted, logged or retained, which is why this is the safer choice for IDs, contracts and medical paperwork.
Frequently asked questions
Are my files uploaded?
No. OCR runs entirely in your browser using WebAssembly.
Which languages are supported?
English and German in this offline build.
Does it work on scanned PDFs?
Yes — each page is rendered to an image and then recognised.
Conclusion
Extracting text from an image or PDF is private and free with browser-based OCR — no upload required.