We've had two near-misses where redacted PDFs still exposed metadata. Diagnose where our redaction process fails (visu…
Open a PDF file in Adobe Acrobat Pro.
Go to the Tools pane and select Action Wizard.
Click New Action to start creating a custom action.
In the Choose tools to add list, expand Protection and double-click Sanitize Document to add it to your action steps.
Optionally, configure the Sanitize Document settings by clicking its gear icon to specify which hidden data types to remove.
Best practiceFor consistent results, review and save your preferred sanitize settings to avoid missing hidden data in future batches.
Optionally, add other steps (such as Save or Close) to automate post-sanitization actions.
Click Save, enter a name for your custom action (e.g., 'Sanitize PDFs'), and confirm.
To use your custom action, return to Action Wizard, select your action from the list, and follow the prompts to run it on one or more PDFs.
NoteYou can batch-process multiple PDFs with your custom action for efficient repeated sanitization.
You can quickly re-run your saved custom action from the Action Wizard to sanitize new PDFs with one click.
This runs in the Acrobat app - there is no separate API for this task.
To create a custom Acrobat Action, open Adobe Acrobat, go to the Action Wizard, and select 'Create New Action.' Then, add the 'Remove Hidden Information' step and save your Action with a name you will remember. Now you can use it anytime you need to sanitize files.
Sanitization in Adobe Acrobat means cleaning a PDF to remove things like hidden text, comments, metadata, or other information that might not be visible but could still be shared by accident.
You should use a sanitization Action whenever you need to share PDF files with others, especially if the files might have private notes, tracked changes, or personal information that you do not want others to see.
A custom Acrobat Action lets you save a set of steps and run them automatically, so you don't have to repeat the same clicks every time. This saves time and helps prevent mistakes.
Hidden information in PDFs can include things like author names, comments, or even deleted text. If you do not remove this, someone else might find private details you did not mean to share.