Why extract text from a PDF
Copying text from a PDF reader often goes wrong: lines break in the middle of sentences, columns get mixed, and selecting 50 pages by hand is tiring. This tool reads the text of the whole document at once and gives you clean plain text. Use it to paste a document into an email or a translation tool, to quote a report, to feed text into another program, to count words, or to keep a searchable text copy of a document.
Three text modes
- Lines: the text line by line, as it appears on the page. Good for lists, addresses and short documents.
- Paragraphs: lines that belong together are joined into paragraphs, and hyphenated words at line ends are put back together where possible. Best for articles, books and reports that you want to paste into a word processor or translator.
- Layout: spaces are added to keep the position of text on the page, so tables and columns stay roughly aligned in a monospaced font. Useful for invoices, statements and forms.
The preview updates when you change the mode, and shows the number of characters and words.
File options
- Page separator: a marker line such as ----- Page 3 -----, a blank line, or a form feed character that some programs use as a page break.
- Line endings: Windows (CRLF) for Notepad and most Windows programs, or Unix (LF) for macOS, Linux and code editors.
- BOM: adds a mark at the start of the file that helps old Windows programs recognize UTF-8 text in languages such as Chinese or Russian.
- One file per page: every page goes into its own TXT file, all in one ZIP.
Scanned PDFs
A scanned PDF contains only pictures of pages, so there is no text to extract. The tool detects pages without text and tells you. With one click, you can send the document to OCR PDF, which recognizes the text and can return it directly as a TXT file. Text extraction itself runs in your browser and does not upload your file; OCR runs on our server.
What plain text cannot keep
Plain text has no fonts, bold, images or tables. If you need the formatting, convert to an editable document with PDF to Word, or get tables into a spreadsheet with PDF to Excel. Some PDFs store text with unusual font encodings, and then the extracted text shows wrong characters; in that case, OCR usually gives a better result.