Extract text from a PDF
Extract the existing text layer and download TXT in your browser. For scanned pages, optionally run local OCR on up to 20 consecutive pages in English, Spanish, Portuguese or Japanese and download the recognized text separately. The Japanese model is intended for horizontal text; review inserted spaces and numbers against the source.
Choose a PDF
Up to 50 MiB, 300 pages and two million extracted characters. Password-protected, damaged or unusually complex files may not open. The file is not uploaded for extraction.
Try a mixed PDF example
This fictional file combines two unrelated example pages: page 1 has selectable Spanish text; page 2 is an image with no text layer. Loading it replaces the current result. The sample is fetched from this site and read in your browser; extraction does not upload it or run OCR.
When PDF text extraction is incomplete
Some PDFs contain a photo of a page, text converted to outlines or an inaccurate hidden text layer. The initial text-layer extraction does not recognize image text. If a page has no extracted words, compare its local page preview with the text: it may be a scan, blank, or a diagram. If only some words appear, check for image text, an incomplete text layer, or unusual reading order. Optionally run local OCR above for up to 20 consecutive English, Spanish, Portuguese or Japanese pages. Review the separately downloaded OCR text against the original; it can contain recognition and reading-order errors.
Site assets and privacy-controlled analytics may use the network. The selected PDF and extracted text are not sent by this extraction tool. Count words by PDF page · Translate a scanned PDF