Skip to content
Sumly logoSumly

PDF to Text Converter

Pull the text out of a PDF as a plain .txt file.

In

Out

Open a PDF to get its text.

How PDF to Text Converter works

The text layer of every page is read from the PDF. Each piece of text carries its position on the page, so lines are rebuilt from the fragments that share a height, in reading order from top to bottom.

Lines are joined into paragraphs, and a larger-than-usual gap starts a new one. A word split by a hyphen at the end of a line is joined back together. Pages are separated by a blank line, or by a marker line if you prefer.

Only text a PDF already contains can be read. Scanned pages, text drawn as pictures and text inside images produce nothing.

Worked example

A 3-page report with about 1,500 words becomes a plain .txt file of roughly 9 KB. Paragraphs are separated by blank lines and headings stand on their own lines.

The tool above opens with these numbers. Change them to run your own scenario, or press Reset to come back to this example.

Frequently asked questions

Turn the tables in a PDF into an Excel workbook.

Turn a PDF into an editable Word .docx document.

Save PDF pages as JPG or PNG images at screen or print resolution.

Turn the tables in a PDF into a CSV file.

Turn a PDF into an EPUB e-book that fits any screen.

Turn JPG, PNG or WebP images into one PDF, a page per image.

  • pdf to text
  • pdf to txt
  • extract text from pdf
  • convert pdf
  • pdf