PDFの文字をコピー・テキストにして取り出す方法
- PDFを選んで「文字を取り出す」を押す
- 出てきた文字を、コピーか.txtで保存
- 画像だけのPDFからは、取り出せない
PDFの中の文章を、コピーして、メモや、メールに使いたい。PDFによっては、うまく選択できず、手間がかかります。PDFから文字を抜き出す は、PDFに含まれる文字を、まとめて取り出して、コピー、または、テキストファイル(.txt)として保存できるツールです。処理は端末の中で行われ、PDFは外部に送られません。
手順
- 「PDFを選ぶ」で、PDFを1つ選びます。
- 「ページの区切り」を、「入れる」か「入れない」から選びます。
- 「文字を取り出す」を押します。
- 「取り出した文字」が表示されます。
- 「コピーする」を押すと、コピーされます。または、「テキストファイルで保存(.txt)」で、保存します。
取り出せるPDFと、取り出せないPDF
- 取り出せる:Wordや、PowerPointなどから書き出した、文字として入っているPDF。ウェブページを、PDFにしたもの。
- 取り出せない:紙をスキャンしただけの、PDF(画像のPDF)。この場合は、文字の部分も、画像なので、取り出せません。
「ページの区切り」について
- 入れる:各ページの前に、ページ番号の区切りが入ります。どのページの文章か、わかりやすくなります。
- 入れない:文章が、つながって出ます。コピーして、そのまま、使いたいときに向いています。
どんなときに使うか
- 資料の文章を、メモや、レポートに、引用したい
- PDFの内容を、検索や、翻訳に、かけたい
- 長い文章を、テキストとして、保存したい
- PDFの内容を、別のアプリに、貼りたい
取り出したあとの整理
- 改行が、不自然な位置で、入っていることがあります。必要なら、改行を、整えます。
- 表や、段組みは、順番が、前後することがあります。
- ヘッダーや、フッターも、本文と一緒に、出ることがあります。
つまずきやすい点
- 文字が、何も出ない:画像のPDFの可能性があります。別の解説をご覧ください。
- 文字化けした:PDFの、文字の入れ方によっては、読み取れないことがあります。
- パスワード付きのPDF:扱えません。先にパスワードを外します。
よくある質問
元のPDFは、変わりますか?
変わりません。
画像の文字も、取り出せますか?
このツールは、文字として入っている部分だけです。画像の文字は、文字認識(OCR)のツールを使います。
まとめ
PDFを選んで、「文字を取り出す」を押すだけです。結果を確認してから、コピーや、保存をしましょう。
PDFから文字を抜き出すを使う(無料)あわせて使えるツール
- PDFを画像に変換:PDFの各ページを、JPEGまたはPNGの画像として保存します。
- PDFのページを抜き出し・削除:PDFから、必要なページだけを残す、または不要なページを消します。
- PDFを圧縮:PDFを、指定したサイズ以下に小さくします。提出先の容量制限に合わせたいときに。
同じツールの、ほかの解説
How to Copy and Extract Text from a PDF
- Choose a PDF and tap "Extract text"
- Copy the text or save it as .txt
- Image-only PDFs have no text to extract
You want to copy the text from a PDF into a note or email. Some PDFs are hard to select from and it takes effort. Extract Text from PDF extracts the text contained in a PDF all at once, and lets you copy it or save it as a text file (.txt). Processing happens on your device and the PDF is never sent anywhere.
Steps
- With "Choose PDF", pick one PDF.
- Choose "Page separators": "Include" or "Do not include".
- Press "Extract text".
- The "Extracted text" appears.
- Press "Copy" to copy it, or save it with "Save as text file (.txt)".
PDFs it can and cannot read
- Can extract: PDFs exported from Word or PowerPoint, which hold text as text. Web pages turned into PDFs.
- Cannot extract: PDFs made by simply scanning paper (image PDFs). The text is also an image, so it cannot be extracted.
About "Page separators"
- Include: a page-number separator is placed before each page, making it clear which page the text came from.
- Do not include: the text runs together. Suits copying and using as it is.
When it is useful
- You want to quote text from a document in a note or report
- You want to run the PDF's content through search or translation
- You want to save a long text as plain text
- You want to paste the PDF's content into another app
Tidying afterwards
- Line breaks may fall in unnatural places. Fix them if needed.
- With tables or multiple columns, the order may be mixed up.
- Headers and footers may come out together with the body.
Common stumbling blocks
- No text comes out: it may be an image PDF. See the separate guide.
- The text is garbled: depending on how the PDF holds its text, it may not be readable.
- Password-protected PDF: not supported. Remove the password first.
Frequently asked questions
Does the original PDF change?
No.
Can it extract text in images?
This tool handles only text held as text. For text in images, use the text recognition (OCR) tool.
Summary
Choose the PDF and press "Extract text". Check the result before copying or saving.
Use "Extract Text from PDF" (free)Tools that go well with this
- PDF to Images: Save each page of a PDF as a JPEG or PNG image.
- Extract or Delete PDF Pages: Keep only the pages you need, or remove the pages you don't.
- Compress PDF: Shrink a PDF to fit under a size you choose, for upload limits.