Skip to content

Convert from PDF guide

Extract Text From a PDF as Plain Text

Updated

Short answer: Drop the PDF into PDF to Text and download a .txt file with each paragraph on one line and pages separated by a blank line.

Copying text out of a PDF by hand gives you broken lines, stray hyphens and missing pages. Plain text is the most portable format there is: it opens anywhere, reads aloud cleanly, and is what most analysis and AI tools want as input.

Step by step

  1. Step 1: Check the PDF has selectable text. If you can't highlight a word, it's a scan and needs OCR first.

    Open OCR PDF(runs on our server)
  2. Step 2: Open PDF to Text and drop the file.

    Open PDF to Text(runs on our server)
  3. Step 3: Download the .txt file and open it in any text editor.

  4. Step 4: Skim columns and tables, which are read left to right, line by line.

Why this works, and what to watch for

In a PDF, text is stored as runs of characters placed at positions on the page, often one line at a time. A reader shows them visually as paragraphs, but the file itself just has a line ending where the page width ran out. PDF to Text reads every page and joins lines that wrapped back into whole paragraphs, so each paragraph becomes one line in the .txt file. Pages are separated by a blank line, which makes the output easy to split or search.

Layouts that rely on position are where plain text has limits. Multi-column articles and tables are read left to right across the page, line by line, so two columns can interleave and table cells end up as rows of words. For tables, PDF to Excel keeps rows and columns; for flowing structure with headings, PDF to Markdown or PDF to Word are better choices.

Plain text is a useful accessibility fallback. Many PDFs, especially older ones, have no tags, so screen readers struggle with them or read them in the wrong order. A .txt file reads in a predictable order with any screen reader or text-to-speech app, can be resized freely, and loads on anything. It isn't a substitute for a properly tagged accessible PDF, but it gets the words to someone who needs them today.

The output is UTF-8, so accented letters, Cyrillic, Greek and East Asian scripts come through, provided the PDF stores its text properly. Some PDFs, often ones made with unusual font encodings, show text correctly but store it as gibberish; if your output looks like random symbols, running OCR on the PDF and converting the result usually fixes it.

Tools used in this guide

Questions, answered

Why is my output empty?

The PDF is a scan or image, so there's no text to extract. Run OCR first, then convert the OCR'd file.

Is the layout kept?

No. Plain text has no layout. Paragraphs are rejoined and pages separated by blank lines; columns and tables are read across, line by line.

Why does the text come out as strange symbols?

The PDF's fonts store characters in an unusual way. OCR the PDF and convert the result to get real text.

All guides