PDF to text (TXT)

Extract all the text from a PDF and save it as a .txt file. Handy for copying, indexing and data processing.

Upload a PDF

PDF

or upload from

PDF to text online — what you need to know

Convert PDF to TXT online when you need just the text of a document, without the formatting: to paste it into an email or another program, send it for translation or add it to a search index. Upload a PDF, choose a mode and download a .txt file in UTF-8 with the text of all pages — an easy way to extract all the text from a PDF, Cyrillic included. Besides plain text, there are modes with block and word coordinates for automated processing.

When it helps

  • Pull out the text of a contract or article to paste it into an email or another document without extra formatting.
  • Prepare a document’s text for translation, a spell check or a word count.
  • Load the contents of a PDF into a knowledge base, search index or chatbot.
  • Get the coordinates of words on a page for a script that parses invoices or forms.

Extraction modes

“Text” is plain text, page by page — for reading and copying. “Blocks” gives the coordinates on the page and the content of each text block in JSON. “Words” does the same for every single word. The coordinate modes are meant for programmatic processing.

How the file is organized

Pages go in order and are separated by a “--- Страница N ---” line (“Страница” is Russian for “Page”). In the “Blocks” and “Words” modes, each page is a separate JSON array between these separators, so split a multi-page file on them before parsing it.

Password-protected PDFs

The service can’t process a document with an open password. First remove the protection with “Unlock PDF” — you need to know the password for that.

Limits

PDFs up to 50 MB on the Free plan, up to 200 MB on Pro and up to 500 MB on Business. No watermark is added to the TXT file on any plan.

Frequently asked questions

Does it work with scanned PDFs?

No. For scanned documents, run OCR first — it adds a text layer, and then you can extract the text.

Will the formatting be kept?

Partly. Paragraphs and lines are kept, but tables and columns may come out as plain lines. For tables, use “PDF to Excel”.

What is the “Words” mode for?

It returns every word with its coordinates on the page as JSON — handy for automated data processing.

How do I convert a PDF to text?

Upload a PDF, choose a mode and download a .txt file in UTF-8 with the text of all pages; Cyrillic is preserved.

What can I open the resulting file with?

Any text editor: Notepad on Windows, TextEdit on macOS or a code editor. The file is saved in UTF-8, so modern programs display Cyrillic correctly.

Can I extract text from only some of the pages?

Right now, text is extracted from all pages. To take only the pages you need, first keep them with “Extract pages”, then extract the text from the result.

Can I upload a file from Yandex Disk?

Yes: below the file picker there is a “Yandex Disk” button. Public disk.yandex.ru links work too.