PDF Sanitizer
Sanitize PDF

Strip metadata, links and hidden data before sharing

Drop your PDF here

or click to browse — preview will load instantly

Sanitize PDF — Remove Metadata and Links

Clean the hidden details out of a PDF before it goes to someone else.

When you need it

A PDF carries more than the pages you can see. Most programs write the document title, the author name, the program used to make it, the dates of creation and change, and keywords into the file. A Word document exported to PDF often shows the name of the person who wrote it, and a file edited several times may keep an old title. Pages can also hold clickable links, such as tracking addresses in a marketing PDF. Before you send a file to a client, post it publicly or submit it for a review in which the author should not be known, it is worth clearing those details.

How it works

When you upload your PDF, our server first opens it with PyMuPDF and builds a report without changing anything: how many document information fields are filled in, how many links are on all pages, and whether an XMP block exists. That is what the report on this page shows. When you press the button, the file is uploaded again and the server empties the document information, deletes the XMP block, removes every link from every page, and saves a new copy with unused objects cleaned out and the data compressed. The page content is not edited.

Worked example

You wrote a proposal in a word processor and exported it to PDF. Its properties show your full name as the author, the name of your company template as the title and the program version as the producer. The proposal also has five links to a staging website. Upload it here and the report says 3 metadata fields, 5 links and one XMP block, nine items in total. After you sanitize, the properties are empty and the links no longer respond. The text of the proposal is exactly as before.

Tips

  • Check the result. Open the clean copy and look at the document properties in your PDF reader to make sure the fields are empty.
  • Keep the original. The links cannot be restored in the clean copy, so keep the first file for yourself.
  • Want to edit rather than erase? To set the title and author to values you choose, use Metadata Editor.
  • Add protection afterwards. Clean first, then lock the file with Protect PDF if it needs a password.
  • Locked file? If your PDF has a password, remove it first with Unlock PDF.
  • Hidden content in the pages. If a name is printed in the document itself, sanitizing will not remove it. Change the source document and export it again.

Limits to know about

The upload limit is 100 MB. The tool has exactly one job and one setting, so you cannot choose to keep the links but drop the metadata. It does not specifically search for embedded scripts, attached files or comments, and it does not look inside the pictures on the pages, so do not rely on it as a complete privacy check for a sensitive document.

How to Use Sanitize a PDF

1

Upload your PDF, up to 100 MB. The tool scans it straight away.

2

Read the report: it counts the metadata fields, the links and the XMP data that would be removed, and it lets you view the metadata fields.

3

If you are happy with the list, click Sanitize PDF. There are no other settings.

4

Wait for our server to write the clean copy.

5

Download the file, which is named sanitized_ followed by your original name.

6

Open it, check the pages look right, and look at its properties to confirm the author and title fields are empty.

Frequently Asked Questions

What exactly does Sanitize PDF remove?

Three things. The document information fields such as title, author, subject, keywords, creator and producer; the XMP metadata block, which is a second, XML-formatted copy of that kind of information; and every clickable link on every page. It then saves the file again, which also drops objects that nothing refers to any more.

What does it leave in place?

The pages themselves: their text, images and drawings, and everything visible. The tool only targets metadata and links, so it does not blank out text, hide names inside the pages or remove comments, attachments or scripts that may be inside the file. It is not a redaction tool.

Can I see what will be removed before I commit?

Yes. When you upload a file, the page shows a report with the number of metadata fields, the number of links and whether XMP data is present, and you can open the list of metadata fields and read their values. If the document is already clean it says nothing needs to be removed.

Do the links on the page stop being visible?

The link areas are removed, so clicking the text or button does nothing. The words themselves stay on the page, and a web address printed as text stays visible, but it is no longer clickable.

Will the file look different?

The pages should look the same. The saved copy is rewritten and compressed, so its size can change a little, and it may be smaller.

Is the metadata of a photo inside the PDF also removed?

The tool cleans only the metadata of the PDF itself. It does not open the pictures on the pages to clean their internal details. If you need that for a photo file, use Metadata Editor on the image before it goes into the PDF.

Is there a size limit?

Uploads can be up to 100 MB. The same limit applies to the scan and to the clean-up.

What happens to my file?

It is uploaded over an encrypted connection to our server twice: once for the scan report and once for the clean-up. Both times the server works in memory and returns the result without keeping the file. The site does load Google Analytics and advertising scripts, which receive page visits and not your documents.