Remove JavaScript
Runs in your browserFind and strip embedded JavaScript and auto-run actions. Fast, free and private.
Drag & drop PDF files here
or click the button below to choose files
PDF · One or many files (batch) · Up to 500 MB · Processed on your device
Good to know
Private by designFiles are processed on your device and never uploaded.
No limits on useFree, unlimited, no sign-up and no watermark.
Chain toolsSend the result straight into another tool.
How to use Remove JavaScript
- 1Add your PDF filesDrag and drop your PDF files into the box above, or click the button to choose a file from your device. Add several files to process them all with the same settings.
- 2Choose your settingsNo configuration is needed. The defaults are already optimized.
- 3Click “Remove JavaScript”Your new file is created instantly on your device. Download it, or continue with another tool such as Compress or Protect.
About Remove JavaScript
Remove JavaScript from a PDF wherever it hides: document-level scripts, page open and close actions, form field calculations and validations, and actions that run when the file opens. The tool shows what it found, then strips it and saves a clean copy. It’s a sensible step for an unexpected invoice from an unknown sender.
If the PDF is a form that used scripts for totals, formatting or validation, those features stop working, though you can still type into the fields. To remove attachments and metadata as well, use Sanitize PDF. Scripts are removed in your browser and never run, and the file is never uploaded, so it’s a safe first step with suspicious attachments.
- Input
- Processing
- On your device
- Price
- Free
- Account
- Not required
Related tools
Remove JavaScript FAQ
How do I know if my PDF contains JavaScript?
Open it here and any scripts or automatic actions are listed before anything is removed.
Will my form still work without JavaScript?
Fields can still be filled, but calculations, formatting and validation that relied on scripts won’t run.
How is this different from Sanitize PDF?
This removes scripts and auto-run actions only. Sanitize PDF also removes embedded files, metadata and XFA data.
Is Remove JavaScript free?
Yes. Remove JavaScript is free to use without an account, and no watermark is added to your result.
Are my files uploaded?
No. Remove JavaScript runs entirely in your web browser, so your documents never leave your device.