How to extract text from an image or PDF
- 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.
- Set “Language of the text”. The list starts on the language of your browser.
- Press “Extract text”. With several files the button reads “Extract text from N files”.
- Read the result. Each file gets its own tab with the file size and a word count.
- 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 list | Pack that is loaded |
|---|---|
| English | PP-OCRv6 small (multilingual) |
| German, French, Spanish, Portuguese, Italian, Polish, Dutch, Turkish, Czech, Romanian, Hungarian, Swedish, Indonesian | PP-OCRv5 Latin |
| Russian, Ukrainian | PP-OCRv5 East Slavic |
| Greek | PP-OCRv5 Greek |
| Arabic | PP-OCRv5 Arabic |
| Hindi | PP-OCRv5 Devanagari |
| Korean | PP-OCRv5 Korean |
| Japanese, Chinese (Simplified), Chinese (Traditional) | PP-OCRv5 Chinese / Japanese / English |
| Hebrew, Vietnamese | Tesseract |
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
| Source | What to expect |
|---|---|
| Screenshot of a web page, chat or document | The most reliable input |
| Flatbed scan of a printed page | Very good |
| Phone photo of a flat, well-lit page | Good; check names and numbers |
| Photo taken at an angle, or of a curved book page | Characters are lost towards the edges |
| Page turned sideways or upside down | Not read until you rotate it |
| Two-column layout | Lines may be read across both columns |
| Table | The cell text is read; the grid is not kept |
| Handwriting, decorative fonts | Unreliable |
| Very tall scrolling screenshot | Small 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.