Skip to content
MyPDF.my

Sanitize PDF: help and common problems

Remove JavaScript, actions, embedded files, metadata and hidden layer settings from a PDF in one click, and see what was taken out.

Open Sanitize PDF

How to use Sanitize PDF

  1. 1.

    Choose your PDF

    Pick the PDF to clean before you share or publish it.

  2. 2.

    Sanitize

    Press "Sanitize PDF". JavaScript, actions, embedded files, metadata and hidden layer settings are taken out.

  3. 3.

    See what was removed

    The result lists what was removed, then download the clean PDF.

Common problems and fixes

My PDF asks for a password or says it is locked

Sanitize PDF cannot read a PDF that needs a password to open. If you know the password, remove it first with Unlock PDF, then come back. A PDF that only blocks printing or copying can usually be used as it is.

Open Unlock PDF

The file is very big, and it is slow or stops

Everything runs on your own device, so a big file needs its memory. Close other tabs and apps, or use a computer. Files over 100 MB take longer. You can also split a long PDF with Split PDF first and join the results afterwards with Merge PDF.

Open Split PDFOpen Merge PDF

Tips for using it on a phone

Tap the upload area and choose the file from Files, Google Drive or your gallery. Keep the screen on and the browser in front until the result is ready, because a phone may pause a page in the background. The result is saved in Downloads (the Files app on an iPhone).

Nothing happens, or I see an error

Reload the page and try again in an up-to-date Chrome, Edge, Safari or Firefox. If the PDF is damaged, try Repair PDF first. If it still fails, tell us through the Contact page, without sending the file unless you are happy to share it.

Open Repair PDF

What happens to your files

  • Your file is opened and processed by your own browser, on your device. It is not uploaded to MyPDF’s server.
  • When you close or reload the tab, the file and the result are gone from the page. Only what you download is kept.
  • OCR and a few other tools download their engine or language data the first time. Your documents still stay on your device.
  • Documents you keep in the Workbench are saved only in this browser, and are deleted after 7 days unopened.

All help topics · Contact us