Back to home

PDF to Text

Pull out all the text from your PDF so you can copy, edit or search it. The result is downloaded as a plain text file.

  1. Select a PDF file
  2. Click Extract text
  3. Download the .txt file
Loading the tool...

Your files never leave your device

Why extract text from a PDF?

Copying text from a PDF page by page is slow and often breaks lines and spacing. Extracting it in one step gives you the full text in a plain file that you can edit, search, translate or paste anywhere.

How it works

Kingdom of Files reads the text layer of your PDF in the browser, rebuilds lines and spaces from the position of each word, and saves the result as a .txt file encoded in UTF-8, so every language, including Arabic, Chinese and Hindi, is preserved. Nothing is uploaded.

What can and cannot be extracted

Tips

Frequently asked questions

Does it work with scanned PDFs?

Scanned documents contain images, not text, so no text can be extracted without OCR.

Is formatting preserved?

Only plain text is extracted; fonts and layout are not kept.

Does it support Arabic and other languages?

Yes. The text file is saved as UTF-8, which supports every language.

Is my PDF uploaded?

No. Text is extracted locally in your browser.

Can I extract text from a password-protected PDF?

Encrypted PDFs must be unlocked with their password first.

What format is the result?

A plain .txt file that opens in any text editor, Word or Google Docs.

Related tools

Save this tool to use it later

Add this page to your browser bookmarks by pressing Ctrl + D