Extract Text from PDF

Pull the text out of a PDF to copy or download — locally, no upload.

Runs in your browserUpdated Built and maintained by Leon and Henrik

Pull the text out of a PDF and copy it or download it as plain text — entirely in your browser, nothing uploaded. Free. No sign-up. Runs in your browser, nothing is uploaded.

Extract Text from PDF

Text is pulled out locally · nothing is uploaded · Up to 100 MB per file

No PDF yet — choose a file above to pull its text out.

Runs in your browser
Nothing is uploaded

Choose a PDF and every page's text appears in a box you can copy in one click or save as a .txt file, with a page, word and character count alongside. It works on any PDF that has a real text layer — anything exported from Word, Google Docs, a browser's "Print to PDF" or most other software — and the file stays on your device the whole time.

Will it work on my PDF? A ten-second test

Open the PDF in any viewer and try to select a word with the mouse, or press Ctrl+F (Cmd+F on a Mac) and search for a word you can see.

What happens in your viewerWhat kind of PDF it isWhat to use
You can highlight words and search finds themText-basedThis tool
Dragging selects the whole page like a picture; search finds nothingScanned / image-onlyOCR PDF, then this tool
Some pages select, others don'tMixed: exported pages plus scansOCR PDF (it skips pages that already have text)
Text selects, but pasting gives symbols or nonsenseText layer without proper letter mappingTreat as a scan: PDF to Images, then Image to Text

If this tool reports No embedded text found, you're in the second row. The tool isn't broken and neither is your file; there are simply no characters stored in it.

Separators or one block: which layout to pick

The Page separators layout puts a line like --- Page 3 --- before each page's text. Keep it when you need to cite page numbers or check where something came from.

One continuous blob drops the markers and empty pages and joins the rest with a blank line. Use it when you're pasting into a document, a translator or another tool.

One detail if you care about the counts: in separator mode the markers are part of the text, and each --- Page N --- line counts as four words. A 30-page document therefore shows 120 extra words. Switch to one continuous blob for a count that matches the document itself, or paste the result into the Word Counter for more detail.

Clean-up you'll probably need

A PDF stores positioned pieces of text, not paragraphs. The tool starts a new line when the text moves down by more than half a line, and leaves a blank line when there's a bigger gap, which recovers most paragraphs. Things that usually need a quick manual pass:

What you'll seeWhyQuick fix
Line breaks in the middle of sentencesThe PDF breaks lines where the page didJoin lines in your editor, or paste into a tool that reflows text
Words split as "infor- mation"Hyphenation at line ends is real text in the PDFSearch for "- " and review each hit
The same header or footer on every pageRunning heads are repeated text on each pageRemove with find-and-replace
Lines from two columns mixed togetherText order follows the file, not your reading orderExtract, then move the lines back into order by hand (cropping the page doesn't help — hidden text is still extracted)
"fi" or "fl" as single odd charactersLigatures stored as one glyphReplace with "fi" and "fl"
Table cells running into each otherTables are positioned words, not cellsRebuild the table in a spreadsheet

To spot repeated lines such as headers quickly, Remove Duplicate Lines helps; for comparing two extracted versions of a document, use Text Diff.

What people use the text for

  • Quoting an exact passage from a report, paper or contract without retyping it.
  • Checking length or tone with the Word Counter or the Readability Checker.
  • Translating or summarising a document that doesn't let you copy more than a few lines at a time in your viewer.
  • Searching an archive of PDFs as plain text files.

The download is a UTF-8 .txt file named after the PDF, so accented letters and non-Latin scripts are preserved. Files up to 100 MB are accepted; a progress bar shows the pages being read, and very long documents take longer because everything runs in the browser tab.

Frequently asked questions

Related tools

All PDF tools →