PDF to Text Converter
Pull the text out of a PDF — page by page, as one clean plain-text file.
A PDF carries two different things that both get called "the PDF": the pages you see, and a text layer underneath that records which characters sit where. This tool reads the text layer out — using the same pdf.js engine that powers Firefox’s PDF viewer, running entirely in your browser — and hands it back as plain text you can search, quote, feed to another tool, or archive somewhere a PDF reader will never be needed.
Your PDF is read on this device only — it is never uploaded. Up to 500 pages per file. This pulls out the text layer a PDF carries; a scanned page is a picture and has no text layer, so it comes out empty (that needs OCR, which this tool does not do).
Quick answers
How do I extract text from a PDF for free?
Choose the PDF on this page and press Extract text. The text layer is read in your browser and shown as plain text you can copy or download as a .txt file — no upload, no account.
Extraction quality depends on how the PDF was made. Born-digital PDFs (exported from Word, a browser or a typesetting tool) extract cleanly; scanned PDFs are images and contain no text to extract.
Why did my PDF extract as empty or zero words?
Almost always because it is a scan: the pages are pictures, and there is no text layer inside. This tool reads the text layer only and does not do OCR.
You can check by opening the PDF and trying to select a sentence with the mouse. If nothing selects, there is no text layer. Run the file through an OCR tool first, then bring the resulting PDF back here if you need the plain text.
Will the formatting survive PDF to text conversion?
The words and line breaks survive as far as the PDF’s own positioning allows; fonts, sizes, bold, columns and page layout do not — plain text has none of those.
Lines are rebuilt from the positions of the text fragments on each page, fragments on a line are joined with spaces, and optional --- Page N --- markers keep the page boundaries visible. Tables and multi-column layouts may need tidying by hand afterwards.
How to use
- Choose your PDF file.
- Press Extract text and wait for the pages to be read — the status line counts them off.
- Tick “Include page-break markers” if you need to know where each page ended.
- Copy the text or download it as a .txt file named after your PDF.
About this tool
Extraction is reconstruction, not photocopying. A PDF stores text as positioned fragments, not as paragraphs, so the tool rebuilds lines by watching where fragments sit on the page: a change in vertical position or an explicit end-of-line ends the line, fragments on one line are joined with spaces, and each finished page is cleaned up (trailing spaces trimmed, runs of blank lines collapsed) before the pages are joined. Columns, tables and hyphenated line breaks therefore come out in reading order as best the positions allow — usually well, occasionally jumbled on layout-heavy pages. Tick the page-break markers if keeping page boundaries matters more than clean prose.
The hard limit is the one worth remembering: a scanned PDF is a photograph of a page, and a photograph has no text layer. This tool will correctly report zero words for it — extracting that text takes OCR (optical character recognition), which is a different process this page does not perform. Password-protected PDFs cannot be opened at all, and files are capped at 500 pages so a huge document cannot swallow your device’s memory. Your file never leaves the device.
Frequently asked questions
Is my PDF uploaded to a server?
No. The file is read by your browser on this device and never sent anywhere. Load the page, disconnect from the internet, and extraction still works.
Why is the word order jumbled on some pages?
PDFs store text as fragments placed at coordinates, in whatever order the creating program wrote them. This tool rebuilds lines by vertical position, which fixes most pages, but exotic layouts — text boxes, rotated labels, tightly packed tables — can still come out shuffled. The PDF itself does not contain a better reading order to recover.
Can it open a password-protected PDF?
No. Encrypted PDFs are refused with an explicit message. Remove the password in the application that set it, then extract from the unlocked copy.
What is the page limit?
500 pages per file. Each page’s text is held in memory while the rest are read, and past that point phones and older laptops struggle. Split a longer document with the PDF Merge & Split tool and extract the parts.
Does it keep page numbers?
Tick “Include page-break markers” and each page after the first is preceded by a --- Page N --- line, where N is the real page number in the PDF. Page numbers printed on the page itself are just text and come along like everything else.
First time embedding? Read the step-by-step guide →
More free tools
DOCX to Text Converter
Extract plain text from a Word .docx file — no Office install, no upload.
PDF to Image Converter
Turn PDF pages into PNG or JPG images — page by page, or all in one ZIP.
PDF Merge & Split
Combine multiple PDFs into one, or split and extract pages — right in your browser, with no upload and no sign-up.
Base64 Encode / Decode
Encode text to Base64 or decode it back.
Color Converter (HEX ↔ RGB)
Convert HEX to RGB and back, with live preview.
Unit Converter
Convert length, weight and temperature instantly.