We've had two near-misses where redacted PDFs still exposed metadata. Diagnose where our redaction process fails (visu…
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 does | What it removes |
|---|---|---|
| Redaction | Hides visible text and images permanently. | Visible text, graphics, and images. |
| Sanitize Document | Removes all invisible data layers. | Metadata, embedded content, scripts, comments, bookmarks, attachments, form fields, AI content. |
It is important to sanitize a PDF to prevent accidental leaks of private information. Documents often contain hidden data like author names, creation dates, or even deleted text that is still embedded. Sanitizing ensures this invisible data is removed, protecting your privacy and compliance.
Yes, if you only use the Redact tool, your PDF can still leak sensitive information. Redaction only handles visible text and images. It does not remove hidden layers like metadata, comments, or scripts. You must use the Sanitize Document feature in addition to redaction for full security.