PDF · Text
Convert PDF to text
Get the text out of a PDF so you can copy, search, edit or quote it. Typed PDFs are read directly; scanned pages are recognised with OCR. Your file never leaves your computer.
● Runs in your browser. Your files are never uploaded.- Output: .txt, .md
- Scans: OCR in 100+ languages
- Free: 15 files a day
.pdf.jpg.png.docx.pptx.xlsx.xls.csv.txtNo file to hand? (a made-up 6-page PDF).
What you get
Scanned pages are read with OCR; the result is text you can copy and edit. Real result for a sample file with made-up data; download the sample and try it above.
Good for
- Copying a paragraph from a PDF that will not let you select text
- Making scanned letters, notices and agreements searchable
- Pulling text into Word or Google Docs to edit it
- Quoting a document accurately in an email or a report
Worth knowing
- Handwriting is not recognised reliably. Printed text works best.
- Faint photocopies and low-resolution scans (under about 150 dpi) reduce accuracy.
- The result is plain text with light Markdown. Fonts, colours and layout are not kept.
When a PDF won't let you copy text
There are three usual reasons. The page is a scan, so there is no text in it at all, only an image. The author set a "no copying" permission, which some viewers respect. Or the text is there but uses a font without a proper character map, so what you paste comes out as boxes or nonsense.
Docuflat handles the first case with OCR and is not stopped by copy permissions, because it reads the file's contents rather than asking a viewer to copy. The third case shows up as garbled letters in the result. Converting the page as an image (print it to an image or take a screenshot, then drop that in) usually fixes it, because OCR reads the shapes on the page rather than the broken character codes.
Scans: what affects accuracy
OCR accuracy depends far more on the scan than on the software. Text needs to be dark against a light background, reasonably straight, and large enough: around 300 dpi for normal body text. Below about 150 dpi, small letters merge and accuracy drops quickly.
Stamps, signatures and handwritten notes over printed text are the most common cause of junk lines in the output. Delete those lines afterwards, or crop them out of the image before converting.
Checking the result
OCR mistakes are not random: they cluster in numbers, names and short words. Before you use extracted text for anything that matters, compare the figures, dates and names against the original page. Long running text is usually right; a single wrong digit in an amount is the error that costs you.
How it works
- Drop the PDF, or several, on the box above.
- Text that the PDF already contains is copied out directly. Pages that are pictures of text go through OCR in your browser.
- Copy the text from the preview or download it. The download is a .md file, which is ordinary text: rename it to .txt if you prefer.
Questions
Can it read scanned PDFs?
Yes. Pages without selectable text are rendered and read with OCR in your browser, in the languages you choose. Hindi, Bengali, Tamil, Arabic, Chinese and 100+ others are supported.
How do I get a .txt file?
Download the result as .md. A Markdown file is a plain text file, so you can rename it to .txt or open it in Notepad, TextEdit or Word as it is.
Is there a page limit?
Typed pages have no page limit. Scanned pages count towards a daily OCR allowance on the free plans; Pro has no limit.