Skip to content
SPCXTools

PDF to Text

Pull the text out of any PDF and copy it or save it as a plain .txt file.

Runs locally — files never leave your device

Loading tool…

How to use PDF to Text

  1. 1Choose a PDF file or drop it onto the page.
  2. 2Optionally enter the pages you need, such as 1-5 or 2, 7. Leave the box empty for the whole document.
  3. 3Keep Page markers ticked to see where each page starts, or untick it for continuous text.
  4. 4Click Extract text, then copy the result or download it as a .txt file.

Get the text out of a PDF

PDFs are great for keeping a document's layout, but not for reusing its words. Copying from a PDF viewer often breaks lines in odd places, picks up headers and footers, or selects the wrong column. This PDF to text converter reads the text layer of your PDF and gives it to you as clean plain text — ready to paste into an email, a document, a spreadsheet, a translation tool or an AI assistant, or to save as a .txt file.

Features

  • Whole document or selected pages with ranges like 1-3, 8.
  • Page markers that show where each page begins (optional).
  • Word and character counts for the extracted text.
  • Copy to clipboard or download as TXT in one click.
  • Handles large files page by page with a progress indicator.
  • Private: the PDF is processed locally and never uploaded.

What text can be extracted?

PDF type Result
Created from Word, Google Docs, LaTeX and similar Clean, accurate text
Exported from websites, invoices, e-books Usually accurate text
Forms with filled fields Printed text; field values may vary
Scanned documents or photos No text — needs OCR
Mixed (text plus scanned pages) Text from the digital pages only

If you're not sure whether a PDF contains real text, try selecting a word in your PDF viewer. If you can't highlight individual words, the page is an image.

Uses

Quoting and research: collect passages from reports and papers without retyping.

Translation and AI tools: paste plain text into translation services and assistants that don't accept PDF files.

Word counts: check the length of a document — or paste the text into the Word Counter for reading time and more statistics.

Data cleanup: extract text from invoices or statements and then search, sort or reformat it.

Related tools

Need images of the pages instead? Use PDF to JPG. To work with only part of a long document, Split PDF first.

Frequently asked questions

Why is no text extracted from my PDF?
The PDF probably contains scanned pages or photos of text. Those pages are images, not text, so there is nothing to extract. You need OCR (optical character recognition) software to turn images of text into real text.
Is the formatting kept?
Only the text and its line breaks are extracted. Fonts, colors, images and exact positioning are lost, and tables become plain lines of text. Multi-column layouts are read in the order the text is stored in the file, which usually but not always matches reading order.
Why are some words split or joined strangely?
PDFs store text as positioned fragments rather than flowing paragraphs. Some files use unusual spacing, ligatures or custom font encodings, which can produce extra spaces, missing spaces or odd characters. Most documents created by word processors extract cleanly.
Can I extract text from a password-protected PDF?
PDFs that need a password to open can't be read. Unlock the file with its password in a PDF application first. Files that only restrict copying can usually still be opened and extracted.
Is my PDF uploaded?
No. Text is extracted by PDF.js inside your browser. The document stays on your device.