Extract Text from PDF
Vertical textBetaExtract text from a PDF page by page, copy it or download a UTF-8 TXT. Handles CJK, vertical Japanese and password-protected PDFs, in your browser.
Files are not uploaded · processed in your browser
Leave empty for all pages.
Choose a PDF and press “Extract text”.
How to use
- Choose or drop a PDF file.
- Optionally enter a page range such as “1-3, 5”. Leave it empty to extract every page.
- Press “Extract text”. View the text page by page, copy it all, or download it as a UTF-8 TXT file.
- If no text is found, the PDF is a scan: use OCR: Image and PDF to Text to recognize it.
Tips
- “Join the lines of each paragraph” turns each paragraph into one line, so it pastes cleanly into Word or Google Docs.
- If the file has an open password, you will be asked for it. The password is only used on your device.
Privacy
Files you choose and text you enter are processed in your browser. They are not uploaded to our servers and we do not store them. Some tools download the code or data they need (such as OCR language data) from this site the first time you use them.
Read the privacy policyFAQ
Why is the result empty?
The PDF has no text layer. It is usually a scan or a PDF made from images. Use OCR: Image and PDF to Text to recognize the text in the images instead.
Will Chinese or Japanese text get extra spaces?
No. Lines and paragraphs are rebuilt from the text positions: no spaces are inserted between Chinese or Japanese characters, while spaces between English words are kept.
Can I extract text from a password-protected PDF?
Yes. If the file needs a password to open, you will be asked for it. Files that only restrict copying or printing work directly. You can also remove the password first with Unlock PDF.
Is the layout preserved?
You get the text, line breaks and paragraphs only, not fonts, colors, table borders or images. Multi-column pages usually come out in the order they are stored in the PDF.
Can it extract vertical Japanese text?
Yes. Vertical text is output top to bottom and right to left, one column per line. In a few files with unusual layouts the order may not be fully correct.
Is my file uploaded?
No. The text is extracted in your browser and the file never leaves your device.
Related tools
- 5 languages
OCR: Image and PDF to Text
Recognize Chinese, Japanese, Korean and English text in images and scanned PDFs.
Copy or save as TXT
- Headings
PDF to Markdown Converter
Turn PDF text into Markdown, detecting headings, paragraphs, lists and code blocks.
Up to 300 pages
- Needs password
Unlock PDF
Remove the open password; the permissions password also lifts print and copy limits.
Does not crack passwords
- Page by page
PDF Compare
Find text added, deleted or changed between two PDF versions, plus added or removed pages.
Compares text only