PDF TO TEXT
Turn a PDF into copyable text.
Load a PDF to extract text page by page and keep the paragraph layout; copy or download as .txt. Scanned (image-only) PDFs have no text layer and cannot be extracted.
Drop or choose a PDF
Parsed locally, never uploaded
Extracted text
Processed locally in your browser
How do I use this?
Pick a PDF and click extract. The tool parses each page’s text layer with pdf.js in your browser and reconstructs lines, then shows the result. Copy it for notes or translation, or download as plain .txt. Everything stays local.
使用步骤How to use
- 选择 PDF 文件Choose a PDF file
- 逐页解析并预览提取到的文字Parse page by page and preview the extracted text
- 复制全文或下载为 .txtCopy the text or download it as .txt
示例与注意事项Example & notes
一个例子A worked example
想把 12 页产品说明书里的文字拿出来核对:直接选文件 → 逐页解析 → 下载 .txt,不用先转成 Word 再复制。Need the text out of a 12-page manual? Pick the file, let it parse page by page, then download the .txt — no detour through Word.
注意事项Things to watch
- 扫描件(本质是图片的 PDF)提取不出文字,请改用「图片转文字」页做 OCR 识别。Scanned PDFs are images inside a PDF, so there is no text to extract — use the image-to-text page for OCR instead.
- 带打开密码或权限限制的 PDF 需要先解除限制,否则解析会失败。PDFs with an open password or permission restrictions must be unlocked first, otherwise parsing fails.
- 提取结果会按页保留换行;表格会变成逐行文字,需要自己再整理成表格。Line breaks follow the original pages; tables come out as line-by-line text that you will want to reformat.
- 几十页的大文件在手机上处理会占用较多内存,建议分段提取。Very large files use a lot of memory on phones — extract them in batches.
相关问答More Q&A
提取出来是乱码怎么办?Why is the extracted text garbled?
标准字体编码的 PDF 不会乱码;出现乱码通常是嵌入字体缺少 ToUnicode 映射,这种情况改用 OCR 识别更可靠。Well-encoded PDFs extract cleanly. Garbled output usually means the embedded font lacks a ToUnicode map — OCR is the better route there.
我的 PDF 会上传吗?Is my PDF uploaded anywhere?
不会。解析在浏览器里用 pdf.js 完成,文件不离开你的设备,断网后仍可用。No. Parsing runs locally with pdf.js, the file never leaves your device and it keeps working offline.