<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Extract text from a PDF

Drop a PDF to get its text as plain text, with lines and paragraphs rebuilt, for free. The file is read by your browser and never uploaded.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Extract text from PDF

Drop a PDF here

The PDF is read in your browser: it is never uploaded.

Options

How to use it

  1. Drop a PDF or choose it from your device; long documents are read page by page.
  2. Choose whether to add page markers and to rejoin words split by a hyphen at the end of a line.
  3. Copy the text or download it as a .txt file.

Example

Input

A 2-page PDF whose second paragraph has a line ending in “infor-”

Output

--- Page 1 ---
Meeting notes

The new customer information
process starts on
March 1.

--- Page 2 ---
Next meeting: April 12.

Good to know

  • Scanned PDFs contain images, not text: they need OCR first (the OCR PDF tool, offered right here when no text is found).
  • Complex layouts (several columns, tables, footnotes) may come out in an unexpected order.
  • Password-protected PDFs cannot be opened here: remove the password in your PDF reader first.

Frequently asked questions

How do I extract text from a PDF for free?

Drop the PDF on this page: its text appears as plain text, page by page, with lines and paragraphs rebuilt and a “--- Page 1 ---” marker before each page. Copy it in one click or download it as a .txt file. There is no account and no page limit, only a maximum of 200 MB per file.

How do I extract text from a scanned PDF or an image?

A scanned PDF contains pictures of pages, not text, so this tool finds nothing in it. Run it through OCR PDF first: the text is recognised and becomes selectable, then you can extract or copy it here.

How do I copy text from a PDF into Word?

Extract the text here, click copy and paste it into Word: you get clean paragraphs without the broken lines a direct copy from a PDF reader often gives. To keep headings, lists and tables instead, use PDF to Word, which creates an editable .docx.

How do I extract text from a PDF to Excel?

For plain text, paste the extracted text into a sheet. For tables, use PDF to Excel: it rebuilds rows and columns and turns numbers into real numbers, which pasting plain text cannot do.

Why does the text come out in the wrong order?

A PDF stores words by position, not in reading order. On simple pages the tool rebuilds lines and paragraphs well, but several columns, tables, sidebars or footnotes can be interleaved. Check the result on such documents.

Can I extract text from a password-protected PDF?

Not directly: a PDF that asks for a password to open cannot be read here. If you know the password, remove it with Unlock PDF, then drop the unlocked file here. The PDF is never uploaded, either way.

← Back to all tools