Skip to content
AST Explorer

AST Explorer

v1.0

Paste JavaScript or JSON and browse its parsed syntax tree. Click a node to find its source, or click in the source to find its node.

Runs locally — nothing leaves your browser.

Standard JavaScript, including the newest syntax. TypeScript and JSX are not supported.
Source
Syntax tree29 nodes

Just need to format or validate JSON? Try JSON Formatter →

Matching text rather than parsing code? Try Regex Tester →