Reveal any JavaScript embedded in a PDF so you can inspect it before trusting the file.
Extract any JavaScript embedded in a PDF into a text file you can read. PDFs can run scripts when opened — a common malware vector — so this lets you inspect exactly what a file contains. To strip the scripts, use the Sanitize tool. Files are analysed securely and never stored.
Upload your file using the tool above.
Adjust any settings to your preference.
Click the process button and wait for results.
Download your output using the download button.
For interactive forms — validating a field, calculating a total, showing a section when a box is ticked. The capability is legitimate and widely used in business forms. The problem is that the same mechanism can run code the moment a document opens.
No. Any interactive form is likely to contain scripts, and most are entirely benign. What matters is what the code does — validation logic looks quite different from something reaching for external resources or attempting to launch a file. Inspecting is how you tell.
Do not open the document in a reader that executes scripts. Run it through PDF Sanitize to strip the JavaScript, leaving the pages readable but inert — you lose interactive form behaviour, which is a reasonable trade for a file you did not expect to receive.
Yes, Show PDF JavaScript is completely free. No signup, no account, and no watermark on outputs. A Pro tier is available for 100 AI ops/day and larger file sizes.
Show PDF JavaScript uploads your file over an encrypted connection to our own processing server, converts it, and returns the result. The file is deleted immediately after processing and is never used for anything else. It is not sent to any third party, and we keep no copies.
Drop a PDF to reveal its JavaScript
Extract any embedded JavaScript so you can inspect it
Drop your file into the stage to begin.
Why it matters: PDFs can carry JavaScript that runs when opened — a common malware vector. This lets you see any embedded scripts before trusting a file. To remove them, use the Sanitize tool.
Privacy: Your PDF is analysed over an encrypted connection, in memory, and deleted immediately after — never stored.