PDF TO TEXT
把 PDF 变成可复制的文字。
上传 PDF,自动逐页提取文字并保留段落结构,可一键复制或下载为 .txt 文件。扫描件(图片型 PDF)不含文字层,无法提取,请先用 OCR 工具。
拖入或选择 PDF
仅本地解析,文件不会上传
提取结果
本页处理在浏览器本地完成
这个工具怎么用?
选择 PDF 后点击提取,工具会用浏览器内的 pdf.js 解析每一页的文字层,按行重构后显示出来。可全选复制用于笔记、翻译或检索;也能下载为 .txt 纯文本。整个过程在本地完成,不上传文件。
使用步骤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.