Parse JavaScript into its Abstract Syntax Tree and explore every node interactively.
Click "Parse AST" to explore the syntax tree
Paste JavaScript, TypeScript, CSS, HTML, or JSON code and explore its Abstract Syntax Tree (AST) interactively. Click any node in the tree to highlight the corresponding source code. Choose from multiple parsers including Babel, Acorn, TypeScript, and PostCSS. Indispensable for writing codemods, ESLint rules, Babel plugins, and understanding how parsers work.