Skip to content
FlexiConvert

Convert PDF to Text

Extract the text from a PDF into a TXT file.

Add to favourites

Create a free account to save your favourite tools and have them on any device.

Up to 5 files at once, 50 MB per file and 100 MB in total.

Your files are deleted automatically after conversion, and no later than one hour after upload. How we handle your files

Advertisement

Convert a PDF to plain text to copy it, search it or paste it into another program without dragging along fonts, columns or images. You get a UTF-8 .txt file that opens in Notepad, TextEdit or any editor, on your phone too. No sign-up, no watermarks.

How to convert PDF to TXT

  1. Choose one or more PDFs (up to 5 at once).
  2. Click “Convert to TXT”.
  3. Download the text file or, if you converted several PDFs, the ZIP with all of them.

Advertisement

When you only need the text

  • To reuse it in an email, a website, a program or a database, with no styles to clean up.
  • To search or count words in a long document with any editor.
  • To feed it to another tool: translators, text-to-speech readers and text analysis tools usually work best with plain text.
  • To keep a lightweight file with the contents of a report or a contract.

If you want to keep the layout, tables and images so you can go on editing, what you need is PDF to Word.

What the text looks like

  • Just the text: no bold, sizes, colors or images. Tables become lines with their values separated by spaces.
  • Each line of the PDF is a line of the TXT: paragraphs aren’t joined back together, so you’ll see line breaks where the PDF had them, and words hyphenated at the end of a line stay split.
  • In the order the document was written: in complex layouts (several columns, text boxes) a block may appear in a different order.
  • A blank line between pages.
  • In UTF-8: accents, special characters and any alphabet are kept, Arabic and Japanese included.

Advertisement

Scanned and password-protected PDFs

A PDF that comes from a scanner or from photos only contains images, not text. We check before converting and, if there’s no text, we tell you: to get the text out of those images, turn them into JPG with PDF to JPG and then into Word with JPG to Word, which recognises the text (OCR).

If the PDF has a password or restrictions, remove them first with Unlock PDF.

Limits

  • Up to 5 PDFs at once, 50 MB per file, 100 MB in total and 100 pages per PDF.

Frequently asked questions

Are bold text, tables or images kept?

No: a TXT file only stores characters. Tables become lines of text with their values, and images disappear. If you need to keep the formatting to go on editing, convert the PDF to Word.

Why are there line breaks in the middle of paragraphs?

Because in a PDF every line is a separate piece of text, and the TXT keeps those lines as they are. If you’re pasting the text somewhere else, you can join the paragraphs with your editor’s find and replace.

Which program opens the TXT file?

Any of them: Notepad on Windows, TextEdit on a Mac, any code editor or your phone’s file viewer. It’s in UTF-8, the encoding every current program understands.

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

Not directly: the protection has to be removed first. If you know the password, unlock it with our Unlock PDF tool and then convert it to text.

Advertisement

Advertisement

Advertisement