PDF Sanitization Scope, Assurance, and Safety

PDF sanitization removes selected information and features that are stored inside a PDF document. It is particularly useful when a document has been created, edited, reviewed, or converted using several applications before being prepared for sharing.

Two PDF files can display exactly the same pages while containing very different underlying information. One may contain only ordinary text and images, while the other also includes metadata, comments, attachments, editing history, form values, hyperlinks, and scripts.

PDFSanitize helps you identify these differences and apply an appropriate cleanup, but the information removed depends on the profile and settings you select.

What sanitization can remove

PDFSanitize can remove document information metadata, XMP metadata, document identifiers, and previous revisions. Depending on the selected settings, it can also remove comments and annotations, interactive forms, embedded files, JavaScript, document actions, hyperlink annotations, bookmarks, optional-content structures, and selected forms of hidden or off-page text.

These categories cover different parts of a PDF. For example, metadata may identify the author or software used to create the file, while an embedded attachment might contain an entire spreadsheet that is not displayed as part of the document’s pages.

Some information can remain even after basic sanitization because a profile does not necessarily select every removal option. Metadata Only, for example, leaves ordinary annotations, attachments, form fields, and hyperlinks outside its predefined removal settings.

Before sharing a document, consider which features are appropriate for its recipients and choose a profile that addresses the information you want removed.

Sanitization is not the same as redaction

Sanitization should not be confused with removing confidential information that is visibly printed on a page.

If a PDF contains a customer’s name, bank account number, address, or other sensitive details in its visible text, removing metadata will not make those details disappear. Maximum Assurance also retains the visible page presentation, so confidential content that is part of that presentation can remain readable.

Information that must not be visible to the recipient needs to be removed or properly redacted before sanitization. Simply covering text with a white rectangle or changing its color may leave the underlying information inside the PDF.

For documents containing sensitive personal or business information, combine an appropriate redaction procedure with sanitization and a final inspection of the output.

Encrypted documents and digital signatures

PDFSanitize can identify encrypted PDFs, but it cannot currently sanitize encrypted or password-protected documents. You must first obtain an authorized unencrypted copy before analyzing and sanitizing its content.

Digital signatures require different handling. PDFSanitize can analyze signed documents, but sanitization changes the PDF and invalidates any existing digital signatures.

When a selected document contains a digital signature, the application displays a warning before proceeding. If the original signature must remain valid, keep the signed original separately and treat the sanitized copy as a new document.

A sanitized document can be signed again afterward if a valid signature is required on the final version.

Changes to text, graphics, and accessibility

Preserve Quality is designed to retain normal PDF text and vector graphics wherever possible. This is generally preferable when recipients need to search the document, copy text, or work with detailed drawings.

Some removal settings can require reconstruction of individual pages. When detected hidden or off-page text is selected for removal, affected pages can be reconstructed from their rendered appearance, while unaffected pages retain their normal PDF content.

Maximum Assurance reconstructs every page. Although the visible content is preserved, the original selectable text, vector graphics, interactive features, and tagged document structures are not retained in their original form.

These changes may affect searchability, text extraction, accessibility, output size, and the appearance of fine details at high magnification. Review the resulting PDF carefully when any of these characteristics matter.

What a successful verification means

PDFSanitize verification checks the sanitized document against the removal requirements used for that operation. A Passed result means the checks performed by the application satisfied their expected conditions.

Verification does not establish that every visible word, number, or image is appropriate for disclosure. It also does not prove that every possible way of concealing information inside a document has been detected.

For example, a removed hyperlink annotation does not necessarily prevent a PDF viewer from recognizing a visible website address as a clickable link. Similarly, confidential text already included in a scanned page image can remain visible after the PDF has been sanitized.

Verification also applies to the particular output that was checked. It does not affect older copies, email attachments, cloud versions, or backups of the original PDF.

Reviewing and sharing sanitized documents

PDFSanitize saves a separate sanitized copy and leaves the original file unchanged. This helps prevent accidental replacement, but the original may still contain the information you wanted to remove.

Before distributing a document, open the sanitized PDF and examine its pages, filenames, and verification results. Where necessary, use its SHA-256 fingerprint to identify the exact output associated with a report or processing record.

For organizations handling confidential records, these checks can be incorporated into existing document-review and distribution procedures. For individual users, the same precautions help avoid sending an original PDF or disclosing information that should have been removed.