PDF to text

Get all the text out of a PDF as plain text. Copy it straight from the page, or download it as a .txt file.

Your files stay on your device. Nothing is uploaded.

PDF to text

One PDF · up to 100 MB

Step 1: Add a PDF

Drag and drop a PDF here

or

One PDF, up to 100 MB.

Step 2: Options

Pages
Page markers

Page markers show where each page starts in the text file.

Step 3: Get the text

How to convert PDF to text

  1. Add your PDF

    Click Choose PDF or drag a PDF into the box.

  2. Choose pages

    Keep All pages or type the pages you want. Turn on page markers if you want to see where each page starts.

  3. Copy or download

    Click Get text. The text appears below with a Copy text button, and you can download it as a TXT file.

About this tool

Which PDFs work?

PDFs made from a word processor, a website or an app contain real text, and this tool reads it exactly. A scanned PDF holds pictures of pages instead, so there is no text to read: the tool tells you, and you can use PDF to JPG and then Image to Text to recognise the words.

What happens to the layout?

Plain text has no columns, tables or fonts. Lines are kept in the order the PDF stores them, which is reading order for most documents. Tables become lines of words, and two-column pages may mix columns in some files.

The TXT file

The download is a UTF-8 text file, so accents and other alphabets are kept, and it opens in Notepad, TextEdit and every code editor. It is named after your PDF, for example report.txt.

Privacy

This tool runs in your browser, on your own device. Your files and text are not uploaded to our server and we cannot see them. When you close or reload this tab, they are cleared, along with the results.

Frequently asked questions

Why are some pages empty?

A page with no text is usually a picture, such as a scanned page or a photo. The result message tells you how many pages had no text.

Can I keep the formatting?

No, this tool gives plain text only. Bold, colours and fonts are not part of plain text.

Does it work with password-protected PDFs?

Not if the PDF needs a password to open. If you know the password, remove it first with Unlock PDF, then add the copy here.

Are my files uploaded?

No. The text is read in your browser, so your PDF never leaves your device.