「ページの区切り」を入れる・入れないの選び方
- 確認や引用が目的なら「入れる」
- 文章としてそのまま使うなら「入れない」
- あとから手で消すこともできる
PDFから文字を抜き出す には、「ページの区切り」の設定があり、「入れる」と「入れない」を選べます。どちらを選ぶかで、取り出される文章の、形が変わります。使い分けの目安を、説明します。
2つの違い
- 入れる:各ページの前に、ページの区切りが、入ります。どのページの文章なのか、わかります。
- 入れない:すべてのページの文章が、続けて、1つの文章として、出ます。
「入れる」が、向いている場合
- 引用するときに、ページ番号を、示したい
- 資料の、特定のページの、内容を、探したい
- 長いPDFで、場所を、見失いたくない
- 元のPDFと、見比べながら、確認したい
「入れない」が、向いている場合
- 文章を、そのまま、コピーして、メモや、メールに、貼りたい
- ページをまたぐ文章を、つなげて、読みたい
- 翻訳や、読み上げに、かけたい
- 余計な、記号を、含めたくない
手順
- 「PDFを選ぶ」で、PDFを選びます。
- 「ページの区切り」を、選びます。
- 「文字を取り出す」を押します。
- 結果を確認して、コピーか、保存をします。
区切りを、あとから取り除くには
「入れる」で、取り出した文章から、区切りの行を、手で消すか、エディタの、検索と置換で、まとめて、消せます。逆に、「入れない」で取り出した文章に、あとから、ページの情報を、足すことは、できません。もう一度、取り出します。
ページをまたぐ文章
文章が、ページの終わりから、次のページに、続いている場合、「入れる」だと、途中に、区切りが入ります。読むときは、区切りを、飛ばして、つなげて読みます。
つまずきやすい点
- 区切りが、邪魔になる:「入れない」で、やり直します。
- どのページか、わからない:「入れる」で、やり直します。
- 結果が、同じに見える:1ページだけの、PDFでは、違いが、小さいです。
よくある質問
区切りは、どんな形で、入りますか?
ページを示す、目印の行が、入ります。取り出した画面で、確認してください。
設定を変えて、何度も、取り出せますか?
できます。「文字を取り出す」を、押し直すだけです。
まとめ
引用や、ページの確認には「入れる」、そのまま、使うなら「入れない」。迷ったら、「入れる」から、始めましょう。
PDFから文字を抜き出すを使う(無料)あわせて使えるツール
- PDFを画像に変換:PDFの各ページを、JPEGまたはPNGの画像として保存します。
- PDFのページを抜き出し・削除:PDFから、必要なページだけを残す、または不要なページを消します。
- PDFを圧縮:PDFを、指定したサイズ以下に小さくします。提出先の容量制限に合わせたいときに。
同じツールの、ほかの解説
Should You Add Page Markers? Choosing Between On and Off
- "Add markers" for checking and citing
- "No markers" when using the text as continuous prose
- You can also delete them by hand later
Extract Text from PDF has a "Page separators" setting with "Include" and "Do not include". Which you choose changes the shape of the extracted text. Here is a guide to using them.
The difference
- Include: a page separator is placed before each page. You can tell which page each passage is from.
- Do not include: the text of all pages runs on as a single piece of text.
When "Include" suits
- You want to show the page number when quoting
- You want to look for the content of a specific page
- In a long PDF, you do not want to lose your place
- You want to check while comparing with the original PDF
When "Do not include" suits
- You want to copy the text as it is into a note or email
- You want to read text that runs across pages as one
- You want to run it through translation or read-aloud
- You do not want extra marks
Steps
- With "Choose PDF", pick the PDF.
- Choose "Page separators".
- Press "Extract text".
- Check the result and copy or save.
Removing separators afterwards
From text extracted with "Include", you can delete the separator lines by hand, or remove them all with an editor's find and replace. Conversely, you cannot add page information to text extracted with "Do not include". Extract it again.
Text that runs across pages
When a sentence continues from the end of one page to the next, "Include" puts a separator in the middle. When reading, skip the separator and read it as one.
Common stumbling blocks
- The separators get in the way: redo it with "Do not include".
- You cannot tell which page: redo it with "Include".
- The results look the same: with a one-page PDF, the difference is small.
Frequently asked questions
What form do the separators take?
A marker line indicating the page is inserted. Check it on the extraction screen.
Can I extract again with a different setting?
Yes. Just press "Extract text" again.
Summary
"Include" for quoting and checking pages, "Do not include" for using as it is. When unsure, start with "Include".
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.