PDF to Text Converter
Get the text out of a PDF as a clean .txt file: whole paragraphs instead of broken lines, two-column pages in reading order, and no repeated headers or page numbers. Copy it or download it. Your PDF is never uploaded.
- Free, no sign-up, no file limit
- Your PDF stays on your device
- Paragraphs joined, hyphens fixed
- Two-column pages in reading order
- Headers and page numbers removed
- Preview, copy or download
TL,DR: To convert a PDF to text, add the PDF above, click any pages you don't need, keep Text selected and press the button. You get a .txt file with whole paragraphs, two-column pages in reading order and repeated headers and page numbers left out. Copy it or download it; the PDF never leaves your device.
- Price
- Free, no account
- Upload
- None, runs in your browser
- Formats
- Plain text (.txt) or Markdown (.md)
- Pages
- All, or only the ones you pick
- Scanned PDFs
- Not read (no OCR)
Last updated
What does a PDF to text converter do?
It takes the words stored in a PDF and saves them as plain text, a .txt file any editor or app can open. Fonts, colours, pictures and page layout are dropped; only the words, in reading order, are kept.
Copying from a PDF viewer gives you the same words but with a line break at the end of every printed line, page numbers in the middle of sentences and columns mixed together. This converter rebuilds the paragraphs and fixes those problems before saving.
How to convert a PDF to text
Add the PDF
Drop it on the box or tap Select PDF files. Add more than one if you like.
Pick the pages
All pages start selected. Click the ones you don't need, or type the pages you want, e.g. 1-3, 6.
Choose the settings
Pick Text or Markdown, join paragraphs or keep the PDF's lines, and leave Remove repeated headers and footers on.
Copy or download
Press the button, check the preview, then press Copy text or Download. Several files come in a ZIP.
What can this PDF text converter do?
Real paragraphs, not broken lines
Lines of the same paragraph are joined, and a word split by a hyphen at the end of a line (exam- ple) is put back together. Prefer the PDF's own lines? Choose Keep PDF lines.
Two-column pages in reading order
Papers, newsletters and magazines set in two columns are read down the left column, then the right, instead of mixing the two sides line by line.
Headers and footers removed
Page numbers, running titles and other text repeated at the top or bottom of most pages can be left out, so they don't interrupt your sentences.
Markdown with structure
Larger text becomes #, ## or ### headings, bold and italic stay, bullets and numbered lists become Markdown lists, and links keep their address.
Simple tables
Rows of aligned columns become a Markdown pipe table, or tab-separated lines in a .txt file that paste straight into a spreadsheet.
Pick the pages you need
Every page is shown as a thumbnail. Click to leave a page out, Shift+click for a run, or type 3-7, 12 and read just those.
Preview and copy
See the text before you download it, and copy it all with one button to paste into a document, a chat or an AI assistant.
Many PDFs, or a file per page
Add several PDFs at once and get one text file each, or split every page into its own file. Several files come in one ZIP.
When do you need the text of a PDF?
Quoting and editing
Copy a section of a report or contract into your own document without retyping it or fixing broken lines by hand.
Notes and wikis
Turn a PDF handout into Markdown for Obsidian, Notion, a GitHub README or a docs site, with the headings and lists already in place.
Feeding AI tools
Chat assistants and search indexes work best with clean text. Remove the headers and page numbers first and the text reads as one piece.
Searching and comparing
Plain text is easy to search with grep, compare with a diff tool or load into a script, unlike the PDF itself.
Accessibility
A .txt file reflows on any screen and works well with screen readers and text-to-speech apps.
Archiving
Text files are tiny and will open in any editor decades from now, which makes them a good companion copy of an important PDF.
How to get text from a PDF on any device
On Windows or Mac
Open this page in Chrome, Edge, Firefox or Safari, drop the PDF on the box, click any pages you don't want, choose Text or Markdown and press the button. Copy the preview or download the file.
On iPhone or iPad
Open the page in Safari, tap Select PDF files and pick the PDF from Files. After converting, tap Copy text to paste it into Notes or Mail, or Share / Save to Files to keep the file.
On Android
Open the page in Chrome, tap Select PDF files, pick the pages and tap the button, then Copy text or Download. The file lands in your Downloads folder.
On a Chromebook or Linux
It runs in any modern browser, so there's nothing to install.
How is the text put back in reading order?
A PDF doesn't store lines or paragraphs. It stores short pieces of text, each drawn at an exact spot on the page. Mozilla's PDF.js, the PDF engine inside Firefox, reads those pieces and their positions in your browser.
Pieces on the same baseline are joined into a line, with a space wherever there's a gap. An empty vertical band that the lines don't cross marks two columns. Lines are then grouped into paragraphs by the space between them, by indents and by changes of font size, and list markers such as • or 1. start a new item.
Should I join paragraphs or keep the PDF's lines?
Join paragraphs gives text that reflows: each paragraph is one line, separated from the next by a blank line. It's the right choice for reading, editing, translating or pasting into another document.
Keep PDF lines keeps a line break wherever the PDF has one. Use it for poems, addresses, code listings or anything where the exact lines matter.
How does it compare with copying text from a PDF viewer?
| Compared | This tool | Select all and copy |
|---|---|---|
| Where the PDF goes | Stays on your device | Stays on your device |
| Line breaks | Paragraphs joined, hyphens fixed | A break at the end of every line |
| Two columns | Left column, then right | Often mixed line by line |
| Headers and page numbers | Can be removed | Copied into the text |
| Headings and lists | Kept as Markdown | Lost |
| Many pages or PDFs | One click, one file or a ZIP | Page by page |
| Scanned pages | Not read (no OCR) | Not read |
Frequently asked questions
How do I convert a PDF to text for free?
Add the PDF on this page, keep the pages you need selected, leave Text chosen and press the button. Copy the text from the preview or download the .txt file. There's no sign-up and no limit.
Can I get Markdown instead of plain text?
Yes. Choose Markdown under Save as, or open the PDF to Markdown converter. Headings, bold text, lists, links and simple tables are then kept as Markdown.
Is my PDF uploaded?
No. Your browser opens the PDF, reads its text and writes the file on your device. Nothing is sent anywhere, and there's no account and no file limit.
Why is the text empty for some pages?
Those pages have no text layer: they are pictures of text, usually from a scanner or a phone camera. This tool reads stored text and doesn't do OCR, so the result lists those pages. You can still save them as images with the PDF to image converter.
Can I convert only some pages?
Yes. Click a page to leave it out, Shift+click to change a run of pages, use Odd or Even, or type the pages you want, like 2-5, 9, and press Select these.
Does it handle two-column layouts?
Yes, for pages with two text columns: the left column is read top to bottom, then the right one, and titles that run across both columns stay in place. Pages with three or more columns, or text boxes scattered around the page, may come out in a different order.
What does Remove repeated headers and footers do?
It looks at the top and bottom 8% of every page and leaves out text that appears there on at least 60% of the pages, ignoring numbers. That removes running titles and lines like Page 3 of 20, but keeps a heading that appears only once.
Are tables kept?
Simple tables are. When two or more lines have cells that line up in columns, they become a Markdown table, or tab-separated lines in a .txt file. Merged cells, cells with several lines of text and tables without clear gaps may come out as plain lines instead.
Can I convert a password-protected PDF?
If the PDF opens without a password and only blocks printing or copying, yes. If it asks for a password to open, save a copy without the password first.
Which encoding do the files use?
UTF-8, so accented letters, symbols and non-Latin scripts are kept. Notepad, TextEdit, VS Code and every modern editor open it correctly.
Built with the open-source PDF.js and fflate libraries (MIT and Apache-2.0 licences). Mozilla's PDF.js reads the text and its position on each page; lines, columns and paragraphs are rebuilt in your browser, so nothing leaves your device.