PDF to text
Extract selectable text from a PDF for easier editing.
- 1Add input
- 2Adjust settings
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Extract the text already stored in selected PDF pages and save it as a UTF-8 TXT file. The original PDF stays unchanged. This tool does not perform OCR or preserve the page layout.
How to use this tool
- Choose a local PDF that opens without a password and keep the original.
- Use the default all to extract every page, or type the page numbers and ranges you need. Select “Preview PDF pages” if you want to choose pages from thumbnails. Check their order, then select “Extract text”.
- Read the extracted text and any notice listing pages with no text. Select “Copy result” to copy the full text, then paste it into another app. Use “Download” to save the same text as a UTF-8 TXT file.
Supported inputs and limits
Choose one PDF that opens without a password, up to 30 MiB, with 1–300 pages. Keep the original.
Text extracted from the selected pages can total up to 30 MiB, measured as UTF-8 bytes. The blank lines added between pages are not included, so the TXT file can be slightly larger.
Input file names can be up to 512 characters. The page entry can contain up to 4096 characters after leading and trailing whitespace is removed. Both limits count UTF-16 units, so some characters, such as emoji, count as two.
Worked example
Example input
three-pages.pdf
Example options
{}Example output
Independent PDF page 1 Page marker: PAGE-1 Independent PDF page 2 Page marker: PAGE-2 Independent PDF page 3 Page marker: PAGE-3
When something does not work
If the PDF cannot be read, use an app that can open it to export a complete copy. That copy must open without a password. Correct invalid page entries using the PDF's actual page positions. If no text is found, choose pages with a text layer or use OCR in another app for image-only scans. Extract fewer pages if the text limit is exceeded. If the source exceeds the file-size or page-count limit, split it or save a smaller copy in another PDF app. Shorten overlong file names or page entries before retrying. A failed or cancelled extraction provides no new TXT; an old result still visible after cancellation belongs to a previous extraction. After cancelling or changing the input, select “Extract text” again. Check the new text for reading order and spacing before using it.
Frequently asked questions
Are my files uploaded?
No. Your PDF is processed in this browser. The tab may keep your input and result temporarily, within time and memory limits. Older workspaces may be cleared, and large results may need to be generated again. Refreshing or closing the tab clears this work. Keep the original and download the text you need.
What should I check in the extracted text?
Check spacing, line breaks and reading order against the PDF, especially in columns and tables. Plain text does not keep fonts, images or the page layout. Image-only scans need OCR in another app first; scans that already have a text layer may be usable. When some selected pages have text and others do not, extraction can still produce a TXT file with a notice listing the pages with no text. If none have text, no TXT is produced.