黒い四角を重ねただけでは危ない:PDFの黒塗りの正しいやり方
- 黒い四角は「上に重ねただけ」だと知る
- ページを画像にして、下の文字をなくす
- 保存後に、文字が選択できないか確かめる
PDFの上に黒い四角を重ねて、隠したつもりでも、下の文字が残っていることがあります。文字をコピーしたり、検索したりすると、隠したはずの内容が出てくる。実際に起きる事故です。PDFの一部を黒塗りする がどうやって、この問題を避けているかを、説明します。
黒い四角だけでは危ない理由
PDFは、ページ上に、文字、図、画像を重ねて表示します。黒い四角を追加しても、下の文字は、そのまま、データとして残ります。
- 文字を全選択して、コピーすると、隠した文字も出る
- 検索すると、隠した文字がヒットする
- 黒い四角を削除すると、下の文字が見える
- 別のソフトで開くと、見える場合がある
正しい黒塗りとは
黒塗りした部分の、元の文字や画像のデータを、残さないことです。
このツールは、黒塗りしたページを、まるごと画像に作り直します。画像になった時点で、文字データは消えます。
このツールの流れ
- 隠したい範囲を囲む。
- 「黒塗りしてPDFを作る」で、そのページを画像にして、黒を焼き込む。
- 画像になったページは、文字の選択や検索ができない。
- 黒塗りしていないページは、そのまま残る。
手順(確認まで含めて)
- 範囲を囲み、黒塗りして、保存します。
- 保存したPDFを開きます。
- 黒塗りした部分を、なぞって選択してみます。選択できなければ、文字データは残っていません。
- 文字検索で、隠した言葉を検索します。ヒットしなければ成功です。
気をつけたいこと
- 別のページや別の場所に、同じ情報がないか:氏名が、ヘッダーやフッター、別のページにも入っていることがあります。「全ページに同じ範囲を適用」が役立ちます。
- ファイルのプロパティ:作成者名などに、氏名が入っていることがあります。プロパティの確認・削除ツールで確認します。
- ファイル名:氏名や、番号が含まれていないか確認します。
例
請求書の口座番号を隠す:口座番号の欄を囲んで黒塗りし、保存後に、そこを選択して、文字が出ないことを確認する。
つまずきやすい点
- 黒塗りしたつもりで、していなかった:「まだ黒塗りの範囲がありません。」と出たら、範囲が選ばれていません。
- 文字が選択できてしまった:そのページで黒塗りがされていません。範囲を確認して、作り直します。
- 一部のページだけ隠した:全ページに同じ情報がないか、確認します。
よくある質問
Wordで黒塗りしてからPDFにするのは?
Wordの図形の黒四角は、PDFにしても、下の文字が残る場合があります。このツールで、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 lay a black box over a PDF and think you have hidden it, the text underneath may remain. Copy the text or search, and the content you meant to hide appears. This really happens. Here is how Black Out (Redact) Parts of a PDF avoids this problem.
Why a black box alone is dangerous
A PDF displays text, shapes and images layered on a page. Even if you add a black box, the text underneath remains as data.
- Select all and copy, and the hidden text comes out too
- Search, and the hidden text is found
- Delete the black box, and the text underneath is visible
- Opened in other software, it may be visible
What correct redaction means
It means leaving no data of the original text or images in the blacked-out part.
This tool rebuilds a blacked-out page entirely as an image. Once it is an image, the text data is gone.
The flow in this tool
- Enclose the area to hide.
- With "Black out and create PDF", the page becomes an image with the black burned in.
- A page turned into an image cannot be selected or searched.
- Pages you did not black out stay as they are.
Steps (including checking)
- Enclose the areas, black them out and save.
- Open the saved PDF.
- Try tracing over the blacked-out part to select it. If you cannot select it, no text data remains.
- Search for the hidden word. If it is not found, it worked.
Things to watch
- Is the same information elsewhere? A name may also be in a header, footer or another page. "Apply the same area to all pages" helps.
- File properties: a name may be in the author field. Check with the PDF properties tool.
- File name: check that it does not contain a name or number.
Example
Hiding the bank account number on an invoice: enclose the account number field and black it out, and after saving, select it to confirm no text comes out.
Common stumbling blocks
- You thought you blacked it out but did not: if "There are no blackout areas yet" appears, no area has been selected.
- The text could be selected: that page was not blacked out. Check the area and make it again.
- You hid only some pages: check whether the same information is on other pages.
Frequently asked questions
What about blacking out in Word and then making a PDF?
A black rectangle shape in Word may leave the text underneath even after PDF conversion. It is more reliable to make the PDF first and then black it out with this tool.
Are image pages fine?
For pages that are images from the start, there is no text data, so the blacked-out area is painted over as an image.
Summary
Laying a black box leaves the text. Turn the page into an image with the black burned in, and after saving check by selecting and searching.
Use "Black Out (Redact) Parts of a PDF" (free)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