PDF to Text

Extract the text from a PDF

Pull all the text out of a PDF, page by page, to copy into a document or save as a .txt file - with markers showing where each page starts.
Try an example:

About PDF to Text

How it works

  1. pdf.js reads the text stored in each page, in reading order.
  2. Line breaks are added where the text moves to a new line, and pages are separated.
  3. Copy the text or download it as a .txt file.

What you need

  • A PDF that contains real text (most PDFs made from documents do).

Tips

  • Scanned PDFs contain pictures of text, not text - convert a page with PDF to JPG, then use Image OCR.
  • Multi-column layouts may come out column by column.

Limitations

  • Tables lose their layout.
  • Password-protected PDFs cannot be edited - remove the password first.

Runs in your browser. Your PDF never leaves your device - it is processed by your browser and nothing is uploaded, so it is safe for contracts, invoices and other private documents.

Frequently asked questions

How do I copy text from a PDF?+

Open it here and click "Extract text". All the text appears below, ready to copy or download.

Why is no text found?+

The PDF is probably a scan, which stores pages as images. Use PDF to JPG and then Image OCR to recognise the text.