PDF to Text Extractor

Extract existing selectable text from chosen PDF pages in your browser. Preview the words, copy them or download a TXT file without uploading the document.

Local browser processing

Extract selectable text from a PDF

Choose pages, preview their text, then copy it or download a TXT file. Your document stays in this browser tab.

Choose one PDF

Up to 50 MB and 100 pages. Opening passwords are handled locally.

Selected PDF

No PDF selected yet.

Choose pages

Use 1, 2-4, or 1,3-5. Pages are extracted in the order entered.

Open a PDF to choose pages.

Extracted text preview

No extracted text yet.

Extracted text appears here after processing.

This extracts existing selectable text. Image-only scans need OCR. PDF text order and spacing may differ from the visual page layout.

Steps

How to use

  1. Choose one PDF up to 50 MB and 100 pages, or drop it onto the upload area.
  2. If necessary, enter a supported PDF opening password and choose Open PDF.
  3. Choose pages with a number, list or range such as 1,3-5.
  4. Select Extract text, inspect the preview, then copy all words or download TXT.
Examples and use cases
  • Copy a paragraph from a selectable PDF report.
  • Extract selected brochure pages for a text-only draft.
  • Download the text of a long article as a TXT file.
Privacy, limits and tool details

Key facts

Input and output
One PDF to copyable text or UTF-8 TXT
File and page limit
50 MB and 100 pages
Page selection
Single pages, comma-separated pages and inclusive ranges
Output safeguard
4 million extracted text characters; 8,000-character preview
Password support
Optional local opening password for PDF.js-supported encryption
Privacy
Local browser processing without PDF or text upload
Main limitation
Existing selectable text only; no OCR or layout preservation
Privacy

Privacy and processing

Processing method: PDF.js 6.3.289 opens a local PDF in a worker with scripting and dynamic evaluation disabled. Selected pages are read sequentially with getTextContent(); text items and line hints form plain text with generated page labels. The tool does not rasterize or rewrite the PDF.

Privacy model: The PDF, filename, optional opening password, page selection, extracted words, preview and TXT output remain in the browser tab. ToolMint does not upload or store this content. Analytics include only coarse file size, page count and operation status, never filenames, passwords, page ranges or extracted text.

Limitations

Limitations

  • Image-only scans contain no selectable text; this tool does not perform OCR.
  • Text reading order and spacing can differ from visual layout, especially for columns, tables and positioned content.
  • Images, visual styling, links, forms, annotations and PDF structure do not appear in TXT output.
  • Unsupported encryption and malformed PDFs can fail even with a known opening password.
  • Large or complex files can exceed browser memory below the stated file and page limits.
  • Clipboard copying requires browser permission or a suitable secure context; TXT download remains available.

Page freshness

Published
Sep 27, 2026
Last updated
Oct 25, 2026
Features

Benefits

Private local extraction

The PDF and its text remain in the current browser tab.

Precise page choice

Extract one page, ranges or a mixed selection in requested order.

Two useful outputs

Copy all text or download a UTF-8 TXT file with page labels.

Tips

Pro tips

  • Check the page labels and reading order before reuse.
  • Choose fewer pages when a document approaches the output or device-memory limit.
  • Use an OCR tool for image-only scans.
Watch out

Common mistakes to avoid

  • Expecting an image-only scan to contain selectable text.
  • Assuming a TXT file preserves columns, tables and typography.
  • Entering a password without reopening the PDF.

Sources

Detailed PDF to Text Extractor guide

The ToolMint PDF to Text Extractor reads existing selectable text from PDF pages in your browser. Select one page, a range or several pages, preview the result, then copy it or download a UTF-8 TXT file. The PDF, opening password and extracted words are not uploaded to ToolMint.

Try with a fictional practice file

Open the fictional two-page order and extract both pages. Check the preview and TXT download for Quantity: 2 and Delivery: standard. Then try the image-only PDF: it has no selectable text layer, so this tool cannot recover the words inside its picture. It does not perform OCR. Layout and reading order can differ from the visible page.

How to extract text from a PDF

Choose one PDF up to 50 MB and 100 pages. If the document needs an opening password, enter it in the local password field and choose Open PDF. ToolMint uses PDF.js 6.3.289 to inspect the file. The tool disables PDF scripting and dynamic evaluation while parsing it.

The page field accepts a single page such as 4, an inclusive range such as 2-6, a comma-separated list such as 1,3,7, or mixed input such as 1,3-5,8. Repeated pages are included once in the order they are first requested. The default selection includes every page.

Choose Extract text. The browser reads one selected page at a time and builds a plain-text result with page labels. You can cancel a long extraction without retaining partial text. Review the first 8,000 characters in the masked preview, then choose Copy all text or Download TXT for the complete result. The downloaded filename ends in -text.txt. PDF text extraction has a 4 million character output safeguard; select fewer pages if that limit is reached.

Selectable text and scanned pages

The tool extracts text objects already present in the PDF. A scanned page may look like a page of writing while containing only an image. This tool does not perform OCR, so an image-only page will have no selectable text. If every selected page has no selectable text, the tool shows a message instead of an empty download. When only some pages are empty, their page labels in the TXT output say so.

Use Extract Images from PDF when you need supported embedded raster pictures rather than words. Use the PDF Metadata Editor to review or change the Document Info title, author, subject and keywords of an unsigned, unencrypted PDF. Those properties are separate from the text on its pages.

PDFs store drawing instructions and text positions rather than a guaranteed plain-text reading order. Multi-column layouts, tables, overlapping text, unusual fonts and rotated or positioned text can come out in a different order or with different spacing than the visual page. Check the output before using it in another document or system. The tool does not recreate images, links, typography, table structure or PDF annotations.

Privacy and compatibility

The selected PDF, its filename, optional password, chosen page range and extracted words remain in the current browser tab. ToolMint does not upload or store them. Analytics contain only coarse file size, selected page count and operation status; they exclude the filename, password, page choices and text. The preview is masked from session analytics. Resetting or closing the tab clears the current tool state.

Some password-protected PDFs can be opened with a known password when PDF.js supports their encryption. Unsupported encryption or malformed files may still fail. Large or complex pages can exceed the memory available to a device even below the stated limits. The tool does not rewrite the PDF, so the source document stays unchanged.

Common mistakes

Expecting OCR from a scanned page. If you cannot select the text in a PDF viewer, it is likely an image and this extractor may return no text.

Assuming copied text will keep the page layout. TXT contains characters and generated page labels; it does not preserve visual columns, tables or styling.

Entering a password but not reopening the PDF. After changing the password, choose Open PDF before extracting.

Using a page range beyond the document. Page numbers start at 1. The field reports invalid numbers, reversed ranges and empty comma segments.

If pages need rearranging first, follow the worked PDF organization and text extraction guide. Compare its fictional PDF and expected TXT output before using the same steps on your own document.

Use Compare PDF Text to inspect text changes between two PDF revisions.

Use PDF to JPG Converter when you need page images rather than text. Use PDF Form Filler to enter values in existing fillable fields. Use PDF Splitter to keep selected pages as a PDF, PDF Page Organizer to reorder or rotate whole pages, Crop PDF to adjust the visible area, or PDF Compressor to reduce file size when possible.

Frequently asked questions

Yes. Enter one page, comma-separated pages, an inclusive range or a mixture, such as 1,3-5.

No. Parsing and text extraction take place in your browser. PDF data, passwords, page choices and extracted words are not uploaded to ToolMint.

No. It reads existing selectable text objects. A scanned page containing only an image needs an OCR workflow.

Not necessarily. PDF content order can differ from visual reading order, and plain text cannot preserve tables or visual styling.

When PDF.js supports its encryption and you know the opening password, enter it locally and choose Open PDF.

The result labels that page as having no selectable text. When every selected page is empty, the tool explains that OCR may be required instead of offering an empty download.
8 min read Works in browser Privacy notes