PDF 文本提取
按文档顺序提取可选择的文本。扫描件需要使用 OCR。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Copying text out of a PDF viewer is often awkward: selections jump across columns, and long documents require endless scrolling. This tool extracts all the selectable text from a PDF, or from the pages you specify, in document order, with a blank line between pages, ready to paste anywhere.
It works only for PDFs that contain real text, such as exports from Word or web pages. Scans and photos of pages need the searchable PDF (OCR) tool first.
For PDFs that mix real text and scanned pages, the scanned pages simply come back empty; run those pages through OCR separately and paste the results in. The file is processed on our server in an isolated job and deleted afterwards.
使用方法
- Choose the PDF.
- Type “all” or the pages to extract, such as 2-4.
- Run it and copy the text.
计算原理
pypdf’s text extraction reads the text operators on each selected page in content order; pages are joined with a blank line. If nothing is found, the tool reports that OCR is needed.
计算示例
A law student extracts pages 12–15 of a 60-page judgment to quote a passage in her notes; the text arrives in reading order with page breaks marked by blank lines.
局限性
- Selectable text only.
- Reading order may differ from the visual layout.
- Up to 100 pages.
最后更新:
常见问题
Why are columns mixed?
Text is extracted in the order it is stored in the PDF, which may not follow visual columns.
Can it read scanned pages?
No; use the OCR tool first.
Is formatting kept?
No, plain text only.
故障排除
“Needs OCR”.
The PDF is a scan.
Ligatures appear as odd characters.
Some fonts encode “fi” or “fl” specially; correct them with find and replace.
Hyphenated words are split.
Search for “- ” followed by a line break and join them.
隐私 & 免费使用
我的输入会被保存吗?
此工具会将文件或输入上传到我们的隔离处理器。任务完成后会删除工作文件。请勿提交敏感或机密材料。
这个工具免费吗?
是的。无需注册或付费。