Or drop a PDF here. Up to 200 MB; processed on this device, never uploaded.

Files never leave your browserHow?

This tool extracts the text stored in a PDF as plain text with line breaks and paragraphs rebuilt, to copy or save as a UTF-8 .txt file. The PDF stays on your device; scanned pages without a text layer are not read, as there is no OCR.

Last updated:

How it works

  1. Open the PDF

    Choose or drop the file. A password-protected PDF asks for its password.

  2. Choose the layout

    Decide what separates pages (a “--- Page n ---” line, a blank line, a form feed or nothing), whether blank lines mark paragraphs, and which pages to read.

  3. Extract

    Press Extract text. Read it in the box, press Copy, or Save .txt.

Features

  • Lines in reading order

    Text pieces are grouped by their baseline into lines, with spaces where the PDF leaves visible gaps, so words are not glued together or split into single letters.

  • Paragraphs and page markers

    A larger vertical gap becomes an empty line, and page markers make it easy to find where each page starts in the text file.

  • Any language

    Text is read as Unicode, so Cyrillic, Greek, Chinese or Arabic come out as characters — as long as the PDF stores them properly.

  • Respects copy protection

    If the PDF's author has switched off copying, the text is not extracted. Files that only need an open password work once you enter it.

Limits & privacy

One PDF up to 200 MB. The text layer is read page by page with Mozilla pdf.js; no OCR, so scans give no text. PDFs whose permissions forbid copying are not extracted. Multi-column layouts are read in the order the PDF stores the text, which is usually but not always the reading order.

The PDF is read on your device and the text is never uploaded. See the privacy page.

Example: you need the wording of a contract clause in an email. Extract the text, find the clause in the box and copy it.

FAQ

How do I convert a PDF to a TXT file?

Open the PDF, press Extract text and then Save .txt. The file is saved as UTF-8 plain text.

Why is the result empty?

The PDF probably contains scanned page images without a text layer. This tool reads stored text only and does not perform OCR.

Why are some characters wrong or missing?

Some PDFs embed fonts without a map back to Unicode. The pages look right, but the stored text is not; such text cannot be recovered without OCR.

Are tables kept?

Cells of a row usually end up on one line separated by spaces, but columns are not aligned. For tables, copy from a PDF viewer or export the original document.

Can I search the text instead of saving it?

Use the PDF Viewer, which finds words on all pages and lets you select text.

How do I turn text back into a PDF?

Use TXT to PDF.

Related tools