PDF JavaScript Inspector
Extract and analyze JavaScript scripts embedded in your PDFs (document, AcroForm, XFA). Automatic detection of common errors. 100% browser-based.
🔍
Drop a PDF here or click to browse
PDF uniquement
Proof of local processing
This tool is classified as local in the WebFileTools registry: processing is expected to stay inside your browser.
- •The page is declared as local in the public tool catalog.
- •No server-side storage is announced for this processing flow.
- •The easiest verification is to monitor the Network panel while it runs.
How to verify it yourself
- 1Open your browser developer tools and switch to the Network panel.
- 2Run the processing flow with a test file.
- 3Confirm that no upload request containing your file is sent to WebFileTools.
You use this tool often? Pro includes files up to 500 MB and priority processing.
What is PDF JavaScript Inspector?
WebFileTools PDF JavaScript Inspector extracts and analyzes all scripts embedded in a PDF to help you diagnose runtime errors.
How to use this tool?
Import your PDF, the tool analyzes its structure and lists each script with its source, trigger, and any automatically detected issues.
Benefits
- Extracts document + AcroForm + XFA scripts
- Detects common errors
- 100% browser (pdf-lib)
- Free
Frequently Asked Questions
- What types of scripts are extracted?
- Document-level JavaScript (Names > JavaScript), AcroForm field actions (calculate, validate, format, keystroke), and XFA scripts embedded in the XML template.
- What causes the 'Form.root.view is null' error?
- This error occurs in newer versions of Adobe Acrobat when a document-level script calls Form.init() or Form.build() at open time — the XFA view is not yet initialized at that point.
- Is the PDF sent to a server?
- No, all processing happens entirely in your browser. No data is transmitted.
- How can I fix XFA scripts in Acrobat Pro?
- Adobe Acrobat Pro does not allow editing XFA scripts directly. You need Adobe LiveCycle Designer or AEM Forms Designer to edit dynamic XFA forms.
Similar Tools
PDF Metadata Editor
Edit the title, author, subject, keywords, and dates of a PDF file. 100% browser-based via pdf-lib. Free.
Use →Annotate a PDF
Add text annotations to your PDF pages. Customizable color, size, and position. Free, 100% in the browser.
Use →PDF to Text
Extract raw text from a selectable PDF. Preview, copy, and export as .txt. Free online tool.
Use →