PDF to Text Converter (PDF → TXT)

Upload a PDF to extract its text page by page, in order. You can copy the result right away or save it as a TXT file.

📄 Drag and drop a PDF here, or click to choose one Text extraction starts as soon as you pick a file

How to use the PDF to Text Converter

  1. Choose the PDF you want to extract text from. Extraction starts page by page as soon as you select it.
  2. If you don't want separator lines such as "----- 1 -----" between pages, uncheck Add page separators. The result updates right away.
  3. Select the part you need in the results box and copy it, or click Copy all.
  4. Click Save as TXT to download a UTF-8 text file that opens in Notepad, TextEdit or any other text editor.

Why copying text from a PDF often goes wrong

When you drag to select text in a PDF viewer and copy it, the line breaks often come out jumbled. In two-column documents, sentences from the left and right columns can get mixed together, and odd spaces can show up between letters. This happens because a PDF only records which character to draw at which position. It doesn't store the structure of sentences or paragraphs.

This tool reads the coordinates of each text fragment in the PDF and groups fragments at the same height into one line. Where the gap between lines is larger than usual, it treats that as a new paragraph and adds a blank line. The result is usually much easier to read than text copied from a viewer.

When text extraction won't work on a scanned PDF

A PDF made with a scanner or a phone camera stores each page as a single image. The page looks like text to you, but the file has no text data in it, so the extraction comes back empty. To get text from these files you need OCR (optical character recognition) software, which recognizes letters in images. This tool doesn't support OCR.

To check whether a document is a scan, try selecting some text in your PDF viewer. If the whole page gets selected instead of individual words, the PDF is made of images.

Tips for using the extracted text

  • When you quote from a report, paper or contract, you can paste the sentences directly instead of retyping them.
  • If the extracted text has line breaks in the middle of sentences, use the Line Break Remover to join it back into paragraphs.
  • To check length, paste the result into the Character Counter to see the character count and byte size.
  • Tables are extracted as plain lines of text, without column breaks. If the table layout matters, get the original source file (for example the Excel spreadsheet or Word document) for accurate results.
  • Text is extracted in page order, so long documents such as manuals or e-books come out in reading order and are ready to search or edit.

Frequently asked questions

Why is the extracted text empty?
PDFs made by scanning or photographing pages contain no text data, so there's nothing to extract. For those files you need a program with OCR.
Why does the text come out garbled or as strange symbols?
Some PDFs store font information in an unusual way, so the character codes in the file don't match the letters you see. With documents like these, no extraction tool can reliably recover the correct text.
Does it work with password-protected PDFs?
No. PDFs that need a password to open can't be read. Make an unlocked copy first, then use that copy.
Is my file or the extracted text stored on a server?
No. Your browser reads the PDF and extracts the text on your own device, and neither the file nor the result is sent anywhere.
Can I keep the original formatting, such as bold text or fonts?
No. The tool outputs plain text only. Line breaks and paragraph gaps are kept as well as possible, but fonts, colors and images are not.

Last updated: 2026-10-06