Remove hidden data from a PDF
Strip comments, attachments, scripts and old versions
Strip comments, attachments, scripts and old versions
A PDF can carry more than you see: comments with author names, attached files, filled-in form values, scripts, switched-off layers and older saved versions of the text. This tool lists what it finds in your file and writes a clean copy without the items you choose. It runs on your device, so the file is never uploaded.
You get a count for each kind of hidden data and tick what to remove. Metadata, comments, attachments, form fields, scripts and hidden layers are ticked by default; links and bookmarks are not. Earlier saved versions are always dropped because the new file is written from scratch. Pages that use hidden layers become images, and one option rebuilds every page as an image to also remove text hidden under shapes. DocPro then reopens the new file and checks that the selected items are gone. It is not a certified sanitizer, so look through the result before you share it.
Metadata, comments and annotations, attached files, form fields and their values, JavaScript and automatic actions, bookmarks, links, hidden layers and earlier saved versions.
Pages that use a layer which is switched off are rebuilt as images of what is visible, so the hidden content is no longer in the file. The layer settings are then dropped.
Only if you tick Rebuild every page as an image. Otherwise the text stays in the page. To black out text on purpose, use Redact PDF.
No. The file is read, cleaned and saved in your browser and never leaves your device.
Not for most files. Pages look the same unless you remove form fields, which also removes the typed values, or rebuild pages as images, which makes the text unselectable.
Yes. The file is written again, so a signature on it is no longer valid. Clean a copy and keep the signed original.