How to Convert PDF to Text
Extract the text layer from a PDF into a .txt file, and see why scanned pages and complex layouts need a different approach.
By DocConvo Editorial TeamPublished
Convert a PDF to text when you need the words in a .txt file for search, editing, or a paste into another document. Use PDF to Text, add the PDF, and download the text file. DocConvo reads the text layer in your browser.
What you can expect
The output is plain text. Fonts, images, and page margins are gone. Paragraphs from a normal report usually stay readable. Multi-column pages, footers repeated on every page, and text inside figures may arrive out of visual order or with extra line breaks. That is normal for a text extraction that follows the PDF's text objects rather than a human reading order.
How to convert on DocConvo
- Open PDF to Text.
- Select a PDF whose text you can highlight in a reader.
- Respect the file-size limit shown on the page.
- Download the
.txtfile and search for a sentence you know is in the PDF. If that sentence is missing, the page was probably an image.
Scanned pages
OCR is not part of this converter. A scan is a picture of paper. Export it through an OCR program so the PDF gains a real text layer, then run PDF to Text. Typing a short page yourself is sometimes faster than fighting a bad scan.
Choose the output that matches the content
- Prose, notes, and logs: PDF to Text, then how to convert TXT to PDF if you need to print the text again.
- A table: PDF to CSV. See how to convert PDF to CSV.
- Tables plus surrounding writing as data: PDF to JSON. See how to convert PDF to JSON.
Putting the .txt result back through TXT to PDF makes a simple A4 document. It will not restore the original PDF's design.
Privacy
The PDF stays on your device. Its contents are not uploaded to extract the text.
FAQs
Does this work on a scanned PDF?
It reads the PDF text layer. Image-only scans need OCR, which is not included. If you cannot select the words in a PDF reader, this tool cannot extract them either.
Will the text file keep the original layout?
You get the words, not the page design. Columns, headers, and sidebars can come out in a different order than they appear on the page.
Should I use CSV or JSON instead?
Use PDF to Text for prose and notes. Use PDF to CSV for a table you will open as a spreadsheet, and PDF to JSON when you want records plus text objects.
Does the PDF leave my device?
No. Extraction runs in your browser.
Related tools
Jump straight into a converter - files stay on your device.
Related articles
- How to Convert TXT to PDFTurn a plain text file into a printable PDF, including line wrapping, languages, and why a photo of a page will not work.
- How to Convert PDF to JSONExport text and tables from a PDF as JSON, see what the file includes, and know when a scan will not convert.
- How to Convert PDF to CSVPull table-like text from a PDF into a CSV file, see how columns are detected, and when to use Excel instead.
- Are Online File Converters Safe? What Happens to Your FilesHow upload-based and in-browser file converters differ, what risks come with sending documents to a server, and a quick checklist for choosing a safe converter.
Explore PDF Tools
Part of our PDF Tools.
See the full category on PDF Tools & PDF Converter Online.