PDFの文字がコピーできないときの対処法
- PDFを選ぶ
- 制限を外す
- 文字をコピー
PDFの文字を選んでコピーしようとしても、できない、または、貼り付けると文字化けする。原因は、コピーの制限か、PDFが画像でできているためかもしれません。PDFのパスワードを解除する は、制限が原因の場合に役立ちます。
原因を見分ける
- コピーの制限:文字を選ぼうとしても選べない、「コピー」が灰色。
- 画像のPDF:スキャンや写真から作ったPDF。文字ではなく、画像なので、そもそも選べない。
- 文字化け:フォントの情報が特殊で、貼り付けると崩れる。
手順(制限を外す)
- 「PDFを選ぶ」で、PDFを選びます。
- パスワードが必要な場合は、「PDFのパスワード」に入力します。
- 「制限を外す」を押します。
- 準備ができたら、「PDFを保存する」で保存します。
- 保存したPDFで、文字のコピーを試します。
画像のPDFの場合
制限を外しても、文字はコピーできません。文字を読み取る機能(OCR)が必要です。OCRのツールで、画像から文字を取り出せます。
文字化けする場合
- 別の閲覧アプリで、コピーしてみる。
- PDFから文字を取り出すツールで、文字を抜き出す。
- それでも化ける場合は、PDFのフォントの問題です。画像として扱い、OCRを試す。
守ること
コピーの制限は、著作物を守るために設定されている場合があります。他人の資料は、利用の範囲を守って扱ってください。引用は、著作権法の範囲で行います。
例
会社の資料のPDFで、文章をコピーできなかった。自分用に、社内で使う目的で、許可を得た上で制限を外して、必要な部分をコピーした。
つまずきやすい点
- 制限を外しても選べない:画像のPDFです。OCRを使います。
- 貼り付けると、改行が多い:改行を整えるツールで直します。
- 一部のページだけコピーできない:ページごとに、形式が違う場合がある。
よくある質問
文字を取り出すツールとの違いは?
制限を外すのは、PDFそのものの設定です。文字を取り出すのは、PDFから文字データを抜き出す操作です。
まとめ
制限が原因なら外す。画像のPDFなら、OCR。まず、原因を見分けましょう。
PDFのパスワードを解除するを使う(無料)あわせて使えるツール
- PDFにパスワードをかける:PDFに、開くときのパスワードをかけます。
- PDFを結合:複数のPDFを、順番を決めて1つのPDFにまとめます。
- PDFを圧縮:PDFを、指定したサイズ以下に小さくします。提出先の容量制限に合わせたいときに。
同じツールの、ほかの解説
What to Do When Text in a PDF Cannot Be Copied
- Choose the PDF
- Remove the restriction
- Copy the text
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.
Example
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.
Summary
If restrictions are the cause, remove them; for an image PDF, OCR. First tell the cause apart.
Use "Remove a Password from a PDF" (free)Tools that go well with this
- Add a Password to a PDF: Add a password needed to open a PDF.
- Merge PDFs: Combine several PDF files into one, in the order you choose.
- Compress PDF: Shrink a PDF to fit under a size you choose, for upload limits.