OfflaneAI

Image & PDF to text —
OCR that never uploads your document

Screenshots of chats, photos of book pages, scanned contracts, PDF statements: drop them in and get editable text. The recognition engine runs in your browser, so sensitive documents stay on your device.

  • 📄 Images and PDFs
  • 🌍 25+ languages
  • 🔒 Documents never leave your computer
  • 💸 Free, no page limits

Loading the tool… (JavaScript required)

How does the OCR work?

The page loads PaddleOCR (PP-OCRv5/v6, Apache 2.0) — the 2025–2026 generation of open-source text recognition — plus a language pack (6–20 MB, cached); Hebrew and Vietnamese use Tesseract. Text-based PDFs are read directly from their text layer; scanned pages are rendered and recognised.

How accurate is it?

Clean screenshots and printed scans come out 95–99% accurate. Photos taken at an angle, blurry text, handwriting and decorative fonts lower accuracy — straighten the page and add light for better results. Always proofread names and numbers.

Can I OCR a scanned PDF?

Yes. Each page without a text layer is rendered at 2× and recognised; pages that already contain text are read instantly. Multi-page results are separated with page markers.

How to extract text from an image or PDF

  1. Add the files. Drop screenshots, photos, scans or PDFs on the upload area, click it to choose them, or paste a picture with Ctrl+V. One batch holds up to 20 files.
  2. Set “Language of the text”. The list starts on the language of your browser.
  3. Press “Extract text”. With several files the button reads “Extract text from N files”.
  4. Read the result. Each file gets its own tab with the file size and a word count.
  5. Take the text. “Copy text” puts it on the clipboard, “Download TXT” saves a file named after the source.

What happens to a picture

Recognition has two stages. A detection model finds every line of text in the image. A recognition model then reads each line into characters, using the character set of the language pack you chose. The output is the lines in the order they were found, as plain text.

Preparation before recognition

  • Transparent areas are filled with white.
  • A small image, with a long side under 1,200 px, is enlarged to 2,000 px so that small letters have enough pixels.
  • A very large image is reduced to 3,500 px on the long side.
  • A phone photo is turned the way the camera recorded it.

What happens to a PDF

Every page is checked for a text layer. If the page holds more than 20 characters of real text, that text is copied as it is: no recognition and no recognition mistakes. A page without such a layer is treated as a scan, drawn as an image and recognised like a photo.

The decision is made page by page, so a file that mixes typed pages and scanned pages is handled correctly. The result header shows the split, for example “12 pages (3 scanned)”. In a multi-page result each page starts with a line such as --- Page 4 ---.

Languages and recognition packs

The list has 25 languages. Behind them are nine recognition packs, and the pack is what decides which characters can be read.

Language in the listPack that is loaded
EnglishPP-OCRv6 small (multilingual)
German, French, Spanish, Portuguese, Italian, Polish, Dutch, Turkish, Czech, Romanian, Hungarian, Swedish, IndonesianPP-OCRv5 Latin
Russian, UkrainianPP-OCRv5 East Slavic
GreekPP-OCRv5 Greek
ArabicPP-OCRv5 Arabic
HindiPP-OCRv5 Devanagari
KoreanPP-OCRv5 Korean
Japanese, Chinese (Simplified), Chinese (Traditional)PP-OCRv5 Chinese / Japanese / English
Hebrew, VietnameseTesseract

Languages that share a pack

A page that mixes German and French needs no special setting: both use the Latin pack. The same holds for Russian and Ukrainian.

Languages that are not in the list

Pick a language with the same alphabet. The Latin pack contains å, ø and æ, so Danish and Norwegian pages can be read with any language from that row. The East Slavic pack contains the Belarusian letters.

English words inside another language

Every PaddleOCR pack also reads Latin letters and digits. Brand names, web addresses and code inside Russian, Greek, Arabic, Hindi or Korean text are recognised without extra steps. “Text also contains English words” matters for Hebrew and Vietnamese: there it loads English data next to the main language.

What reads well and what does not

SourceWhat to expect
Screenshot of a web page, chat or documentThe most reliable input
Flatbed scan of a printed pageVery good
Phone photo of a flat, well-lit pageGood; check names and numbers
Photo taken at an angle, or of a curved book pageCharacters are lost towards the edges
Page turned sideways or upside downNot read until you rotate it
Two-column layoutLines may be read across both columns
TableThe cell text is read; the grid is not kept
Handwriting, decorative fontsUnreliable
Very tall scrolling screenshotSmall text is lost when the image is reduced

Getting more accurate text

Start from the original file

A screenshot beats a photo of the screen, and the PDF itself beats a photo of its printout. Every step between the source and the tool costs sharpness.

Rotate, straighten and crop first

The engine has no step that detects a rotated page. Turn sideways photos upright and trim the desk around the paper with the image cropper; its straighten control also fixes a slightly tilted scan.

Split very tall images

A long chat capture can be 10,000 px high. After the reduction to 3,500 px its letters are only a few pixels tall. Cut it into screen-sized parts and add them as separate files.

Separate the columns

For a newspaper page or a two-column paper, crop each column into its own image. The lines then come out in reading order.

Retake a weak photo

Hold the phone parallel to the page, fill the frame with the text and use daylight or a lamp from the side. A sharper photo helps more than any setting.

Working with several files

Files are processed one after another, and a progress line names the file and the page being read. A file that fails shows its own error message while the rest continue. When more than one file is done, “Download all as one TXT” saves extracted-text.txt, with each source under a ===== file name ===== line. “Clear list” empties the batch.

What to do with the text next

  • Read a foreign document in your own language with the translator.
  • Get the main points of a long scan with the AI summarizer.
  • Rebuild a text PDF as an editable document, layout included, with PDF to Word; this tool gives plain text only.

What it does not do

  • No layout. Fonts, columns, table grids and images are not carried over.
  • No searchable PDF. The output is text, not a copy of the PDF with a text layer added.
  • No rotation detection. Sideways pages must be turned first.
  • No recognition on pages that already have text. A scanned page with a typed header or stamp of more than 20 characters returns only that text.
  • No editing in the result box. Copy the text into an editor to correct it.
  • No locked PDFs. A file that asks for a password to open gives an error; remove the password first.

How it runs on your device

The main engine is PaddleOCR (PP-OCRv5 and PP-OCRv6, Apache 2.0), run through the ppu-paddle-ocr library (MIT). Tesseract.js (Apache 2.0) covers Hebrew and Vietnamese, and PDF pages are opened with pdf.js (Apache 2.0).

A pack is 6–20 MB. It is downloaded the first time you use a language from its row and kept in the browser cache; switching to a language from another row downloads another pack. If PaddleOCR cannot start in your browser, the page falls back to Tesseract until you reload it.

Files are read from your disk straight into the page. A passport scan, a contract or a bank statement is recognised on your own device and is not uploaded.

Troubleshooting

The result is gibberish or in the wrong alphabet

The selected language uses a different pack from the text. Choose a language from the row that matches the script on the page and run it again.

A scanned PDF returns only a few words per page

Those pages carry a small text layer, such as a page number or a stamp, so they were not recognised. Save the pages as images with the PDF tools and add the images here.

Text from a typed PDF is scrambled

The text layer of the PDF itself is broken; copying from a PDF reader gives the same result. Convert the pages to images and recognise them instead.

Nothing is found on a photo

The page is probably sideways or upside down. Rotate it and try again.

The first run takes much longer than the next ones

The language pack is being downloaded. Later runs with the same pack start at once.

The lines come out in the wrong order

The page has columns or side notes. Crop each block and recognise the blocks separately.