PDF 裡的文字無法複製時怎麼辦
- 選擇 PDF
- 解除限制
- 複製文字
You try to select and copy text from a PDF but cannot, or pasted text is garbled. The cause may be a copy restriction or that the PDF is made of images. Remove a Password from a PDF helps when restrictions are the cause.
Telling the cause apart
- Copy restriction: you cannot select text, and "Copy" is greyed out.
- Image PDF: a PDF made from a scan or photo. It is an image rather than text, so it cannot be selected at all.
- Garbled text: the font information is unusual and breaks when pasted.
Steps (removing restrictions)
- With "Choose a PDF", choose the PDF.
- If a password is needed, enter it in "PDF password".
- Press "Remove restrictions".
- When ready, save with "Save PDF".
- Try copying text from the saved PDF.
For an image PDF
Even with restrictions removed, text cannot be copied. A text-reading function (OCR) is needed. An OCR tool can extract text from images.
If the text is garbled
- Try copying in another viewing app.
- Extract text with the tool that extracts text from PDFs.
- If it still garbles, it is a font problem of the PDF. Treat it as an image and try OCR.
What to observe
Copy restrictions are sometimes set to protect copyrighted works. Handle others' material within the scope of permitted use. Quote within the bounds of copyright law.
示例
Text could not be copied from a company PDF. For internal personal use, with permission, restrictions were removed and the needed part was copied.
Common stumbling blocks
- Cannot select even after removing restrictions: it is an image PDF. Use OCR.
- Many line breaks when pasted: fix with the line-break tidying tool.
- Only some pages cannot be copied: the format may differ by page.
Frequently asked questions
How is this different from the text extraction tool?
Removing restrictions changes the PDF's own settings. Extracting text pulls text data out of the PDF.
小結
If restrictions are the cause, remove them; for an image PDF, OCR. First tell the cause apart.
使用「解除 PDF 的密碼」(免費)搭配使用的工具
- 給 PDF 設定密碼:給 PDF 設定開啟時需要的密碼。
- 合併 PDF:按你選擇的順序,把多個 PDF 檔案合併成一個。
- 壓縮 PDF:把 PDF 壓縮到你指定的大小以下,應對上傳大小限制。