Share
Explore the AST of JS/TS/JSON/CSS code with switchable parsers — click nodes to highlight source.
AST will appear here.
Hover any node in the tree → corresponding range gets selected in the source. Switch parsers to compare ASTs. Auto-parses as you type. Babel handles JSX + decorators + TS syntax; TypeScript parser gives semantic kind names.
Paste JavaScript, TypeScript, JSON, or CSS and see its abstract syntax tree as a collapsible JSON viewer. Switch between parsers — Acorn, @babel/parser, and TypeScript — to compare how each tokenizes your source. Click any node to highlight the matching span in your code. Indispensable for writing codemods, ESLint rules, Babel plugins, or learning how parsers work.
Learn how to visualize and analyze the abstract syntax tree of your source code using various parsers.
Paste your code into the editor
Insert your JavaScript, TypeScript, JSON, or CSS code into the main input area to begin the analysis.
Select your preferred parser
Choose between parsers like Acorn, @babel/parser, or TypeScript to see how each specific engine tokenizes your source.
Explore the collapsible JSON tree
Navigate the generated abstract syntax tree in the viewer to inspect nodes, properties, and nested structures.
Click nodes to highlight source code
Select any node in the AST viewer to instantly highlight the corresponding span of code in the editor.
Analyze tokens for development tasks
Use the structural data to help you write custom ESLint rules, Babel plugins, or complex codemods.
Estimated time: PT2M
Share this tool
Encode and decode Base64 strings instantly.
Generate v4 UUIDs instantly, single or in bulk.
Explain any code in plain language — all languages supported.
Percent-encode or decode URL strings instantly.
Encode/decode HTML entities like < > &.
Convert Unix epoch timestamps to/from readable dates.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
Load and compare multiple URLs side by side in resizable iframes.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.
Convert Markdown to a fully customized, RTL-ready PDF.
Play local or online videos with HLS stream support, subtitles, playlist, and bookmarks.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Convert Markdown to a formatted Word .docx — live preview, RTL, tables, page setup, all client-side.
Buy social media marketing services — followers, likes, views and more.