Sanitize PDF
Rebuild a PDF clean: document metadata is cleared, embedded file attachments, JavaScript, open actions, outlines and annotations are removed. Page content is copied unchanged.
About this tool
PDFs collect invisible extras: author metadata, embedded attachments, JavaScript, open actions, comments and form data. This tool rebuilds each file from clean page copies so none of that survives, and reports exactly what was stripped from each document.
The rebuilt file is a reading copy — page content is copied pixel-for-pixel and text stays selectable — but forms, outlines and attachments are gone by design. Keep the original when you still need them.
How to use Sanitize PDF
- Choose up to 20 PDF files (20 MB each).
- Run — each file is rebuilt from clean page copies and the result card lists exactly what was removed.
- Download the sanitized PDFs.
Keep the original files and inspect the exported result before publishing or sharing it.
Frequently asked questions
What exactly is removed?
Title/author/subject/keywords/creator metadata, embedded file attachments, JavaScript actions, the open action, the bookmark outline and all annotations (comments, highlights, stamps, link boxes).
What happens to form fields?
They are removed too — a sanitized copy is a clean reading copy, not a fillable form. Keep the original if you still need to fill it.
Is page content changed?
No. The drawn content of every page is copied exactly; text stays selectable and images keep their resolution.
Does this remove viruses?
It removes the usual PDF-carried extras listed above, which covers embedded scripts and attachments. It is a hygiene tool, not an antivirus scan.
Related tools
- Markdown ↔ HTML converter — Convert Markdown and HTML locally with a sanitized, isolated preview and downloadable output.
- PDF merge, extract and image to PDF — Combine PDFs, extract selected pages, or assemble PNG and JPEG images into a PDF locally.
- DOCX to text or Markdown — Extract readable text or Markdown from Word DOCX files in your browser.
- Compress PDF — Re-save PDFs with compressed object streams to reduce file size. Everything runs in your browser; files are never uploaded.
- Split PDF — Split a PDF into separate files by page ranges such as 1-3, 5-8. Runs entirely in your browser.
- PDF to Word — Extract text from PDFs into an editable Word (.docx) file. Runs entirely in your browser.
- Word to PDF — Convert Word (.docx) documents to PDF in your browser. Best-effort formatting.
- PDF to Image — Render each PDF page to a JPG or PNG image at up to 3x resolution, entirely in your browser.
- Fill PDF Form — Fill in the fields of a PDF form in your browser and flatten them into the page, so the completed form cannot be edited accidentally.
- Rotate PDF — Fix sideways or upside-down PDF pages: rotate every page, or only the ranges you pick, by 90, 180 or 270 degrees.