PDF to Text

Extract text from PDF files directly in your browser. Copy or download as TXT/MD. Scanned PDFs need OCR (not included).

Runs entirely in your browser — no uploads

About this tool

PDF to Text pulls the selectable text layer out of each page using pdf.js, with per-page counts and an optional Markdown export that separates pages with headings.

Honest limitation: scanned or image-only PDFs have no text layer — they need OCR, which this tool does not perform. If extraction returns little or nothing, your PDF is probably image-based.

How to use it

Drop in one PDF. The tool walks the document page by page with pdf.js, pulling out the text layer that the file already contains, and shows it in a single box with a per-page count so you can see which pages contributed what. Copy the text, or download it as a plain .txt file or as Markdown with a heading before each page.

Why the text layer matters

A digital PDF usually stores text as characters with positions, even when it looks like a printed page. Extracting that layer preserves the words, lets you quote them accurately, and avoids the errors of retyping. The Markdown option keeps page boundaries visible, which is useful when notes or citations need to refer back to a particular page.

When it will not work

A scanned PDF is a picture of a page. There are no characters to extract, so the result will be empty or nearly so. That is not a bug in the tool — recovering text from an image requires OCR, which KeepFile does not provide. If you see almost nothing, check whether you can select words with your mouse in a PDF viewer; if you cannot, the file is image-based.

Limitations

Extraction order follows how the PDF stores its text, which can be surprising in multi-column layouts, tables, or decorative documents. Reading-order problems come from the source file, not the extractor. Text from headers and footers is included. The tool handles one file per run, up to about 100 MB, and never uploads it. If you need to split pages first, use Split PDF.

Free · no account No file uploads Works on mobile Supports .pdfUp to 100 MB per file

FAQ

Why did my scanned PDF produce no text?
Scans are photographs of pages with no embedded text layer. OCR is required and is not part of this tool.
What is the .md option?
Markdown output adds a "## Page N" heading before each page’s text — handy for notes or docs.
Is my document uploaded?
Never. Text extraction happens locally via pdf.js in your browser.