FormatterHQ

PDF to Text Converter

Extract the text from a PDF as plain text, page by page. Choose a page range, copy the result or download it as a .txt file. Nothing is uploaded.

Loading tool…
Ready.

How to use the PDF to Text Converter

  1. Drop a PDF onto the page; the text of every page appears in the editor.
  2. To convert only some pages, type a range such as 1-3, 5 or 8- in Pages.
  3. Turn Mark page breaks off if you want one continuous text.
  4. Click Copy or Download .txt.

Convert PDF to text in your browser

This PDF to text converter reads the text layer of a PDF and gives you plain text you can paste into an email, a spreadsheet, a translation tool or your own code. The file is opened with pdf.js on your device, so confidential documents never leave your computer.

How the text is rebuilt

A PDF does not store paragraphs. It stores pieces of text with a position on the page. The converter puts those pieces back in reading order: a new line starts where the original line ended or where the text moves down the page, and a space is added where there is a gap between words. A page that looks like this:

Quarterly Report
Revenue grew 12% this quarter.

comes out as the same two lines. With page markers on, each page starts with a line such as --- Page 2 ---, which makes it easy to find where a passage came from.

Page ranges

Leave Pages empty to convert the whole document. Ranges use commas and dashes: 1-3, 5 converts pages 1, 2, 3 and 5; 8- converts page 8 to the end; -2 converts the first two pages. The status line shows the word and character counts of the selected pages.

Scanned PDFs

A scanned document is a set of pictures of pages. There is no text inside to extract, so those pages come out empty, and the tool tells you which ones. Reading text from pictures needs OCR (optical character recognition) software. Many scanners and phone scanning apps can add an OCR text layer when they save the PDF.

Layout limits

  • Columns are usually extracted column by column, but some files store text in a different order than it appears.
  • Tables come out as lines of text with spaces between cells, not as a grid.
  • Hyphenated words at line ends keep their hyphen, as in the original.

Related tools

To turn pages into pictures instead, use PDF to JPG. To count or clean up the extracted text, try the word counter or the text formatter.

Frequently asked questions

Why is the extracted text empty?
The PDF is most likely a scan: its pages are images without a text layer. The tool lists the pages that have no text. You need OCR software to turn those images into text.
Can I extract text from a password-protected PDF?
Yes, if you know the password. Type it when asked; it is used only by your browser to open the file and is not stored.
Does it keep the formatting?
No. The output is plain text: fonts, colors, images and table borders are not included. Line breaks follow the lines of the original page.
Why are some words joined together or split apart?
Some PDFs store each letter or word as a separate piece without real spaces. The converter adds a space when it sees a gap, but unusual fonts or letter spacing can still produce joined or split words.
Is there a page limit?
There is no fixed limit; very large PDFs simply take longer because every page is read in your browser. Files over 250 MB are refused.

Last updated October 8, 2026

Guides

Related tools

HTML to Text Converter Extract readable plain text from HTML: keeps paragraphs, headings, lists and tables, drops tags, scripts and styles. Image to Text (OCR) Extract text from images, screenshots and scanned PDFs with OCR in 28 languages. Edit, copy or download it, or make a searchable PDF. No upload. JSON to Text Converter Convert JSON to Text online for free. Readable key: value output for reports and tickets. Text to HTML Converter Paste formatted text from Word, Google Docs or a web page, or type plain text, and get clean HTML code. Removes inline styles, classes and Word markup. XML to Text Converter Convert XML to Text online for free. Readable key: value output for reports and tickets. Add Page Numbers to PDF Number the pages of a PDF: "1", "Page 1 of N", "1 / N" or roman numerals, at the top or bottom, with a start number and cover page skipped. No upload. Properties to JSON Converter Convert Java .properties files (Spring Boot, i18n bundles) to nested or flat JSON, decoding \uXXXX escapes and line continuations. Properties to YAML Converter Convert Spring Boot application.properties to application.yml, nesting dotted keys into a clean YAML tree. Query String to JSON Parse URL query strings into JSON, including repeated keys, PHP/Rails bracket arrays (a[]=1) and nested objects (a[b][c]=1). RSS to JSON Converter Convert RSS to JSON online for free. Get formatted JSON with types detected automatically. SQL to CSV Converter Convert SQL to CSV online for free. Nested data is flattened into columns. SQL to HTML Table Converter Convert SQL to HTML online for free. Get clean table markup with a live preview.