Skip to the content

Contact usFree tools · No signup · Files stay on your device

PDF to Text

Pull the text out of any PDF and copy it or save it as a .txt file. Pages with real text are read directly; scanned pages can be read from their picture with OCR. Everything happens in your browser, so the PDF never leaves your device.

  • PrivateYour PDF never leaves this device
  • No uploadsProcessed in your browser, not on a server
  • 100% freeNo signup, no watermark, no trial
  • UnlimitedUse it as often as you like, no daily caps

How we protect your privacy →

PDF file

or drop a file here, or paste with Ctrl+VProcessed in your browser — files are never uploaded.
Was this tool helpful?

More than one job for these files? merge, arrange, number, watermark, compress and protect in one go, without downloading in between.Continue in PDF Studio

How it works

How to use the PDF to Text.

4 short steps. Nothing to install, nothing uploaded.

  1. 1

    Choose or drop your PDF (enter its password if it has one).

  2. 2

    Pick the pages, tick Read scanned pages (OCR) if it is a scan, and choose the language.

  3. 3

    Click Extract text and wait for the pages to be read.

  4. 4

    Copy the text or download it as a .txt file, or switch to By page to copy one page at a time.

Guides

Guides for PDF to Text

All

Word to Text: the complete guide to getting plain text from Word files

How to get plain text out of a Word .docx file: how headings, lists, tables and links are laid out, how to wrap lines at 72 or 80 characters, and what…

Text to PDF: the complete guide to converting TXT files to PDF

How to convert plain text or a TXT file to PDF in your browser: Paragraphs or Exactly as typed layout, title, page size, margins, page numbers and…

How to search for words in a scanned PDF

Ctrl+F finds nothing in your scanned PDF? Add a hidden text layer with free OCR in your browser, then search any word or number. Works for English and…

Why PDF to Word conversion breaks the layout, and fixes

Why a PDF to Word conversion loses columns, fonts, pictures and bullets, and how to fix each problem in Word in a few minutes, or avoid it from the…

PDF to Text: the complete guide to extracting text from any PDF

How to extract text from a PDF: page ranges, OCR for scanned pages, page separators, joining broken lines, copying by page and fixing messy text.

PDF to HTML: the complete guide to turning a PDF into a web page

How to convert a PDF with real text into clean HTML: headings, lists and tables, full page or body only, page marks, preview and download, and what is…

Page 1 of 20
Questions

Frequently asked questions.

Quick answers about the PDF to Text.

What is the difference between a selectable and a scanned PDF?
In a selectable PDF the text is stored as real characters, so it is extracted instantly and exactly. A scanned PDF holds a picture of each page, so there is nothing to copy until OCR reads the picture. Turn on Read scanned pages (OCR) and the tool does that only for the pages that have no text.
Does it work with Bangla PDFs?
Yes. Bangla PDFs with a normal Unicode text layer extract directly, and scanned Bangla pages can be read with the Bengali or English + Bengali language option. Some older Bangla PDFs were made with Bijoy (SutonnyMJ and similar) fonts and extract as strange English letters and symbols; paste that text into the Bijoy to Unicode tool to convert it to proper Bangla.
Will the layout, tables and images be kept?
No. You get plain text: lines in reading order with a blank line between paragraphs. Fonts, images and exact positions are not kept, and a table comes out as one line per row. Use PDF to Word if you need an editable document with headings and tables.
Can I extract text from a password-protected PDF?
Yes, if you know the password. You are asked for it when you open the file, and it is only used in your browser to unlock the PDF. Nothing is sent anywhere.
Is my PDF uploaded to a server?
No. The text is read with pdf.js and the scanned pages with an OCR engine that runs in your browser, with its language data served from this site. Your file stays on your device.
Why does the text have broken lines in the middle of sentences?
PDFs store text line by line as it was laid out on the page, so a paragraph arrives as several short lines. Tick Join broken lines into paragraphs to merge them; it also repairs words split across lines with a hyphen.