PDFSomething

How to extract text from a PDF

Last updated: September 5, 2026

Need the words out of a PDF, to search them, edit them, translate them, or paste them somewhere else? Here's how to pull all the text into a plain .txt file in seconds, without uploading your document anywhere.

Want to just do it now?

Use our free PDF to Text tool. It runs in your browser.

Open PDF to Text

Pulling the text out, step by step

  1. Open the PDF to Text tool.
  2. Drag your PDF onto the page, or click to choose it.
  3. Press Extract Text. Every page's text is read right in your browser.
  4. Download the .txt file, holding the words from every page, with paragraphs kept readable.

What a text extraction keeps, and what it drops

The tool reads the actual characters stored in the PDF and writes them to a plain text file. Lines and paragraphs are reconstructed so the result reads naturally, but everything visual is deliberately left behind: fonts, colours, columns, images, headers, and page layout do not survive. That is almost always the point. A .txt file has no styling to fight with, so it drops cleanly into a search box, a code editor, a translation tool, or an AI assistant, places where the formatting would only get in the way. If you need the look preserved as well as the words, that is a different job (see the cross-links below).

Why some PDFs seem to have "no text"

This is the single most common surprise, so it is worth understanding. A scanned document is a photograph of a page: it contains pixels, not characters. No extractor can copy words that were never stored as text in the first place. There is a five-second test you can run yourself. Open the PDF in any viewer and try to drag-select a sentence:

  • If your cursor highlights individual words, the file has a real text layer and this tool will extract it cleanly.
  • If the whole page selects as one block or nothing highlights at all, it is a scanned image and there is no text to pull out.

For that second case you need optical character recognition, which reads the shapes of letters out of the picture. Start with how to OCR a PDF, then come back and extract the text once the document is searchable.

Everyday reasons to extract text

Once the words are in a plain file they stop being locked inside a document and become raw material you can do anything with. A few of the most common uses:

  • Quoting a contract or report: grab the exact wording without retyping a paragraph and risking a transcription error.
  • Translating a document by pasting clean text into a translation tool, free of the layout noise that trips them up.
  • Feeding a long PDF to an AI assistant or a script for summarising, searching, or analysis, where plain text is the universal input format.
  • Building a searchable archive so you can grep across dozens of documents at once instead of opening each one to hunt for a phrase.

Text, Word, or Excel: which conversion?

Plain text is the right choice when you want the words and nothing else. If you need to keep editing the document with its formatting intact, convert to PDF to Word instead. If the file is really a table of figures, let PDF to Excel rebuild it into a spreadsheet with rows and columns rather than a wall of text.

Frequently asked questions

Will the layout be preserved? No. This extracts the words, not the design. Columns, fonts and images are discarded, which is exactly what you want for searching or reusing the text.

My PDF is a scan. Will it work? Not directly. A scan has no text layer, so run it through OCR first; the tool tells you when it finds no text.

Is there a page limit? Up to 200 pages, because the whole extraction runs on your own device.

What can I do with the .txt file? Search it, edit it in any editor, paste it into another document or an AI tool, translate it, or process it with a script. Plain text works everywhere.

Do accents and other languages survive? Yes, as long as the PDF stored them as real text; the file is written in standard Unicode.

Your document never leaves your device

Contracts, job applications, medical letters: the documents you most often need text out of are frequently the ones you least want on someone else's server. Here the reading and the file-building both run in your browser, so the content stays put. For the full reasoning, see are online PDF tools safe.