PDF to Text

Extract all text from a PDF as a .txt file

pdfty's PDF to TXT converter extracts the text of your PDF into a plain UTF-8 .txt file. It's the right tool when you need the words, not the look — for editing, word counts, translation, quoting, search indexing, or feeding text into a script or an AI assistant. It runs in any browser.

Extraction runs on pdfplumber, page by page. Each page's text starts with a marker like --- Page 3 --- so you can trace where it came from, and pages with no text are skipped. Plain text means no layout: fonts, columns and table structure don't survive. Scanned PDFs have no text layer at all — run OCR first, then convert.

Free for PDFs up to 20 MB, with no daily limit — no watermark and no account needed. Files travel over HTTPS and are permanently deleted from our servers within 1 hour, and we never log their contents. Scanned document? Run OCR first so there is actual text for the converter to extract.

How it works

  1. 1

    Upload your PDF

    Drag and drop or click to choose. Up to 20 MB free.

  2. 2

    Extract

    Text is read from every page, in page order.

  3. 3

    Download the .txt

    Open it in any text editor. Page markers show where each page begins.

  4. 4

    Empty file? OCR first

    If the result is blank, the PDF is a scan — run OCR and convert again.

  5. 5

    Done in 1 hour

    Your PDF and the text file are deleted within 1 hour.

Frequently asked questions

The PDF is almost certainly a scan with no text layer. Run our OCR tool first, then convert the OCR'd file.
No — a .txt file can't hold formatting. For formatted, editable output use PDF to Word.
They flatten into lines of text and column alignment is usually lost. For tables, use PDF to Excel.
Each page begins with a line like --- Page 3 ---. Pages without any text are left out.
Yes, both use the same engine. Use whichever you find first.
Remove the password first with Unlock (you need to know it), then convert.

Related tools

Guides & tutorials