Extract text from a PDF
- Free
- No sign-up
- No upload
- Works offline
Tool facts
- Opens
PDF- Saves as
TXT- Price
- Free, no sign-up, no watermark
- Are files uploaded?
- No. Everything is processed in this browser, on your device.
- Batch processing
- One file at a time
- Offline use
- Works without a connection once this page has loaded
- Built with
- Web Workers and PDF.js
- Browser
- A recent Chrome, Edge, Firefox or Safari, on computer or phone.
- Limits
- No fixed file size limit; very large files depend on your device's memory and may fail on phones.
Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.
About PDF to Text
PDF to Text pulls the text layer out of a PDF so you can copy, search, edit or reuse it. Drop a file and the text of every page appears at once, with a page marker before each page, a word and character count, and a button to download everything as a plain TXT file.
Two modes cover most documents. Flowing text joins the words of each line in reading order, which is best for articles, contracts and books. Keep layout rebuilds every line from the position of the words and keeps the gaps between columns, which works better for tables, invoices and forms. Everything runs in your browser with pdf.js, so the document is never uploaded. Scanned PDFs are pictures of text with no text layer; for those, use the Image to Text (OCR) tool.
PDF to Text runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.
How to use PDF to Text
- Drop a PDF onto the page or click to choose one. Password-protected files ask for the password.
- The text of all pages is extracted immediately. Switch between Flowing text and Keep layout to see which reads better.
- Optionally type page numbers such as 1-3, 8 to extract only some pages, and turn the page markers on or off.
- Click Copy, or Download TXT to save the text as a file.
Frequently asked questions
Is my PDF uploaded?
No. The text is read by pdf.js inside your browser. The file never leaves your device, and the tool keeps working offline once the page has loaded.
Why is the result empty?
The PDF is probably a scan or a photo: its pages are images and contain no text layer. Convert the pages with PDF to Images and read them with Image to Text (OCR), which recognizes the letters in a picture.
Which mode should I use?
Flowing text is best for normal paragraphs. Keep layout places words by their position on the page and keeps the space between columns, so tables, invoices and two-column forms stay readable.
Does it work with Chinese, Arabic and other languages?
Yes. The tool reads the Unicode text stored in the PDF, so any language works as long as the PDF contains real text. Some older PDFs use fonts without a proper character map; their text may come out garbled in every extractor.
Can I extract text from a password-protected PDF?
Yes, if you know the password. Enter it when asked and the text is extracted as usual.