Skip to main content

PDF to text converter

Extract the text layer from a PDF in your browser with pdf.js. The file is not uploaded; scanned PDFs need OCR.

Pull the text out of a PDF without uploading it anywhere. The file is opened in your browser with pdf.js (Mozilla’s open-source PDF engine), and the extracted text appears in a box you can copy.

How to use

  1. Click Choose a PDF and pick a .pdf file from your device.
  2. Wait while each page is read. A short “Extracting text…” message shows while it works.
  3. Copy the text from the Text box. Pages are separated by a blank line.

What it can and can’t do

  • It reads the PDF’s text layer: the selectable text that word processors, browsers and most “Save as PDF” exports create.
  • Scanned PDFs and photos of documents usually have no text layer. In that case the tool says so: you need OCR software to turn the page images into text first.
  • Layout is not preserved. Columns, tables and footnotes come out as plain lines in reading order, so expect some tidying.
  • Password-protected or damaged files may fail to open; the tool shows the error instead of a partial result.

Why in the browser

Contracts, invoices and research papers often contain private data. Because extraction runs on your device, the file is never sent to our servers, and it keeps working on a slow connection once the page has loaded.

Common uses

Copying a report into an AI chat, quoting a paper, or checking how long a document is before you paste it into a prompt. After extracting, the token counter shows how many tokens the text uses, and remove line breaks joins lines that the PDF split mid-sentence.

Token counter · Remove line breaks · Word counter · All tools

How we check

The behaviour described on this page was checked against the tool’s source code on 2026-11-19 (Asia/Colombo). Spotted a mistake? Contact us.

More free tools