Publish a document on a website
Remove the author’s name, software details and scripts before offering a PDF as a public download.
Before publishing or sharing a PDF, remove the author and other metadata, JavaScript, automatic actions and hidden attachments, without changing how the pages look.
Your files are processed locally in your browser and are never sent to our servers.
Drop your file here
Recommended size: up to 100 MB
Sanitizing a PDF removes invisible or active elements the reader does not need: details about the author and the original software, JavaScript and actions that run when the file opens, files hidden inside the document. It is a clean-up to do before publishing a PDF on a website, passing it to a third party or uploading it to a platform. It runs in your browser and does not change the visible content of the pages.
Three clean-ups are offered, all checked by default. Remove metadata clears the title, author, subject, keywords, creator application and producer, and removes the XMP stream that often duplicates them. Remove JavaScript and automatic actions deletes scripts, the document’s open action and actions triggered by events or program launches.
Remove embedded attachments deletes the files attached at document level, which a reader does not always show. Text, images and layout are left untouched: the document looks exactly as before.
Sanitizing reduces information leaks and automatic behaviour, but it is not an antivirus: it does not check whether a file is malicious and does not fix flaws in a PDF reader. To see what a document contains before cleaning it, use Analyze PDF information.
Choose the document to clean before sharing it.
Leave all three boxes checked, or uncheck the ones you want to keep (attachments, for instance).
The new PDF looks the same, without the removed elements.
Remove the author’s name, software details and scripts before offering a PDF as a public download.
Neutralise the automatic actions of a PDF of unknown origin before passing it on.
Some portals reject PDFs containing JavaScript or attachments: clean them before uploading.
When you open the document properties in a reader, the Author, Producer and Creator fields are empty, and the script no longer runs.
Input
report.pdf with author “Mary Smith”, an XMP stream and a JavaScript open action; all three boxes checkedResult
Copy without author or producer, without XMP and without open action; identical pagesNo. Text, images and layout stay identical; only the checked elements are removed from the file structure.
Title, author, subject, keywords, creator and producer, plus the document’s XMP metadata stream.
No. It removes known active mechanisms but does not detect malicious files. Open doubtful documents with care.
Automatic calculations usually rely on JavaScript; once the script is removed, the fields can still be filled in but no longer calculate.
Rewriting the file generally invalidates an existing digital signature. Sanitize before signing, never after.
No. The clean-up runs in your browser, and the PDF never leaves your device.
Related tools
Tools similar or complementary to this one.
Edit or remove common PDF metadata directly in your browser.
Inspect pages, size, version, metadata, forms, annotations and active elements in a PDF.
Permanently hide sensitive areas by rebuilding the document.
Learn why covering text is not enough, how secure PDF redaction removes sensitive information and why sanitization matters before sharing.
A practical workflow for checking, merging, reordering, sanitizing, compressing and protecting a final PDF before sending it.
Understand why local processing matters for sensitive PDFs, what it reduces, and which privacy precautions remain necessary before sharing a document.
Understand how PDF files are structured, the difference between native and scanned PDFs, and the right operations for merging, reorganizing, converting or completing documents.