PDF to Text
Extract text from a PDF online and copy it or save a .txt file, line by line in reading order. Hindi and other languages work, and nothing is uploaded.
Runs in your browser · Nothing uploadedFree · No sign-up
Something not working, or missing a feature? Send feedback
About the PDF to Text
PDF to Text pulls the text out of a PDF, line by line in reading order, so you can paste it into an email, a document, a translator or an AI tool, or save it as a .txt file. It works with Hindi and other languages, as long as the PDF contains real text.
PDFs are processed in your browser (pdf-lib, PDF.js and, for passwords, QPDF compiled to WebAssembly), so contracts, invoices and scans never leave your device.
How to use the PDF to Text
- Choose the PDF.
- Optionally turn on Mark where each page starts.
- Press Convert to text.
- Copy the text or download it as a .txt file.
Where it works well
- Copying text from a PDF that will not let you select it neatly
- Feeding a document to a translator, search tool or AI chat
- Saving the text of reports, letters and e-books
Where it struggles
- Scanned PDFs (OCR first)
- Complex multi-column layouts and tables
Works well with the PDF to Text
- OCR PDF: add text to a scanned PDF first.
- PDF to Markdown: keep headings and lists.
- Word & Character Counter: count the words.
- Image to Text (OCR): read garbled or scanned pages with OCR.
Frequently asked questions
Is my file uploaded?
No. The PDF is made or read by your browser on your device, with pdf-lib and Mozilla's PDF.js. Nothing is sent to a server; the Network tab of the developer tools shows no request carrying your file.
Why is the result empty?
The PDF is probably a scan or a photo: its pages are pictures with no text inside. Run it through OCR PDF first, then convert the searchable PDF.
Why are some Hindi words garbled?
Some PDFs, often typed with legacy fonts such as Kruti Dev, store Devanagari as font codes with no map back to Unicode, so copying from any PDF reader gives the wrong letters. Image to Text reads the pages as pictures instead (it accepts PDFs) and gives correct Unicode text.
Text, Markdown or Word?
Text keeps just the words, line by line. PDF to Markdown also turns headings and lists into Markdown, and PDF to Word rebuilds an editable document with formatting and pictures.
Are columns and tables kept?
Lines are read top to bottom; text in two columns side by side may be interleaved line by line. For tables, PDF to Excel rebuilds rows and columns.
Related tools
PDF to Markdown
Convert a PDF to Markdown online: headings, lists and paragraphs ready for docs, wikis, GitHub and AI tools. Converted in your browser.
OCR PDF
Make a scanned PDF searchable with OCR: an invisible text layer lets you search, select and copy its text. English, Hindi and more, in your browser.
PDF to Word
Convert PDF to an editable Word document in your browser. Keeps headings, bold text, lists and pictures; scanned pages are read with OCR. Free.
Text to PDF
Convert text or a .txt file to PDF online: choose the font, size, page size and margins, with word wrap and page numbers. Hindi works too; no upload.