Extract text from a PDF.
Get every word out of a PDF as plain text you can paste anywhere: into an email, a notes app, a translator or an AI chat. Line breaks are tidied into proper paragraphs, and nothing leaves your device.
PDF to text: quick facts
Extract all the text from a PDF as a clean .txt file.
Updated
- Price
- Free. No sign-up, no watermark.
- Options
- Lines joined back into paragraphs, optional page markers, copy in one click.
- Output
- Plain text in reading order, without layout, tables or pictures.
- Scans
- Scanned PDFs have no text to extract; PDF to Word reads scans with OCR.
- Privacy
- Your file is processed in your browser and never uploaded.
How to convert a PDF to text
A PDF engine running in this tab reads the text stored on each page, along with where each piece sits. Altto puts the pieces back into lines and paragraphs in reading order, then gives you the result as plain UTF-8 text.
Add your PDF
Drop in a PDF. Text-based PDFs work best: ones made from Word, a website or an app.
Choose how lines are joined
Keep paragraphs flowing, or keep every line as it is on the page.
Copy or download
Check the preview, then copy it or save it as a .txt file.
Getting cleaner text out of a PDF
How good the text looks depends on how the PDF was made. These tips cover the usual problems.
- Headers and page numbers in the middleRunning headers, footers and page numbers are part of the page text, so they appear where each page starts. Turn on page markers to see where they come from, then delete them in one go in your editor.
- Strange characters or gibberishSome PDFs use fonts that store letters with private codes, so the text can’t be read back properly by any tool. Converting with OCR via PDF to Word usually rescues these.
- Need words and formatting?Plain text drops bold, headings and tables. PDF to Word keeps them in an editable .docx.
- Just counting words?The status line shows the word count for the whole PDF. For page counts across several files, use the PDF Page Counter.
Like every Altto tool, this runs on your device — nothing you add is uploaded. How Altto works
is the most portable file there is. Plain UTF-8 text opens on every phone and computer, pastes cleanly into any form, and is tiny compared with the PDF it came from.
PDF to text, Word or Excel: which do you need?
All three pull content out of a PDF. They suit different jobs.
| You want | Use | You get |
|---|---|---|
| Just the words, to paste or search | PDF to Text (this page) | A plain .txt file, paragraphs kept |
| To edit the document with its formatting | PDF to Word | An editable .docx with headings, tables and images |
| Numbers from tables, to calculate with | PDF to Excel | An .xlsx spreadsheet |
| Text from a scanned PDF | PDF to Word | OCR runs automatically |
Frequently asked questions
What to expect from text extraction. To summarise a long PDF instead, try Summarise PDF.