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.
- Select a PDF file
- Click Extract text
- Download the .txt file
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.
- Reuse the content of a report in a new document.
- Paste text into a translator or an AI tool.
- Search a long document or count its words.
- Quote passages from articles and studies.
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
- Works with PDFs created from Word, Google Docs, web pages and most software.
- Scanned documents and photos of pages contain images, not text, so they need OCR (optical character recognition) first.
- Only the text is extracted; fonts, colors, images and tables' formatting are not kept.
- Complex layouts with columns may need small manual adjustments.
Tips
- Try selecting text in your PDF viewer: if you can select it, it can be extracted.
- To count words of the extracted text, paste it into the Word Counter tool.
- Extract only some pages by splitting the PDF first with Split PDF.
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.