Swelıty
Tools for everyone

Free Online PDF to Text

Extract the text of a PDF, page by page, and copy it or save it as a .txt file.

Drop a PDF here

or choose a file. The text is read in your browser.

How to use

  1. Add your PDF. A short PDF is read as soon as it is added; a long one waits for you to press Extract the text.

  2. Choose All pages, or enter a range such as 1-3, 5, 8- to read only those pages.

  3. Pick Keep the lines to stay close to the PDF, or Join into paragraphs to get running text. Turn the page lines and the space trimming on or off. The text changes at once.

  4. Read the text in the box. The counts show the characters, words and pages.

  5. Press Copy the text, or Download .txt to save it. You can stop a long job at any time and keep the pages already read.

Why use this tool

  • Text in the PDF's own order

    The pieces of each page are sorted by their position, not by the order the file draws them, so a line reads left to right and top to bottom. Right-to-left lines, such as Hebrew and Arabic, are read from the right.

  • Columns one at a time

    A page with two or more columns of running text is read down the first column and then the next. Table cells and short lines are not split into columns.

  • Lines or paragraphs

    Keep each line as the PDF has it, with a blank line at a paragraph gap, or join the lines of a paragraph into one. A word split by a hyphen at the end of a line is joined again.

  • Page lines and a page range

    Add a --- Page 3 --- line before each page, or leave it out. Read all pages or only a range. Pages already read are kept, so changing the options or the range does not start over.

  • Counts, copy and download

    See the character, word and page count, copy the text, or save it as a .txt file in UTF-8.

  • Built for long PDFs

    Pages are read one at a time, with a progress bar and a Stop button, so a long PDF does not freeze the page. Files up to 200 MB are accepted.

About this tool

PDF to Text pulls the text out of a PDF so you can copy it, search it or save it as a .txt file. It reads the text the PDF already holds, page by page, in your browser. It rebuilds the lines from where each piece of text sits on the page, and reads a page with columns one column at a time. You can read every page or a range, keep the lines as the PDF has them or join them into paragraphs, and put a line such as --- Page 3 --- between pages. It reads only text that is stored in the file. A scanned PDF is a picture of the page and has none, so use Image to Text (OCR) for that.

Frequently asked questions

Most likely it is a scan or a photo of a page. Then each page is a picture and the file holds no letters to read, so there is nothing to extract. Turn the pages into pictures with PDF to Images, then read the words with Image to Text (OCR). Some PDFs also draw their text as shapes, which cannot be read either.

Not directly. A PDF that needs a password to open cannot be read. Remove the password first with the PDF Password Remover, if you know it, then add the file here.

In your browser, which reads the text from the file.

A PDF stores pieces of text with positions, not sentences, so the tool has to guess where lines, columns and spaces are. Tables, forms, headers and footers, side notes and text over pictures can come out in an odd order or with words run together or apart. Try Keep the lines instead of paragraphs, or read a smaller range, and check the parts that matter.

No. The result is plain text. Fonts, colours, pictures and the layout of a table are left out. A table comes out as rows, with a tab between cells that are far apart.

Lines that are mostly Hebrew or Arabic are read from the right, and a page of them reads its columns from the right. This depends on how the PDF was made, so some files still come out with the letters or words in reverse order. Check them before you rely on them.

Some PDFs use fonts with no text mapping, so the file holds the shapes but not the letters. Then the result can be empty, show boxes or odd symbols. Ligatures such as fi can come out as one character. Copy from the PDF viewer gives the same result.

Up to 200 MB. Pages are read one at a time. For a very long PDF, enter a page range, or press Stop to keep what was read so far.