Sanitize PDF
Sanitize PDF removes what a PDF carries besides its pages: scripts, risky actions, attached files, metadata, camera data in photos, hidden layers and earlier saved versions. It shows what it found first and runs in your browser, so the file is never uploaded.
How to use Sanitize PDF
- Drop one or more PDFs. Toolwright lists the scripts, attachments, metadata, hidden layers and other data each one carries.
- Choose what to remove. Scripts, risky actions, attachments, metadata and hidden layers are chosen for you.
- Click Clean and download the PDF. The new file is read back to confirm what is gone.
Frequently asked questions
What hidden data can a PDF contain?
Besides its pages, a PDF can carry scripts, actions that open programs or websites, attached files, the author's name and the software used, editing history from the application that made it, GPS location in photos, content on layers that are switched off, and earlier versions of the file saved on top of each other.
Will the pages look different?
No. Everything that shows on the page stays exactly where it is. Only content on hidden layers is taken out, and comments, form fields and web links only if you choose.
Does this remove text I can see, such as names or numbers?
No. Sanitizing removes what is hidden. To black out words that show on the page, use Redact PDF, which removes the text underneath as well.
What are earlier saved versions?
Some programs save changes by adding them to the end of the file, so older versions of pages, deleted text or removed images can still be inside. Toolwright writes the file again from scratch, so only the current version is kept.
Is it safe to open a suspicious PDF here?
Toolwright reads the file's structure without running any of its scripts or actions, so you can see what it contains and remove it. The file never leaves your device.
Does removing metadata affect PDF/A archive files?
Yes. PDF/A requires XMP metadata, so a sanitized file is no longer valid PDF/A. Leave Metadata switched off for archive copies.
Next step
Need to hide words on the page too? Redact the PDF. Open Redact PDF.
Related tools
- 094
- 031