By Jetformat
Sanitize removes JavaScript, URI, Launch, and similar actions. It may remove useful links; it is not a guarantee that every privacy-sensitive item has been removed.
Steps
- Start with a local PDF. Replace the sample paths and identifiers with your own.
- Run the command below. Save to a new output path so the source remains available for comparison.
- Check the result as described below before using it in another job.
jetformat pdf sanitize book.pdf -o clean.pdf
Options for this task
| Option | Meaning |
|---|---|
--output |
Output PDF path (required) |
Check the result
Review interactive behavior, metadata, attachments, and visible content separately before sharing the output.
Notes and limits
This operation uses page-based credits. Review the billing guide before processing a large document.
The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat pdf sanitize --help to compare options with your installed version.
See the pdf command reference for the surrounding workflow.