PDF to text: extract the text of a PDF
Turn a PDF into text: copy it, or download a TXT file.
Free, no sign-up, no credit card. Your files stay on your device.
How to convert a PDF to text
- Choose the PDF you want the text from, or drop it onto the page.
- Select "Extract text".
- Copy the text, or download it as a TXT text file.
What to know
- What you get
- Plain text, line by line, with a blank line between pages. Mark where each page starts puts a line like --- Page 3 --- before each page.
- Copy or download
- Copy puts all the text on your clipboard. Download saves it as a text file named after the PDF, for example report-text.txt, which opens in any text editor. For long PDFs, the box shows only the start.
- Other alphabets
- Text in other alphabets, such as Japanese, comes out as long as the PDF stores it as text.
- Long PDFs
- Several parts of a long PDF are read at once, so you get the text sooner. A page that can't be read is skipped, and you're told which one.
- PDFs that block copying
- A PDF that opens without a password but blocks copying still gives its text.
Common problems
- The text comes out as nonsense
- Some PDFs draw letters with fonts that don't say which letters they are. Turn the pages into pictures with the Scanned pages choice of Compress PDF, then read them with OCR PDF, and extract the text from that.
- Columns or tables are mixed up
- Text is read in the order the PDF stores it, which can run across columns. Copy the parts you need from the result.
- I only need a few pages
- Pull them out first with Split PDF, then extract text from that file.
- I want to count, compare or tidy the text I extracted
- Paste it into the Word counter, Compare text or Remove duplicate lines.
Questions
Are my files uploaded anywhere?
No. Your files stay on your device the whole time. They're never uploaded.
Is it free?
Yes. There's no sign-up and no daily limit.
How do I convert a PDF to a TXT file?
Choose the PDF, select Extract text, then select Download as a text file. You get a plain TXT file named after your PDF.
Why is there no text from my scanned PDF?
A scan is a picture of the pages, not text. Make it searchable with OCR PDF first, then extract the text from the new PDF.
Does it keep the layout?
It keeps the words and line breaks, usually in reading order. Columns, tables, and formatting aren't kept.
Can I extract text from a password-protected PDF?
Yes. You'll be asked for its password.
You might also need
-
PDF word counter
Count words and characters in a PDF, in total and for each page. -
OCR PDF
Make a scanned PDF searchable, so you can find and copy its words. -
Compare PDF
See the words added and removed between two versions, page by page. -
PDF to image
Turn each page into a JPG or PNG image. -
Split PDF
Break one PDF into several files, by page ranges, bookmarks, file size, or words on a page. -
Merge PDF
Combine several PDFs into one file, in the order you choose. -
PDF to Markdown
Get a PDF's text as Markdown, with headings, lists, and tables where they're clear. -
Text to PDF
Make a PDF from a .txt file or pasted text, with every line break kept.