FastHan / Guides / How to Extract Text from a PDF
HOW TO EXTRACT TEXT FROM PDF — FREE GUIDE
How to Extract Text from a PDF
Pull the text out of a PDF into a plain .txt file — free, in your browser, no upload.
Getting the text out of a PDF
A PDF holds its text in a layer you cannot see. When the PDF was made from a word processor, the text is stored as characters — the same characters you typed. Extracting that text means reading the layer and writing it out as a plain .txt file: no layout, no formatting, just the words, in order. That is useful whenever the words are what you need — to search a long document, to quote a paragraph, to feed the text into another tool.
This tool reads the text layer of every page and combines it into one .txt file, with page markers between the pages so you can tell where one page ends and the next begins. The result opens in any text editor, on any device, and it is small — a whole report becomes a few kilobytes of text. You can extract up to 20 files at once, 100 MB in total, and download all the text files together as a ZIP. Because the text comes from the layer the PDF already stores, extraction is fast and exact: what you get is the text the document itself contains.
The honest limit is that text is all you get. The layout does not survive — columns run together, tables lose their shape, bold and italic disappear, and images are not included. If you need the document to look the same, keep the PDF; the .txt file is for reading, searching, and reusing the words. And a scanned PDF has no text layer at all, so there is nothing to extract. The tool says so honestly instead of handing you an empty file. For a scan, use the OCR PDF tool first — it reads the letters from the image and gives you the text.
A few practical tips. If the extracted text looks jumbled — words in the wrong order, or a table read as one long line — that is how the text layer was stored, and no extractor can fix it; the PDF itself was built that way. If you only need one chapter, extract the whole file and search the .txt file for the chapter heading — a text editor finds it in a second. And if the text you need is in a scanned page inside an otherwise normal PDF, extract what you can, then OCR just that page.
It also helps to know what kind of PDF gives clean text. A PDF made from a word processor or a typesetting program usually extracts beautifully, because the text layer was written in reading order. A PDF made from a scanned image has no layer at all, and a PDF made by a program that stores text in visual order — right to left, or column by column — will extract in that order, and no extractor can put it right. If the extracted text looks wrong, open the PDF and look at the page: if the page itself looks fine but the text comes out jumbled, the layer is stored badly, and the only fix is OCR. And remember that the .txt file is plain text: it has no bold, no italics, no links, and no pictures. If you need to quote a paragraph, the .txt file is perfect; if you need to show a page, send the PDF.
One more practical note: the text file is small, and that is a feature. A whole report becomes a few kilobytes you can search in a second, email without thinking about size, or paste into a search box. Keep the .txt file next to the PDF with the same name — report.txt beside report.pdf — so you always know which text belongs to which document. And if you extract from many files at once, download the ZIP and unzip it into the same folder as the PDFs; the names match, so nothing gets mixed up.
Everything runs in your browser. Your PDF is never uploaded to a server, so a private document stays on your device. There is no account, no daily limit, and no watermark. Open the tool, drop your PDF, and download the text.
How to use this tool
- 1Drop a PDF onto the Extract Text from PDF page — up to 20 files, 100 MB in total.
- 2Press Extract Text and wait a moment.
- 3Download the .txt file.
- 4Open it in any text editor and check that the text you need is there.
- 5If the file comes back empty or the tool says there is no text, your PDF is a scan — use the OCR PDF tool instead.
Frequently asked questions
What does the result look like?
One .txt file with the text of every page combined, with page markers between pages. It opens in any text editor.
Does it keep the layout?
No. Text only — columns, tables, bold and italic, and images do not carry over. If you need the layout, keep the PDF.
My PDF is a scan. Will it work?
No. A scanned PDF has no text layer, so there is nothing to extract. The tool says so honestly instead of giving you an empty file. Use the OCR PDF tool for scans.
How many files can I extract at once?
Up to 20 files, 100 MB in total. There is no daily limit.
Is the text exactly as in the PDF?
It is the text the PDF itself stores. If the PDF was made with a broken or missing text layer, the extracted text will be incomplete — the tool reads what is there.