All tools

Sanitize PDF

PRO

Strip hidden data from a PDF (metadata, scripts, attachments, and form fields) and flatten annotations onto the page, while leaving the visible content as it is. Everything runs in your browser, so the file never leaves your device.

Files stay local
Pro tool. Try it once free (the output gets a watermark), or get every tool for $19. Get Pro for $19

Drop PDF files here

or click to browse

Sanitize PDF clears out the data a PDF carries that you can't see on the page: author names and software tags in the metadata, JavaScript, attached files, and form fields. Comments and other annotations are not deleted. They are flattened onto the page, so they stay visible. The pages themselves look the same as before. Reach for it before you email a contract, upload a document to a portal, or post a PDF publicly, when you want what's on the page and nothing behind it.

How to use Sanitize PDF

  1. 1Drop your PDF into the upload area or click to pick a file.
  2. 2The tool scans for metadata, scripts, attachments, and form fields.
  3. 3Click Sanitize to strip the hidden data.
  4. 4Download the cleaned PDF, which looks the same but carries none of the hidden content.

Why use Sanitize PDF

  • Removes the things people forget about: author and company names, the app that made the file, and the XMP metadata that Word and other editors add.
  • Leaves the visible content alone. Pages, text, and images render exactly as before, so you don't have to re-check the layout.
  • Kills active content like embedded JavaScript and attached files, which is the part of a PDF that can actually do something on a reader's machine.
  • Runs entirely in your browser. A document you're sanitizing for privacy reasons never gets uploaded to a server in the process.

Common uses for Sanitize PDF

  • You're sending a quote or contract you built from an internal template and don't want the recipient reading your company name or the original author out of the file.
  • A government or job portal asks you to upload a PDF, and you'd rather not hand over the metadata and any embedded files riding along with it.
  • You're publishing a report or whitepaper online and want to clear scripts, attachments, and authoring details before it's out where anyone can inspect it.

Frequently Asked Questions

What does sanitizing actually take out of a PDF?
It strips the hidden layer: metadata, embedded JavaScript, attached files, and form fields. Annotations such as comments are flattened onto the page, so they stay visible. None of the hidden items show on the page, but they all travel with the file until you remove them.
Why bother sanitizing before I share a PDF?
PDFs quietly carry things you may not want out: author and company names, the software that made the file, and attached files. Sanitizing clears that out before it reaches anyone else. It does not edit the images placed in the file.
Will it change how the document looks?
No. Only hidden and non-visible data is removed. The text, images, and layout on every page stay exactly as they were, so the cleaned file looks identical to the original.
Is sanitizing the same as redaction?
No. Redaction removes visible content you can see on the page. Sanitizing leaves the visible content alone and removes the hidden metadata, scripts, and embedded objects that aren't shown. Use redaction for visible secrets, sanitizing for hidden ones.
Can I undo it or get the original back?
The sanitized file is a new download, so your original is untouched on your device. The cleaned copy itself is final though: removed metadata, scripts, and attachments aren't stored anywhere and can't be pulled back out of it.
Does it remove the GPS location from photos inside the PDF?
No. It clears the document-level metadata and embedded objects, but it does not edit the images placed in the file. If a photo carries location tags of its own, remove them from the photo before you add it to the PDF.
Does sanitizing flatten or break my form fields?
Form fields are part of the hidden interactive layer, so sanitizing removes them. Any text already filled into the visible page stays, but the fillable fields themselves go. If you need the form to stay interactive, sanitize a flattened copy instead.
Is my file uploaded anywhere when I sanitize it?
No. The whole process runs locally in your browser. The PDF is read and rewritten on your own device, so a document you're cleaning for privacy reasons never gets sent to a server to do it.

Related guides

Related tools