Remove PDF JavaScript
Strip JavaScript actions from a PDF.
Remove embedded JavaScript and automatic actions from a PDF to reduce attack surface. Clean documents are produced locally in your browser.
How to use
01
Select a PDF
Choose the PDF to sanitize.
02
Remove
Click REMOVE. JavaScript dictionaries and open actions are stripped.
03
Download
Download the cleaned PDF.
Features
Strips JS dictionariesDocument-level JavaScript is removed.
Clears open actionsAuto-run actions on open are removed.
Content preservedPages and content stay intact.
LocalRuns entirely in your browser.
Privacy & security
JavaScript removal happens locally. The file never leaves your device.
Limitations
- Actions embedded in complex nested structures may not all be reachable via the standard catalog paths.
- For maximum safety, combine with Sanitize PDF and check the result in a viewer.
Frequently asked questions
Some forms and interactive documents use it — but it is also a common malware vector.
Most PDFs work fine without it; interactive forms may lose automation.
For documents from unknown sources, yes — it is a good hygiene step.
Yes, free with no limits.