We tried to reuse contract exhibits for marketing and someone later identified the client from hidden metadata. Across…
Open the PDF file you want to sanitize in Adobe Acrobat.
Go to the Tools pane and select Protect.
In the Protect toolbar, click Sanitize.
When prompted, confirm that you want to remove hidden information by clicking OK or Sanitize.
Save the sanitized PDF to preserve the changes.
Best practiceBlog sources recommend saving a backup copy of your original PDF before sanitizing, as this process is irreversible.
After sanitizing, review your document to ensure all sensitive hidden data has been removed as intended.
This runs in the Acrobat app - there is no separate API for this task.
| Feature | What it removes |
|---|---|
| Sanitize Document | Hidden data (metadata, comments, scripts, attachments) |
| Redact a PDF | Visible text and images |
It is very important to use Sanitize Document because redaction only hides visible text and images. Your PDF can still contain hidden information like author names, comments, or attachments, which can reveal private details. Sanitize Document removes this invisible layer of data, ensuring full privacy and compliance. This two-step process (redact then sanitize) gives you real security.
No, Sanitize Document only removes hidden information. It does not remove visible text or images that contain sensitive data. For visible sensitive text, you need to use the 'Redact a PDF' tool first. Always use both tools together to ensure both hidden and visible sensitive information is removed from your document.