Skip to main content

PDF Tools · No account required

Extract Embedded PDF Text

Extract embedded text from selected PDF pages, preview the result and download a text file. Scanned image pages require a separate OCR tool.

Instructions, examples and limitations ↓

What this tool does

Read the text layer from selected PDF pages and save it as a UTF-8 text file. Optional separators keep the source page positions visible. This is useful for searchable PDFs; it does not recognize words inside scanned images.

Enable JavaScript to use the local processing controls. Instructions and examples are available below.

Practical guide

Extract Embedded PDF Text

By MultiZest · Updated

How to use this tool

  1. Select an unlocked PDF up to 50 MB.
  2. Choose up to 200 page positions or ranges and decide whether to include page separators.
  3. Extract the text, review the result and empty-page count, then download the TXT file.

Worked example

Enter 1, 3-4 with page separators enabled to export text from three pages, each headed by its source page position. A scanned page with no text layer contributes no recognized text.

Reading order depends on the PDF

PDF files store positioned text rather than a normal word-processing document. The extractor uses the embedded item order, line markers and vertical changes to assemble text. Columns, tables, unusual fonts and spacing can need manual cleanup.

A PDF that looks readable can still contain missing character mappings or an inaccurate hidden OCR layer. Compare extracted text with the original before relying on quotations or numbers.

Limits and privacy

The output is capped at 1,000,000 text characters. Select a smaller range for large books or reports. Extraction happens locally in the browser, and the PDF rendering worker is loaded when needed.

No-text pages are reported so that an empty extraction is not confused with a successful OCR result. Use an OCR application when the source is an image scan.

Find out whether the PDF contains real text

Try selecting a sentence in your usual PDF viewer before extracting a long document. If letters can be selected and copied, the PDF probably has an embedded text layer. If you can select only the entire page as a picture, it may be a scan that needs OCR before this extractor can return meaningful words.

Start with one representative page. A document may mix text pages, scanned attachments and image-only diagrams. A useful result from the first page does not establish that every page contains text, so inspect the sections you actually need rather than running the whole file and assuming missing passages were blank.

Review reading order and table structure

PDF text is positioned on a page, and extraction does not always recreate the order a person sees. Multi-column pages, sidebars and tables can produce lines in an unexpected sequence. Compare the plain-text output against the source before using it in a report, search index or automated data process.

Look closely at names, dates, minus signs and decimal values. Embedded fonts can map some characters unexpectedly, and page separators are useful for tracing a passage back to its source. Treat the extracted text as a working copy; it does not preserve the original layout, annotations or the appearance of a signed document.

Questions and troubleshooting

Can this extract text from a scanned PDF?

Only if the PDF already contains a text layer. The tool does not run OCR on page images.

Does the TXT preserve tables and layout?

No. It produces plain text. Reading order, columns and tables can need cleanup after extraction.

Why is the output empty even though the page has visible words?

The words may be pixels in a scanned page, or the text layer may be unsuitable for extraction. Use a separate OCR tool for image-only pages and check its recognition accuracy.

Continue with a related tool

Sources and further reading

Found an error or an unclear instruction? Report it. Read our editorial policy and privacy policy.