黒い四角を重ねただけでは危ない:PDFの黒塗りの正しいやり方
- 黒い四角は「上に重ねただけ」だと知る
- ページを画像にして、下の文字をなくす
- 保存後に、文字が選択できないか確かめる
PDFに「黒い四角」を描いて、見せたくない部分を隠したつもりでも、下の文字が残っていることがあります。
なぜ残るのか
多くのソフトでは、黒い四角は、文字の上に重ねて描かれるだけです。文字のデータそのものは、四角の下に残っています。
- 黒塗りの部分を、ドラッグしてコピーすると、下の文字が出てくることがあります。
- 別のソフトで開き、四角を動かしたり消したりすると、文字が見えることがあります。
- 検索で、隠したはずの言葉が見つかることがあります。
確実に隠す方法
ページを画像にして、黒い四角ごと、1枚の絵にしてしまいます。画像になれば、下の文字のデータは、ファイルに残りません。
PDFの一部を黒塗りする は、この方法で黒塗りします。黒塗りしたページは画像になり、そのページの文字は、選択・検索できなくなります。
黒塗りしていないページは?
黒塗りしていないページは、そのままです。文字の選択・検索も、使えます。
確かめるときのポイント
- 保存したPDFを開きます。
- 黒塗りの上を、なぞって文字を選択してみます。選択できなければ、残っていません。
- 検索で、隠した言葉を探して、見つからないことを確かめます。
あわせて使えるツール
- PDFをグレースケール(白黒)にする:カラーのPDFを、グレースケールか白黒2値にします。白黒印刷や、コピー・FAXの前に。解像度も選べます。
- PDFのページを抜き出し・削除:PDFから、必要なページだけを残す、または不要なページを消します。
- PDFを圧縮:PDFを、指定したサイズ以下に小さくします。提出先の容量制限に合わせたいときに。
同じツールの、ほかの解説
Why Putting a Black Box on Top Is Not Enough: The Right Way to Redact a PDF
- Know that a black box is only placed on top
- Turn the page into an image to remove the text underneath
- After saving, check that the text cannot be selected
Even if you draw a "black box" over a PDF to hide something, the text underneath may still be there.
Why it remains
In many programs, a black box is just drawn on top of the text. The text data itself is still under the box.
- If you drag over the black area and copy, the text underneath may appear.
- If you open the file in other software and move or delete the box, the text may become visible.
- Searching may find the words you meant to hide.
A reliable way to hide it
Turn the page into an image, so the black box and the page become one picture. Once it is an image, the data for the text underneath is not kept in the file.
Black Out (Redact) Parts of a PDF redacts this way. Redacted pages become images, and their text can no longer be selected or searched.
What about pages you did not redact?
Pages you did not redact stay as they are. Selecting and searching text still work on them.
How to check
- Open the saved PDF.
- Drag to select text over the black area. If you cannot select it, it is not there.
- Search for the words you hid and confirm they are not found.
Tools that go well with this
- Convert a PDF to Grayscale (Black & White): Turn a color PDF into grayscale or pure black and white, ready for monochrome printing, copying or fax. Choose the resolution.
- 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.
More guides for this tool
- How to Black Out Part of a PDF (Free, Works on a Phone)
- Information to Hide Before You Submit: When to Consider Redacting a PDF
- How to Check a Redaction Worked: Select, Search and Open in Another App
- Redacting a Scanned or Photographed PDF: When the PDF Is Made of Images
- Redacting the Same Place on Every Page: Headers, Footers and Name Fields
- Checklist Before Sharing a PDF: Redaction, File Name, Pages and Size