PDF to text
PDF → TXTGet the plain text out, with line breaks where the page had them.
1 · PDF
Is this PDF password-protected?
Used once, in this tab, to decrypt the file. It is never sent anywhere.
2 · Text layout
Best for reading and re-editing. Words split by a hyphen at a line end are rejoined.
3 · Result
About PDF to text
When only the words matter — to quote, to search, to paste into an email or feed into another program — a .txt file is the least troublesome way to get them. Choose whether lines should be joined into paragraphs or kept exactly as they appear on the page.
How it works
- 1Pick a PDF.
- 2Choose whether to join wrapped lines into paragraphs or keep every line as it is.
- 3Press Extract text and download the .txt file.
Questions
- Should I join lines into paragraphs or keep them?
- Join them for prose you want to read or re-edit: wrapped lines become continuous paragraphs and hyphenated words are repaired. Keep them for tables, code, addresses or anything where the line breaks themselves carry meaning.
- What encoding is the file?
- UTF-8, so accented and non-Latin characters survive. Unlike the PDF-writing tools here, text extraction has no font limitation — whatever was in the document comes out.
- The file came out empty.
- The PDF has no text layer, which means it is a scan. Its words exist only as pixels and cannot be extracted without OCR.
- Can I mark where each page starts?
- Yes — turn on “Mark where each page starts” and a --- Page n --- line is inserted, which is useful when you need to cite page numbers.
- Is my PDF uploaded to extract its text?
- No. The conversion runs in your browser using JavaScript and WebAssembly — the file is read into this tab’s memory and written back out there. The site is served as static files from Cloudflare’s edge and has no upload endpoint, no database and no server-side processing. The page ships a Content Security Policy that forbids it from contacting any host other than its own origin, so this is enforced by your browser rather than promised by us.
Next you might need
This page does the work itself, in this tab. Nothing about your file — not its name, not its contents — is sent to a server. Close the tab and no copy remains.