Read the code before you trust the file
The download is plain text, so any text or code editor opens it. You can read what a script would do without opening the PDF in a reader that might run it.
or drop a file anywhere here
Files other than PDF are converted first. Signing in raises the size limit.
A PDF can carry JavaScript that runs inside a PDF reader, for example to show a message when the file opens. Show JavaScript pulls that code out so you can read it. You add one PDF and run the tool, and the code downloads as a text file with the .js extension. There are no options to set. The tool only reads: it does not run the code, judge it or remove it. A single file needs no account. To strip scripts from a document, Sanitize PDF has a Remove JavaScript option.
The download is plain text, so any text or code editor opens it. You can read what a script would do without opening the PDF in a reader that might run it.
The code arrives as its own .js file, apart from the document. You can attach it to a ticket, store it with an audit record or pass it to a colleague who reviews code.
Show JavaScript puts no boxes or menus in front of the run. Add the PDF, press Run Show JavaScript and the job starts.
After you remove scripts with another tool, send the cleaned PDF through Show JavaScript once more and compare the new download with the first one.
Drop the PDF you want to inspect on the upload box, or select Choose file.
No settings appear for this tool. Press Run Show JavaScript and wait for the progress bar.
Select Download to save the .js file, then open it in a text editor. Read it there and do not run it.

JavaScript in a PDF is not part of the visible pages, which is why a separate look is useful. This page gives you a direct way to take that look. It accepts one PDF and hands back the code as text, with no settings between you and the result. The download is a separate file, so you can review it with the tools you already use for code. One file runs without an account, the PDF is sent to indox over HTTPS, and free-tier uploads and their script files are deleted automatically within 24 hours after the job finishes. The tool stops at showing. Removing scripts is a different job, and this page tells you where to find it.

| What you see | Why | What to do |
|---|---|---|
| The download says the PDF does not contain JavaScript | No document-level script was found | Scripts on form fields or pages are not collected here. To remove all kinds, run Sanitize PDF. |
| The file opens as text, not as a PDF | The output is a .js file | Open it in a text or code editor, not in a PDF viewer. |
| You want the scripts gone | This tool only shows them | Run Sanitize PDF with Remove JavaScript ticked. |
| The file asks for a password | The page has no field for one | Remove it with Unlock PDF, then look at the open copy. |
An attachment from outside the company is flagged for review. Extract its scripts and read them as text before anyone opens the document.
A fillable form misbehaves and you need to see the code behind it. The .js file puts the scripts in an editor with search and line numbers.
You received a PDF you did not expect and want to know whether it carries code. Run it here first and look at what comes back.
Facts checked on October 16, 2026
No tool matches that search.
A text file with the .js extension that holds the JavaScript found in your PDF. You download it and open it in an editor.
No, it only shows them. Your PDF keeps its code. Sanitize PDF has a Remove JavaScript option for that job.
Open it in a text editor to read it. Do not double-click it or run it, because some systems treat a .js file as a program.
The download is a short text file with one line saying the PDF does not contain JavaScript. Only document-level scripts are collected, so scripts tied to form fields, buttons or pages are not listed.
No. The tool makes no judgment about the scripts. It hands you the text so that you or a specialist can review it.
None. You add a PDF and press Run Show JavaScript, and that is the whole procedure.
Remove the password first. Nothing on this page accepts one, so use Unlock PDF and then run the unlocked copy here.
It travels over HTTPS, and one file runs without an account. On the free tier, indox deletes the PDF and the script file automatically within 24 hours after the job ends.