Strip potentially harmful content from a PDF before sharing it — JavaScript, embedded files, external links, form fields, metadata, and annotations. Choose what to remove and download a safer copy. All processing stays in your browser.
Strip JavaScript, embedded files, external links, form fields, metadata, and annotations that may carry hidden or unwanted content.
Reduce the risk of scripts and embedded objects executing when the document is opened by others.
Tick exactly which items to remove and see a summary of what was cleaned from your file.
All processing happens locally in your browser. Files are never uploaded to any server.
Works on any device with a browser. No sign-up, no watermarks, and completely free.
Sanitizing a PDF removes content that is not needed for reading but could be risky, hidden, or unwanted. This includes JavaScript that can run when the file is opened, embedded file attachments, external links that point to websites, fillable form fields that may carry data, document metadata such as author and creation history, and annotations. Cleaning a document before sharing is good practice for privacy and security, especially when sending files to people you do not fully trust. The visible pages and their quality are preserved.
Sanitizing a PDF takes just a few steps. Everything runs in your browser.
Drag and drop a PDF file or click the upload area to select one.
Tick the items you want to strip: JavaScript, attachments, links, forms, metadata, or annotations.
Click Sanitize PDF. The tool scans the document and removes the selected content.
Check what was removed in the summary, then download the cleaned PDF.
Encrypted PDFs must be decrypted before sanitizing. Sanitization preserves the visible pages and their quality, but it removes the selected hidden content — so links and form functionality may stop working. Removing annotations also removes highlights, comments, and sticky notes. If nothing is listed as removed, your PDF did not contain the selected content. Only sanitize files you own or have permission to modify.