OfflaneAI

PDF to text —
contracts, statements and scans stay on your device

Drop a PDF and get its text. Pages with a text layer are read instantly; scanned pages are recognised with OCR in your browser. Nothing is uploaded, so bank statements and contracts stay private.

  • 📄 Text PDFs and scans
  • 🔒 Never uploaded
  • 🌍 25+ OCR languages
  • 💸 Free, no page limits

Loading the tool… (JavaScript required)

Why do some PDFs convert instantly and others take longer?

PDFs made from Word or a website contain real text and are read in a moment. Scanned PDFs are just pictures of pages; each page is rendered and recognised, taking a few seconds per page.

Is the layout preserved?

You get plain text with paragraphs and page markers. Tables come out as lines of text; for a formatted copy you would need the original document.

How large a PDF can I convert?

There is no page limit. A 200-page text PDF takes seconds; a 200-page scan a few minutes. Keep the tab open while it works.

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.

Two kinds of PDF page

A PDF page either carries a text layer, which is real characters placed on the page, or it is only a picture of the page.

Page made byText layerWhat the tool does
Word, Google Docs, a web page saved as PDF, an online bank statementYesCopies the text as it is, with no recognition mistakes
A scanner or a phone scanning app without OCRNoDraws the page as an image and recognises it
An office scanner that saves a “searchable PDF”Yes, hidden behind the pictureCopies the hidden text, including the scanner’s own mistakes
A scan with a typed stamp or headerA few wordsSee the 20-character rule below

If you can select a word in your PDF reader, the page has a text layer.

The 20-character rule

Each page is checked on its own. A page with more than 20 characters of real text counts as a text page and only that text is returned. A page with less is treated as a scan. A contract with typed pages and a scanned signature page is handled in one go; the header shows the split, such as “12 pages (3 scanned)”.

The rule has one side effect: a scanned page that carries a printed page header or a stamp longer than 20 characters returns only that line. Save such pages as images with the PDF tools and drop the images in instead.

Settings for a PDF

  • “Language of the text” matters only for scanned pages. Text-layer pages are copied whatever you choose. For a scanned document, pick the language of the page, or one with the same alphabet.
  • Several PDFs at once. A batch holds up to 20 files. “Download all as one TXT” puts them in one file, each under a ===== file name ===== line.
  • Page markers. A multi-page result has a --- Page 4 --- line before each page, which helps you find a passage in the original.

Pitfalls with PDFs

  • Password to open. A locked file gives an error; remove the password in your PDF reader first.
  • Broken text layer. Some PDFs produce scrambled characters even though they contain text, and copying from a reader gives the same. Convert the pages to images and recognise those.
  • Sideways scans. Rotated pages are not detected. Save them as images and turn them upright first.

The image to text guide lists all 25 languages, the recognition packs behind them and how to get cleaner results from photos.