Skip to main content

AST Explorer

v1.0.0

Parse and visualize JavaScript/TypeScript/JSON abstract syntax trees

Parses JSON, JavaScript, or TypeScript source code into an Abstract Syntax Tree and displays it as an interactive, collapsible node tree for inspection.

How to use
  • Select a language (JSON, JavaScript, or TypeScript) and paste your code into the left panel.
  • Click Parse to generate the AST tree — expand or collapse nodes to explore the structure.
  • Try a preset from the example picker to see sample input for each supported language.
Parsed AST will appear here