Sanitize PDF
Strip metadata, scripts, attachments, and annotations from your PDFs in one click.
Free, fast, and privacy-first.
Sanitize your PDFs
or drag & drop files here
PDF files onlyup to 30 filesup to 100 MB each300 MB total
Selected files 0
document.pdf
0 KB
Your PDF is ready
Your download should have started automatically.
Sanitize a PDF — strip hidden data before you share it
A PDF can quietly carry far more than the pages you see: your name and software in the metadata, scripts that run when it opens, other files embedded inside, and comments or form data. Sanitize PDF is the all-in-one cleanup: with four checkboxes you choose what to strip — metadata, embedded JavaScript, attachments, and annotations (including form fields) — and all four are on by default. Each is genuinely deleted from the file, the underlying objects and bytes removed rather than just hidden, so nothing lingers to be recovered.
Your visible pages, text, and images are left exactly as they are — only the hidden layers you tick are removed (note that clearing annotations also drops interactive form fields and comments, and removing JavaScript stops any script-driven form behaviour). Clean one PDF or up to 30 at once, downloading a single file or a ZIP. It all runs in your browser with pdf-lib, so your files never leave your device. Sanitize is the umbrella over our focused tools — Remove Metadata, Remove JavaScript, Remove Attachments, and Remove Annotations — so reach for one of those when you only need a single job.
-
Four cleanups, one pass
Strip metadata, JavaScript, attachments, and annotations together — or just the ones you tick.
-
Truly deleted, not hidden
The underlying objects and bytes are removed, so nothing lingers to be recovered.
-
Visible pages untouched
Your text and images stay exactly as they are; only the hidden layers go.
-
Clean up to 30 at once
Sanitize many PDFs before sharing; they download together as a ZIP.
How to sanitize a PDF
-
Add your PDF(s)
Drop one file (or up to 30) into the upload area.
-
Choose what to remove
Tick the data you want stripped. Metadata, JavaScript, attachments, and annotations are all selected by default.
-
Sanitize and download
Click “Sanitize PDF” and download your cleaned file (a ZIP for several). Everything happens in your browser.