English

Text Extractor: Get Text from PDF and Images

Pull all the text out of PDFs, scanned documents and images, ready to copy or save.

2 free extractions left today

How to extract text from a PDF or image

  1. Add your files

    Choose a PDF, a scanned document or images.

  2. Choose the language

    Used for scanned pages and images that need OCR.

  3. Copy or download

    Get all the text in page order, ready to copy or save as .txt.

Extract text from PDFs, scans and images

You need the text from a document, not the document itself: to quote it, translate it, edit it, count its words or paste it into another file. Copying from a PDF often gives broken lines and missing words, and scanned PDFs do not let you select text at all.

This text extractor handles both cases. For normal PDFs, it reads the text layer directly, which is fast and accurate. For scanned pages and images, it automatically switches to OCR and reads the text from the picture. You get all the text in page order, with clear page markers, ready to copy or download.

Digital PDF vs scanned PDF

Digital PDFScanned PDF
How it was madeExported from Word, a website or an appScanned or photographed paper
Can you select text?YesNo, the page is a picture
How text is extracted hereRead directly, very accurateRead with OCR, check the result
SpeedInstantA few seconds per page

The tool detects which pages are scanned and uses OCR only where it is needed. Tick "Read every PDF page with OCR" if a PDF has a hidden text layer full of mistakes.

Uses for extracted text

  • Editing documents. Get the text of an old PDF to rewrite or update it.
  • Translation. Paste the extracted text into a translator.
  • Research and quotes. Collect passages from reports and papers.
  • Data entry. Copy details from invoices and forms instead of typing them.
  • Accessibility. Turn documents into plain text that can be read aloud or resized.
  • Word counts. Paste the text into our character or sentence counter.

Tips for better results

  • Pick the right language. It matters most for scanned pages and images.
  • Use good scans. 300 DPI black and white scans read best.
  • Clean up afterwards. Our remove extra spaces tool tidies line breaks from multi-column PDFs.
  • Check tables. Text from tables comes out line by line; columns may need tidying.
  • Password-protected PDFs. Remove the password first; locked files cannot be read.

Images too

Add JPG, PNG or WebP images alongside PDFs. Each file's text is shown with its name as a heading, so you can extract a whole folder of screenshots or photographed pages in one go. You can also paste a screenshot with Ctrl+V.

Extracting text from large documents

Digital PDFs with hundreds of pages are processed quickly, because their text is read directly. Scanned pages take a few seconds each, as they are read with OCR. If you only need part of a long scanned document, split it first with our split PDF tool and extract just the pages you need.

After extracting

  • Tidy line breaks with our remove extra spaces tool, especially for multi-column PDFs.
  • Count words with the character or sentence counter.
  • Remove repeated headers such as page numbers or titles that appear on every page.
  • Save as .txt to keep a lightweight, searchable copy of the document.

Text extractor for translation

Translating a document? Extract the text here first, then paste it into your favourite translator in manageable chunks. Because the page markers are kept, you can rebuild the translated document page by page. For scanned documents in another language, choose that language before extracting so the OCR recognises the letters correctly.

Did you know?

A digital PDF often stores text as small pieces placed at exact positions on the page, not as flowing paragraphs. That is why copying from a PDF sometimes gives strange line breaks or words in the wrong order. Text extractors rebuild lines by looking at where each piece sits on the page, which is what this tool does before showing you the result.

Private by design

Contracts, statements and medical letters should not be uploaded to unknown servers. Here, PDFs are read and OCR runs inside your browser. Only the open-source text reader and its language data are downloaded the first time; your documents never leave your device.

Related tools

Questions

How do I extract text from a PDF?

Add the PDF and press Extract text. Digital PDFs are read instantly; scanned pages are read with OCR.

Can it read scanned PDFs?

Yes. Pages without a text layer are automatically read with OCR in the language you choose.

Will the formatting be kept?

You get plain text in page order. Bold, fonts and layout are not kept.

Can I extract text from several files at once?

Yes. Add PDFs and images together; each file is shown under its own heading.

Does it work with Urdu or Arabic PDFs?

Digital PDFs usually work directly. For scans, choose Urdu or Arabic as the language.

Why is some text in the wrong order?

Multi-column layouts can mix columns. Edit the text in the box before copying.

Can it extract text from a protected PDF?

Not while it is locked with a password. Save an unprotected copy first.

Does it keep tables?

Table text is extracted line by line, without the table layout.

Are my files uploaded?

No. The text is read on your device. Only the language data for the text reader is downloaded the first time.