Remove PDF JavaScript
Strip embedded scripts that run when a PDF opens, prints or is interacted with.
How to remove JavaScript from a PDF
Add your PDF
Drop the file onto the box or choose it from your device.
Remove and download
Press Remove JavaScript to strip embedded scripts, then save the cleaned PDF.
The visible pages are not changed.
When to use Remove PDF JavaScript
A PDF from an unknown source might run scripts when opened, and you want to switch that off before you share or open it.
A company policy requires files without embedded scripts before they are archived.
Tips for a better Remove PDF JavaScript result
Run it on files that came from outside your organisation before you open them in a full viewer.
Compare how the PDF looks before and after. It should be identical, because only scripts are removed.
Remove PDF JavaScript: limits and what to check
Interactive forms sometimes use scripts for calculations, and those features stop working afterwards.
If the file contains no scripts, the tool says so and nothing needs doing.
About Remove PDF JavaScript
Some PDFs include scripts that run when the file opens, prints or is clicked. They are rarely needed and can be a security risk. This tool removes them and leaves the visible pages as they are.
FAQs
Will the PDF still look the same?
Yes. Only the scripts are removed.
Could it break forms?
Some interactive forms use scripts for calculations. Those features will stop working.