📄 PDF Tools

PDF to Text Converter

Pull the text out of any PDF so you can copy, edit or search it.

  • Every pagetext extracted
  • Page markersbetween pages
  • .txtdownload
  • No uploadprivate

How to use the PDF to Text

  1. 1

    Add the PDF

    Drop the file or click to choose it.

  2. 2

    Wait for extraction

    Text from every page appears in the box.

  3. 3

    Copy or download

    Copy the text or save it as a .txt file.

  4. 4

    Scanned file?

    If the box is empty, the PDF is a scan — use OCR instead.

Features

Full text

Every page in one place.

Page markers

Find your place in long documents.

Copy

Paste into emails, sheets or translators.

.txt download

Plain text for any app.

Fast

Hundreds of pages in seconds.

Never uploaded

Processed inside your browser — contracts, statements and IDs stay on your device.

Who uses it — and for what

Searching

Search long reports with any text editor.

Translation

Paste text into translation tools.

Data entry

Copy figures into spreadsheets.

Text analysis

Word counts and keyword checks.

How PDF text extraction works

Most PDFs created from Word, Google Docs, websites or accounting software contain real text. The tool reads the text layer of every page with Mozilla’s open-source pdf.js engine, rebuilds lines from the position of each word and separates pages with a marker so you can find your place. The result can be copied into an email, a spreadsheet or a translation tool, or downloaded as a plain .txt file.

Scanned PDFs

If a PDF is a scan or photo of paper, there is no text layer — just an image — and the result will be empty. In that case convert the page to an image with PDF to JPG and run it through Image to Text (OCR). Password-protected PDFs need to be unlocked in a PDF reader first.

The file is processed by your own browser — it is never uploaded to a server, so private photos and documents stay on your device. There are no daily limits, no sign-up and no watermark.

Why some text comes out jumbled

PDFs store text as positioned pieces, not flowing paragraphs. Multi-column layouts, tables and text boxes can come out in an unexpected order. If order matters, extract a page at a time with Split PDF, or use PDF to Word, which rebuilds paragraphs.

Clean-up you may need afterwards

  • Repeated headers and footers — company names, page numbers and confidentiality notes appear once per page in the text, because they are part of every page.
  • Words split at line ends — a word hyphenated across two lines in the PDF (“informa-” / “tion”) stays split.
  • Short lines — lines break where they broke on the page, not at the end of each paragraph. Paste into PDF to Word if you want paragraphs rebuilt.
  • Odd characters — some fonts store “fi” or “fl” as a single joined symbol, which may appear as one unusual character.

Using the text with other tools

The .txt download is plain UTF-8 text named after your PDF, so it opens in Notepad, TextEdit, VS Code or a phone notes app and keeps Hindi, accented letters and symbols intact when the PDF stores them properly. From there you can count words with the Word Counter, compare versions of a contract line by line, or feed the text to a translation tool. For tables, paste into a spreadsheet and use “text to columns”, but double-check figures, since column order isn’t always preserved.

Worked examples

Copying a clause from a contract

Extract the text, press Ctrl+F in the box to find the clause, and copy it — no retyping.

Counting words in a PDF essay

Extract, copy, and paste into the Word Counter.

What the output looks like

Each page starts with a marker line such as --- Page 3 ---, followed by that page’s text, with a blank line between pages. The status line reports the page count and the number of characters found, which is a quick way to tell a real text PDF (thousands of characters) from a scan (zero).

Removing the page markers

If you need one continuous text, download the .txt, open it in any editor and use find-and-replace to delete lines that start with --- Page. Keeping them is useful when you need to quote “page 12” later.

Pro tips

  • Unlock password-protected PDFs first with Unlock PDF.
  • For scans, use PDF to JPG then Image to Text.
  • Check numbers carefully when copying tables.
  • Press Ctrl+A in the text box before copying if you only want to grab everything at once — or simply use the Copy text button.
  • If only a few pages come out empty, those pages are probably scanned images inside an otherwise digital PDF.

Glossary

Text layer
Selectable text stored in a PDF.
OCR
Optical character recognition for scanned pages.
Plain text
Text without formatting (.txt).
Page marker
The “--- Page N ---” line the tool inserts so you can find where each page starts.
Ligature
Two letters drawn as one joined symbol, such as fi, which may extract as a single character.

Frequently asked questions

Why is the extracted text empty?

The PDF is probably a scan with no text layer. Use OCR instead.

Does it keep formatting?

It keeps line breaks and page order, but not fonts, colours or tables.

Is there a page limit?

No fixed limit; very large PDFs depend on your device’s memory.

Does it keep bold and italics?

No, the output is plain text.

Can it read Hindi PDFs?

Yes if the PDF has a proper text layer; some older Hindi PDFs use non-Unicode fonts and come out garbled.

Why does every page start with the same few lines?

Those are the document’s header or footer, which is printed on every page and therefore extracted every time.

Can I extract text from just one page?

Copy that page’s part between its marker lines, or extract the page first with Split PDF.

Found it useful? Share the PDF to Text:

Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of PDF Tools (20 tools)