1. All tools
  2. PDF to text

How do I get the text out of a PDF?

Drop a PDF and the page reads its text layer — the real text inside the file — and gives it to you as plain text to copy or download as .txt, with optional page headings. It tells you when pages have no text, which usually means they are scans; for those, use OCR.

Runs entirely in your browser · no upload · no account · no watermark

  1. Drop a PDF onto the box.
  2. Choose pages and whether to add page headings.
  3. Extract, then copy the text or download it.
Drop a PDF hereor click to choose a file

What this page can do

  • Plain-text extraction from every page or a page list
  • Optional “Page N” headings between pages
  • Join broken lines into paragraphs
  • Opens password-protected PDFs when you enter the password
  • Flags pages that have no text layer
  • Copy to clipboard or download as UTF-8 .txt

When to use this page

  • Copying the text of a report, paper or contract into another document.
  • Feeding a PDF’s text into a translator, a summary tool or a search.
  • Checking whether a PDF contains real text or only scanned images.

When to use something else

  • The PDF is a scan or photo — it has no text to extract; use Image to text (OCR).
  • You need tables, columns and formatting preserved — convert with Word or Acrobat instead.
  • You need to edit the PDF itself rather than copy its text.

How it compares with other options

Acrobat, Word (which opens PDFs) and desktop converters try to rebuild the layout — columns, tables and fonts — and often do it better for complex documents. Command-line tools like pdftotext offer layout modes. This page uses Mozilla’s pdf.js, the PDF engine inside Firefox, to read the text layer in your browser and gives you clean plain text, without uploading the document.

Where your files go

Nowhere. This page loads the code that does the work, and from then on the file you open is read by your own browser. There is no upload step, no temporary server copy and no cleanup to trust. You can check it yourself: open your browser’s network panel while the tool runs — the page still loads its own code and any ads, but no request carries your file.

Questions about this tool

Why is no text found in my PDF?

The PDF most likely contains scanned pictures of pages. A picture of text is not text, so there is nothing to extract. Run those pages through an OCR tool, which recognises the letters in the image.

Why are words or lines in the wrong order?

A PDF stores text as positioned pieces, not as paragraphs. Multi-column layouts, sidebars and tables can come out interleaved. Try “Join lines into paragraphs”, or extract a single page range at a time.

Can it open password-protected PDFs?

Yes, if you know the password. The page asks for it, and pdf.js decrypts the file in your browser. It cannot open a PDF whose password you do not know.

Why do some characters come out as strange symbols?

Some PDFs use fonts without a proper character map, so the text displays correctly but its underlying codes are meaningless. That is a problem in the file itself; OCR is the only reliable fix.

Other tools you may need