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 by | Text layer | What the tool does |
|---|---|---|
| Word, Google Docs, a web page saved as PDF, an online bank statement | Yes | Copies the text as it is, with no recognition mistakes |
| A scanner or a phone scanning app without OCR | No | Draws the page as an image and recognises it |
| An office scanner that saves a “searchable PDF” | Yes, hidden behind the picture | Copies the hidden text, including the scanner’s own mistakes |
| A scan with a typed stamp or header | A few words | See 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.