🇬🇧WebFileTools/PDF JavaScript Inspector
Blog🇫🇷 French

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

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