Extract PDF text on your computer

Read the text of every page in order and download it as a plain TXT file. Free, and no file ever gets uploaded.

100% private: everything runs on your computer, your files never leave your device.

Tools

  1. Upload your PDF - it opens locally on your computer
  2. The text is extracted automatically
  3. Download the TXT file

What PDF to Text does

PDF to Text reads the text layer of a PDF and saves it as a plain .txt file, on your own computer. Every page is read in order, the lines are rebuilt from the position of the words, and the pages are separated by a blank line. What you get is the words and nothing else: no fonts, no images and no layout, which is what you need when the text has to go into an email, a search tool, a translation program or a script.

The extraction starts as soon as you add the file, with nothing to configure. The result is encoded in UTF-8, so accents, symbols and other alphabets come through as they are, and it opens in any text editor.

It works on documents that contain real text, such as files exported from a word processor, a spreadsheet or a website. A scanned PDF is made of pictures and has no text layer, so the result would be empty: run it through Recognize Text (OCR) first and then extract the text here.

How to extract the text of a PDF

  1. Add the PDF. It opens locally on your computer and the extraction starts at once.
  2. Wait while every page is read in turn. The progress is shown on screen.
  3. Download the TXT file. It carries the suffix _text and a timestamp, and the original PDF is not changed.
  4. To extract several PDFs in one run, add them together and press Extract text. You get a ZIP with one TXT file per PDF.

How the text is rebuilt

A PDF does not store paragraphs or lines, only pieces of text placed at positions on the page. OléPDF puts them back together with a few simple rules, which keep the result predictable.

Privacy: the text is read in your browser

The PDF is opened and its text read inside your browser tab. The document is never uploaded, no page is sent anywhere to be analysed and no third-party service is involved. The only download is OléPDF's own code from its own domain.

That matters for the documents people often need as plain text, such as contracts to compare or reports to quote. None of them reaches a server.

Typical uses

Frequently asked questions

Is converting PDF to text free?

Yes, the free tools include 5 PDFs a day in total. Extracting the text of one PDF at a time is free, with no account. Extracting several PDFs in a single run requires the 7-Day Pass or Pro.

The TXT file is empty. Why?

Because the PDF has no text layer, which is the case with scans and photographed documents. Run it through Recognize Text (OCR) to add one, then extract the text again.

Is the layout kept?

No. The result is plain text, with line breaks and a blank line between pages, but no fonts, columns, images or positions. Use PDF to Word if you need a document that looks like the original.

Which encoding does the file use?

UTF-8. Accents, symbols and other alphabets are kept as they appear in the text layer of the PDF.

What do I get when I convert several PDFs?

A ZIP with one TXT file per PDF, named after each document, and a small report that lists which files were converted and which failed. Converting several PDFs in one run requires the 7-Day Pass or Pro.

Can I extract the text of a password-protected PDF?

A PDF that asks for a password to open has to be unlocked first. Remove the password with Decrypt PDF and extract the text from the unlocked copy.

Is my document uploaded?

No. The text is extracted on your computer inside the browser tab, and the PDF never reaches a server.

PDF Converter

All tools

Photos rather than PDFs? Try OléPIC, our image tools.

Videos rather than PDFs? Try OléVIDEO, our video tools.