PDF to Text
Extract text from PDF

Turn any PDF into clean, editable text. Running headers, footers and page numbers are removed, broken lines are rejoined, and scanned pages are read with OCR. Everything runs in your browser, so your file never leaves your device.

Trusted by 4M+ readers worldwide

Click to upload, or drag and drop

PDF up to 50 MB each

Supported formats: PDF

  • Free to use
  • Your file never leaves your browser
  • Works in any browser

Extraction Options

How to convert a PDF to text

Three steps, all in your browser.

Header 14 Header Page numbers Footer notes.txt Copy Header 14 Header Page numbers Footer notes.txt Copy

Step 1: Upload your PDF

Drop in a text-based or scanned PDF up to 50 MB.

Step 2: Choose your cleanup options

Keep Remove headers & footers and Reflow paragraphs on for clean prose, or switch them off for a raw extraction.

Step 3: Copy, edit or download

Fix anything in the text box, then copy it or save it as a .txt file.

Remove headers & footers Reflow paragraphs Page separators Paragraphs rejoined

Cleanup Headers, Paragraphs, Separators

This tab

Stays on your device

Your PDF is processed in your browser and never leaves your device.

A Free PDF Text Extractor That Returns Clean Text

A raw copy of a PDF brings headers, page numbers and split words along; this extractor removes them and reads scans with OCR.

  • Headers and footers removed. Text that repeats in the same place across the pages is treated as a running header or footer and left out.
  • Page numbers dropped. A bare number at the top or bottom of a page is removed, so it no longer breaks into the text.
  • Split words rejoined. A word hyphenated across two lines is joined, and lines broken by the page width become paragraphs.
  • Scans read too. When no page has selectable text, in-browser OCR reads the English text from the page images.
! Running header repeats on every page Removed by Remove headers & footers ! Page numbers break into the text Bare page numbers are dropped ! Words split by a hyphen at line end Rejoined by Reflow paragraphs ! Scanned pages copy as nothing OCR reads English text in your browser

PDF to Text features

Strips headers, footers and page numbers, rejoins broken lines and reads scans.

Clean, editable text

Headers, footers and page numbers are removed and broken lines rejoined, ready to edit or copy.

  • Raw text when you want it. Turn off Remove headers & footers or Reflow paragraphs to keep every line and the original line breaks.
  • Nothing uploaded. The PDF is opened and processed in your browser tab and never sent to a server.
Delta Studies Quarterly Vol. 12 Alpha one: rivers carry sediment to the del- ta over many centuries of slow change. Page 4 of the report covers rainfall data. 1 Extracted Text Alpha one: rivers carry sediment to the delta over many centuries of slow change. Page 4 of the report covers rainfall data. Bravo two: farmers adapt planting to seasonal floods and shifting soil. Extraction Options Remove headers & footersStrips repeating headers,footers and page numbers. Reflow paragraphsJoin wrapped lines& un-hyphenate. Page separatorsInsert "--- Page N ---" markers

Counts at a glance

Pages, words and characters for the whole file appear above the text, which you can edit before you copy or download it.

  • Copy or save as .txt. Copy the text in one click or download it as extracted-text.txt.
  • Page markers on request. Turn on Page separators to add a --- Page N --- line where each page starts.
Extracted Text 24 pages · 8,412 words · 49,730 chars Copy Download .txt pages 24 words 8,412 chars 49,730 Copied! TXT extracted-text.txt

Extract text on your phone

The same tool works in mobile browsers on iOS and Android, with nothing to install.

  • Works on iPhone and Android. Pick a PDF from your Files app, an email attachment or cloud storage in a mobile browser.
  • Scans read with English OCR. A PDF with no selectable text is read with OCR in your browser; large scans take longer on a phone.
readloudly.com PDF to Text Upload File Reading scanned pages: 2 of 3 done… (OCR is slower) readloudly.com Extracted Text 3 pages · 418 words · 2,431 chars Copy Download .txt TXT extracted-text.txt English OCR Nothing uploaded

See the difference: raw extraction vs ReadLoudly

A three-page sample with a header, page numbers and a hyphenated word, extracted raw and cleaned.

A three-page sample with a running journal header, page numbers in the footer and a word hyphenated across two lines.

Raw text (all cleanup options off)

Delta Studies Quarterly Vol. 12
Alpha one: rivers carry sediment to the del-
ta over many centuries of slow change.
Page 4 of the report covers rainfall data.
1

Delta Studies Quarterly Vol. 12
Bravo two: farmers adapt planting to seasonal
floods and shifting soil.
2

ReadLoudly output

Alpha one: rivers carry sediment to the delta over many centuries of slow change. Page 4 of the report covers rainfall data.

Bravo two: farmers adapt planting to seasonal floods and shifting soil.

Text that repeats in the same place at the top or bottom of the pages is treated as a header or footer, and a bare number there as a page number. A hyphen at the end of a line is joined with the next line. Body sentences that only mention a page number are kept.

PDF Raw text (all cleanupoptions off) ReadLoudly output

Text PDF or scanned PDF? When OCR runs

Try selecting a line: if you can highlight the words the PDF has text, and if not it's a scan and OCR runs.

  • Try to select a line in a PDF viewer.
  • If you can highlight the words, the PDF has a text layer and extraction takes seconds.
  • If you can't, it's a scan: each page is a picture.
  • When no page in the PDF has selectable text, the tool runs OCR (optical character recognition) in your browser and reads English text from the page images.
  • OCR is slower, and clean, straight scans give the best results.
  • Need it read aloud instead? Read a scanned PDF aloud.
  • For photos and JPGs, extract text from an image.
PDF Read a scanned PDFaloud extract text from animage

Why Turn a PDF into Plain Text?

What clean, editable text lets you do that a fixed PDF page does not.

  • Edit and quote. Fix or rework the words in the text box, then copy them into your own document.
  • Hear it read aloud. Paste the text into Text to Speech and listen instead of reading.
  • Know its length. Pages, words and characters for the whole file appear above the text.
  • Clean prose, not page debris. Running headers, footers and page numbers are removed and hyphenated words rejoined.
PDF TXT Edit and quote Fix the words in the box, then copy them Hear it Paste into Text to Speech and listen instead Know its length Pages, words and characters for the file Clean prose No headers, page numbers or broken lines

PDF to Text Limits and Specs

File size, OCR language, cleanup options and output of the free PDF text extractor.

  • File size. Text-based or scanned PDFs up to 50 MB.
  • OCR. English only, and it runs only when no page in the PDF has selectable text.
  • Cleanup options. Remove headers & footers and Reflow paragraphs; switch both off for a raw extraction.
  • Page markers. Page separators adds a --- Page N --- line where each page starts.
  • Output. Copy the text in one click or download it as extracted-text.txt.
  • Locked PDFs. A PDF that needs a password to open cannot be read.
PDF PDF to Text at a glance File size Up to 50 MB OCR English, scans only Cleanup Headers, footers, breaks Page markers --- Page N --- Output extracted-text.txt Locked PDFs Not supported

Private by design: your PDF never leaves your browser

The PDF is read in your browser tab, so the file and its text stay on your device.

  • The PDF is opened and processed in your browser tab: pdf.js reads the text, and scans are read with in-browser OCR.
  • The file is not sent to ReadLoudly's servers, and the extracted text stays on your device until you copy or download it.
Read in your browser tab PDF TXT Add a PDF pdf.js or OCR Copy or save 0 files sent to our servers TXT stays on your device until you save it OCR runs in the tab for scanned pages

When the output doesn't look right

Four ways an extraction goes wrong, from empty text to columns in the wrong order.

The text is empty or garbled

The PDF may use an unusual font encoding, or be a scan with a few stray text items, so OCR doesn't run. Open it in a PDF viewer and check whether the words can be selected.

Columns or tables come out in the wrong order

Text is rebuilt line by line from top to bottom, so side-by-side columns and table cells can interleave. Turn on Page separators to keep track of where each page starts.

Real content was removed

If a document repeats the same line at the top or bottom of many pages, Remove headers & footers treats it as a header. Turn the option off.

The PDF is password-protected

A PDF that needs a password to open can't be read. Remove the password in your PDF app first.

! The text is empty or garbled Check the words can be selected ! Columns come out interleaved Turn on Page separators to follow pages ! Real content was removed Turn off Remove headers & footers ! The PDF needs a password Remove it in your PDF app first

What you can do with the extracted text

What you can do with the text once it is extracted.

PDF What you can do with theextracted text

PDF to Text: trusted by readers worldwide

Students, researchers and professionals use ReadLoudly to listen to PDFs and eBooks, chat with their documents and study faster.

Readers
4M+
Registered users
60K+
Document uploads
5M+
Lines read / month
5M+

Guides and comparisons from the ReadLoudly blog on getting more out of listening to your documents.

PDF to Text: frequently asked questions

Answers to common questions about converting PDF to text with ReadLoudly.

Upload your PDF above. ReadLoudly extracts the text in your browser in a few seconds. You can edit it in the box, copy it or download it as a .txt file. No account and no software install are needed.

Yes. With Remove headers & footers on, the tool finds text that repeats in the same place across pages, such as a journal name or a running chapter title, and removes it along with standalone page numbers. Turn the option off to keep the raw extraction.

Yes. If the PDF has no selectable text, ReadLoudly runs OCR (optical character recognition) in your browser to read English text from the page images. OCR is slower than normal extraction, and accuracy depends on scan quality.

No. The PDF is opened and processed entirely in your browser tab. The file is not sent to ReadLoudly's servers, and the extracted text stays on your device until you copy or download it.

No. The output is plain text, so fonts, images and layout are not kept. Reflow paragraphs joins lines that were broken by the page width and fixes words hyphenated across lines. Page separators adds "--- Page N ---" markers if you need to know where each page started.

You can extract text from PDFs up to 50 MB each.

Yes. It works in mobile browsers on iOS and Android. Pick a PDF from your Files app, an email attachment or cloud storage. Large scanned PDFs take longer to OCR on a phone.

Usually because the PDF is a scan: each page is a picture, so there is no text to select. Upload it here and OCR will read the text for you. A PDF that needs a password to open has to be unlocked first.