Skip to content
gl.tools

Extract text from a PDF – no upload

Read the text out of a PDF, page by page or all at once, and take it with you as a .txt file. No sign-up, no watermark, no upload.

  • Free
  • No sign-up
  • No watermark
  • No upload

Drop a PDF here

It stays on your computer. One file at a time.

Make a backup copy of your files before you add them here!

Your originals stay untouched: results carry “gl-tools.org_” in their name and never overwrite anything. Check the result before you delete an original. Liability

Did this help you? Buy me a coffee

Common questions

Do I need to install anything?
No. The PDF is read in your browser, not on a server. Once the page has loaded you can disconnect from the internet and it keeps working.
Why not just select and copy in a PDF viewer?
Because that often produces nonsense. A PDF holds no running text, just a set of text pieces with a note of where they sit on the page – and their order is decided by the program that made the file. Selecting takes that order as it is. Here the order is computed from the positions instead: pieces sharing a baseline become one line, the gap between them decides where a space belongs, and an unusually large jump counts as a paragraph break.
My PDF produces no text at all.
Then it is most likely a scan or a photo. In those the letters are not letters but pixels – there is simply no text to take. Recognising them would be optical character recognition, which this tool cannot do. You get a message instead of an empty file, because an empty .txt looks like a result.
What happens with two-column documents?
That is where the tool reaches its limit, and it should say so plainly: lines are built from the baseline, and in two columns the left and the right line sit at the same height. They end up side by side in one line instead of below one another. So for academic papers and newspaper pages the result is interleaved. For single-column documents – letters, contracts, invoices, reports – it is correct.
And tables?
A table row becomes a line of text, with the columns separated by spaces. The structure is lost, because there is no table in the PDF either, only text at certain positions. Usually enough to read the figures, not enough to calculate with them.
What does joining paragraphs do?
Without it the line breaks of the document are kept – faithful, but awkward to write on. With it the lines of a paragraph are joined into running text. Hyphens at the end of a line are deliberately kept: a broken word and a real hyphen look exactly the same in a PDF, and joining them automatically would produce a word that was never in the document – a mistake nobody spots afterwards.
Are any characters changed?
Two small repairs. Ligatures are expanded, so the single character for fi becomes the two letters again – otherwise a search for the word would not find it. And soft hyphens are removed; they are invisible in the PDF and would otherwise turn up in the middle of a word. Nothing else is touched.
Can I pick individual pages?
Yes, in the Which pages field. Single pages, ranges and a mix of both are allowed: 1-3, 5, 8- reads pages 1 to 3, page 5 and everything from page 8 to the end. A page that does not exist is reported rather than quietly dropped.
Is this converting a PDF to Word?
Not in the sense the big providers advertise. You get the extracted text as paragraphs in a .docx file that Word, LibreOffice and Google Docs all open – but not the layout of the PDF. Columns, tables, images, fonts and page breaks are not part of it. If you need a document that looks like the original and can be edited, this will not get you there. If you need the text to write on, it will – without sending the file anywhere.
Is the formatting kept?
No, and that is the point of a text file. Bold, italics, font sizes, colours, images and margins all fall away. What remains are the words in their order, lines, paragraphs and, if you want it, a separator line per page.

What this tool does not do

It does not recognise text inside images. A scan stays a scan; that would need optical character recognition along with its language data.

It does not rebuild the layout. Columns, tables and text frames all become lines – that holds for the text file and for the Word file alike. If you need the arrangement, PDF to JPG serves you better.

It does not bypass password protection. A protected PDF is reported, not opened.

Related tools

All tools of this kind: PDF tools