Skip to content
PDFCraftly

PDF to Text

Extract all text from a PDF into a plain .txt file.

Runs in your browser — files never leave your device

or drop files here

How to convert a PDF to text

Pull the text out of one or many PDFs into plain .txt files for editing, searching or feeding into other tools.

  1. Add one or more PDFs.

  2. Check the file list.

  3. Click Extract text and download the .txt files.

What the text file contains

The tool reads the text layer of the PDF and writes it to a plain .txt file, one per PDF, with line breaks kept. Fonts, colours, images and page layout are not part of a text file, so columns are read in order and tables come out as lines of words. That is exactly what you want for searching, word counts, pasting into an email or feeding a document into another program; it is not a way to recreate the formatting.

You can add several PDFs at once. Each becomes its own .txt file, and they download together as a ZIP when there is more than one.

When the result is empty or garbled

An empty file almost always means the PDF is a scan: it contains pictures of pages, not text. Run OCR PDF first to add a text layer, then convert the result. Text with odd characters or missing letters usually comes from a PDF whose fonts do not map cleanly to Unicode, which happens with some older generators; OCR of that file often reads better than its own text layer.

If you want headings, bullet points and numbered lists preserved as structure rather than flattened to lines, use PDF to Markdown instead.

PDF to Text FAQ

The PDF is probably a scan with no text layer. Run OCR PDF first, then extract the text.

Line breaks are kept, but columns and tables become plain text. For headings and lists, try PDF to Markdown.

No. The tool runs entirely in your browser, so your files are processed on your own device and never leave it.

Yes. Every PDFCraftly tool is free, with no sign-up, no watermark and no email required.

Guides

More convert from pdf tools