PDF Tools
Extract Text from PDF Online
Load a PDF and pull text with pdf.js. This works for PDFs that already contain a text layer. Scanned image-only PDFs will yield little or nothing — this tool does not perform OCR.
Your workspace
Runs in your browserHow to use
- 1Select a PDF with a text layer.
- 2Review the extracted text.
- 3Copy it or download a .txt file.
Worked example: Extract the words from a text PDF
The extractor reads text objects already stored in the PDF. A photograph of a page may look like text to you but contain no text objects. This tool does not perform OCR, and columns may not preserve the original reading order.
- Example input
- 02-report.pdf with selectable text on two pages.
- Expected result
- Extracted text containing the report's page headings.
Check before you use the result
Search the output for a heading from each page. Compare important numbers and paragraph order with the original instead of copying the extraction without review.
If the result is different
Empty output from a readable scan usually needs OCR in another application. Garbled output can come from the PDF's font encoding; it is not fixed by adding more whitespace to the result.
Is this the right tool?
PDF to Text reads an existing PDF text layer. Scanned photos need OCR elsewhere, and columns may come out in a different reading order.
- Before you start
- Try selecting a sentence in a PDF viewer first. Compare extracted names and numbers with the original.
- When to choose another approach
- Choose PDF to JPG when you need a visual page preview rather than editable words.
What this tool does
- — Page markers in the output
- — Copy and download
- — No OCR claims
Useful when
- — Quoting a digital report
- — Moving PDF copy into a notes app
Limits
- — No optical character recognition. Scans need a separate OCR tool.
Where processing happens
pdf.js reads the text content stream of each page in your browser. Image-only scans without a text layer cannot be recognized.
Questions
Why is the output empty?
The PDF is likely a scan or an image with no text layer. This extractor cannot read pixels as letters.
Is the PDF uploaded for extraction?
No. Extraction runs locally.
How can I verify text extracted from a PDF?
Search the output for a heading from each page. Compare important numbers and paragraph order with the original instead of copying the extraction without review.
Why might a scanned PDF return little or no text?
Empty output from a readable scan usually needs OCR in another application. Garbled output can come from the PDF's font encoding; it is not fixed by adding more whitespace to the result.
Guides for this tool
- How to prepare PDF attachments for office email
Combine office PDFs, extract requested pages and check attachments before sending them to colleagues.
- How to turn PDF pages into JPG images
When a raster export is useful, what 2× rendering means, and why this is not OCR.
Related tools
- PDF to JPGRender each PDF page to a JPG you can download.
- PDF SplitterExtract specific pages from a PDF into a new file.
- Online NotepadA notepad that auto-saves to this browser’s localStorage.
- Text to PDFPaste plain text and download a simple PDF.
- PDF MergerCombine multiple PDF files into one document in your browser.
- JPG to PDFTurn JPG photos into a single PDF, one image per page.
Technical references
- pdf-lib: copying and creating document pages
Library documentation for page copying, image embedding and PDF output. ToolNest's examples describe the controls available here.
Instructions maintained by ToolNest. Found an incorrect result or an unclear step? Report the tool name and steps.