Utilvo Local Studio100% Client-Side • Zero Uploads
Client-Side Structural PDF Audit & Scrubbing

PDF Sanitizer — Strip Active Scripts, Metadata & Hidden Objects

Audit a PDF in browser RAM, score hidden active threats from 0 to 100, strip JavaScript, Launch triggers, embedded files, external URIs, and metadata, then download both the sanitized PDF and a JSON verification report.

0–100 Threat Score AuditJS, OpenAction & Launch RemovalXMP & %%EOF CleanupJSON Verification Report100% In-Browser RAM

DROP PDF FILES HERE

or click to choose file from your device (.pdf)

100% local browser processing
Deep metadata & script scrubbing
Sanitized & flattened PDF export
Inspection Signals

What the Structural Threat Audit Detects & Scores (0–100)

As soon as you load a document, the in-browser parser inspects the Document Catalog, page nodes, annotation actions, Info/XMP metadata dictionaries, and raw ASCII %%EOF trailer markers to compute a weighted threat score (capped at 100) both before and after scrubbing.

PDF structural elements inspected and weighted by the browser sanitizer audit
Audited VectorPDF Dictionary / Marker InspectedScore WeightRisk Surface
Active JavaScript & Auto-Actions/Names /JavaScript, /OpenAction, /AA, /JS+30Executes scripts automatically on document open, page view, or field events
External Launch TriggersAnnotation /A → /S /Launch+25Attempts to invoke local operating system commands or executable binaries
Embedded File AttachmentsCatalog /Names → /EmbeddedFiles+15Smuggles nested archives, macro-enabled spreadsheets, or scripts inside the PDF
Rich Media & Screen ObjectsAnnotation /Subtype /RichMedia or /Screen+10Embeds legacy media playback objects frequently blocked by email security gateways
External HyperlinksAnnotation /A → /S /URI+10Phishing redirects, tracking links, or unintended outbound network calls
Incremental Revision TrailersMultiple %%EOF markers (> 1)+5Appended saves can retain deleted paragraphs, earlier pricing drafts, or objects
Page Annotations & MarkupPage /Annots array (> 0 entries)+5Internal legal review notes, sticky comments, highlights, and interactive widgets
Metadata & AcroForm PresenceCatalog /Metadata (XMP), /Info, /AcroFormAuditedExposes employee usernames, workstation software paths, and editable form fields
Sanitization Models

Dictionary-Level Sanitization vs. Pixel Rasterization & Visual Redaction

Different security and compliance teams use “PDF sanitization” to describe three distinct operations. Matching the right approach to your threat model prevents broken text accessibility on one hand and accidental data exposure on the other.

Structural Dictionary Scrubbing (This Tool)

Parses the internal PDF object tree in browser memory, strips executable dictionaries, attachments, comments, and metadata, and serializes a clean cross-reference table that collapses appended %%EOF revision chains. Selectable text and vector line art remain untouched.

Need a read-only inspection first? Run PDF Malware Scanner. Want to keep interactive links and wipe only author tags? Use Remove Metadata.

Full Page Rasterization (Image-Only Rebuild)

Pipelines inspired by Dangerzone render each page onto a flat pixel canvas and re-wrap those bitmaps into a brand-new PDF. That sacrifices text selection and screen-reader accessibility, but neutralizes malformed font or image parser exploits that dictionary scrubbing cannot inspect.

When handling untrusted external attachments where image-only output is required, use Rasterize PDF.

Visual Content Redaction

Structural sanitization removes hidden metadata, scripts, and annotations; it never blacks out visible account numbers, names, or paragraphs drawn inside the page content stream or scanned images.

To permanently burn black redaction boxes over visible text or graphics before public release, run Redact PDF first, then sanitize the resulting file.

Profiles & Verification

Choosing Basic, Corporate, or Government Profiles & Verifying the JSON Report

Profile Presets & Post-Scrub Re-Audit

Select Basic to purge high-risk active scripts (/JavaScript, /OpenAction, /Launch) while keeping standard links and form fields; Corporate (default) to also strip XMP/Info metadata, embedded attachments, and rich media before sharing client deliverables; or Government for maximum lockdown that clears all page annotations, external URIs, and interactive AcroForm fields.

Immediately after compiling *_sanitized.pdf, the engine re-audits the output buffer in memory to confirm targeted vectors dropped to zero, and lets you save *_sanitization_report.json for governance or FOIA disclosure logs.

Encryption, Digital Signatures & Scope Limits

  • Password-locked files: Encrypted PDFs cannot be parsed until decrypted; remove password protection first with Unlock PDF.
  • Cryptographic signatures: Rebuilding the Document Catalog and cross-reference table invalidates existing digital signatures—always sanitize a draft before final cryptographic signing.
  • Single-file & non-AV scope: The tool processes one PDF at a time in browser RAM and performs structural object removal rather than antivirus signature scanning.
Questions

Frequently Asked Questions

Answers on structural PDF sanitization, threat scoring, password boundaries, and preserving text sharpness.

How can I sanitize a PDF document locally in my browser?

Drop your PDF into the sanitizer to run an immediate structural threat audit in browser RAM. Choose Basic, Corporate, or Government depth (or toggle specific cleanup rules), click Sanitize, and download both the rebuilt *_sanitized.pdf file and the JSON verification report with zero server uploads.

Why should you sanitize a PDF before emailing or publishing it?

Standard PDFs often retain hidden author usernames, software history, multiple incremental %%EOF revision trailers containing earlier edits, reviewer sticky notes, embedded file attachments, and active JavaScript or Launch triggers that either leak internal data or cause corporate email gateways to quarantine the file.

Does sanitizing a PDF degrade visible text, vector graphics, or fonts?

No. Because this sanitizer scrubs internal PDF object dictionaries rather than rasterizing pages into flat images, selectable text, vector diagrams, and embedded font glyphs remain crisp and searchable. If you need to black out visible words or numbers on a page, run Redact PDF first.

Can this tool sanitize password-protected PDFs or preserve digital signatures?

Encrypted PDFs must be unlocked with our Unlock PDF tool before their internal dictionaries can be parsed and rebuilt. Additionally, because sanitization rewrites the document catalog and cross-reference table, any existing cryptographic digital signature is invalidated—always sanitize a document before applying a final signature.

How does this compare to Adobe Acrobat Sanitize Document or pixel-flattening tools?

Pixel-flattening tools such as Dangerzone convert every page into a bitmap image, destroying text searchability to neutralize malformed parser payloads. This browser tool performs fast dictionary-level Content Disarm and Reconstruction (CDR) that keeps text selectable and exports a before-and-after JSON audit report, though it is not an antivirus signature scanner and does not modify pixels inside embedded images.

Security Suite

Companion PDF Security, Redaction & Inspection Tools

Pair structural sanitization with read-only threat scans, visual redaction, metadata removal, or page rasterization.