Extract text from a PDF

Pull all the text out of a PDF, page by page. Copy it or save it as a .txt file. Free, no sign-up, and your file never leaves your device.

Your files never leave your device

Drop a PDF here, paste, or

One PDF file. It stays on your device.

Add a PDF to pull out all of its text.

How to extract text from a PDF

  1. Add a PDF. The text from every page is read straight away.
  2. Check the result in the text box. Page markers show where each page starts; switch them off if you don't need them.
  3. Copy or save. Tap “Copy all text” to paste it elsewhere, or save it as a .txt file.

Useful for

Copying text out of a PDF by hand often brings broken lines, missing spaces or a page that refuses to let you select anything. Extracting it here gives you clean text from the whole document at once. It's handy for quoting from a report, reusing the text of an old document, counting words in an assignment, searching a long file, or feeding text into a translator.

This works for PDFs created from Word, Google Docs, websites and most other software, where the text is stored as text. Scanned documents store pictures of pages instead, so there is no text to extract until it is recognised with OCR. You'll see a clear message when that is the case.

Questions

Why does it say no text was found?
The PDF is probably a scan or made from photos, so the words are part of a picture rather than real text. Use Image to Text (OCR) to read scanned pages.
Will the formatting be kept?
You get plain text, line by line, without fonts, colours or tables. That makes it easy to paste into an email, a document or a chat.
Can I edit the text before saving?
Yes. The text box is editable; change anything you like, then copy it or save it as a .txt file.
Does it work with Hindi and other languages?
If the PDF contains real text in that language, it is extracted. Some older PDFs use unusual font encodings, which can produce garbled characters.
Are my files uploaded?
No. The text is read by your browser using pdf.js, and the PDF never leaves your device.

More free tools