Sanitize PDF
Remove scripts, links, attached files and hidden metadata before sharing.
Runs on your device
Other sites: 0Check it yourself- 1Add files
- 2Set up
- 3Download
Tip: You can also drop files anywhere on this page, or paste them.
or drop them here
Accepts PDF
How to use Sanitize PDF
Add one or more PDFs to clean.
Keep the default choices to remove scripts, attached files, links and metadata, or turn some off. Flatten form fields too if the form doesn't need to stay fillable.
Press Sanitize PDF. The result says what was removed.
About Sanitize PDF
Sanitize PDF removes everything in a file that can run code, call out to the internet or carry information you can't see on the page. That covers JavaScript and other actions that run when the file opens, a page shows or a field changes; links to websites and other files; attached files; and metadata such as author names, editing software, XMP, thumbnails and editors' private data. The pages, their text and images stay as they are, and the file is rewritten so removed parts can't linger as unused objects.
Sanitize PDF: common questions
Can a PDF really contain harmful code?
PDFs can hold JavaScript and actions that launch other programs, send data or open web addresses. Most readers limit them, but removing them is the safest way to pass a file on, especially one that came from someone else.
Will the document look different?
No. Sanitizing removes things that aren't part of the page drawing. Links stop being clickable, and forms keep working unless you choose to flatten them.
Is this the same as redaction?
No. Sanitize removes hidden extras, not what you can see. To remove words or areas shown on the page, use Redact PDF.
What counts as hidden data?
Document properties (author, title, software, dates), the XMP metadata packet, metadata on single pages, page thumbnails, and private data that editors such as Illustrator store inside the file.
Does it work on signed or protected files?
A file with an open password must be unlocked first. A digital signature stops verifying after sanitizing, as after any change, so sanitize before you sign.
Security
Sign, lock, unlock and black out.
- Sign PDFDraw, type or upload your signature and place it on pages.
- Protect PDFEncrypt a PDF with a password and set permissions.
- Unlock PDFRemove the password from a PDF you can open.
- Redact PDFPermanently black out text and areas. Hidden content is removed, not covered.
- Compare PDFSee what changed between two versions, in text and side by side.
- Check PDF signaturesSee who digitally signed a PDF, whether the signature is intact, and whether the file changed after signing.