1. Home
  2. Developer
  3. JSON Graph Viewer & JSONPath

JSON Graph Viewer & JSONPath

Explore JSON, YAML, and XML as an interactive node graph and run live JSONPath queries.

Runs in your browser · No upload
- ${1}$.store (Copy JSONPath)store:Object{5}- store{5}$.store.name (Copy JSONPath)name:"Toolulah Tech Shop"$.store.currency (Copy JSONPath)currency:"USD"$.store.open (Copy JSONPath)open:true$.store.products (Copy JSONPath)products:Array[4]$.store.shipping (Copy JSONPath)shipping:Object{3}- products[4][0]{5}$.store.products[0].id (Copy JSONPath)id:"P-101"$.store.products[0].title (Copy JSONPath)title:"Insulated Tumbler"$.store.products[0].category (Copy JSONPath)category:"gear"$.store.products[0].price (Copy JSONPath)price:24$.store.products[0].inStock (Copy JSONPath)inStock:true[1]{5}$.store.products[1].id (Copy JSONPath)id:"P-102"$.store.products[1].title (Copy JSONPath)title:"Ergonomic Mouse"$.store.products[1].category (Copy JSONPath)category:"tech"$.store.products[1].price (Copy JSONPath)price:49$.store.products[1].inStock (Copy JSONPath)inStock:true[2]{5}$.store.products[2].id (Copy JSONPath)id:"P-103"$.store.products[2].title (Copy JSONPath)title:"Aluminum Laptop Stand"$.store.products[2].category (Copy JSONPath)category:"tech"$.store.products[2].price (Copy JSONPath)price:19$.store.products[2].inStock (Copy JSONPath)inStock:false[3]{5}$.store.products[3].id (Copy JSONPath)id:"P-104"$.store.products[3].title (Copy JSONPath)title:"Desk Mat XL"$.store.products[3].category (Copy JSONPath)category:"office"$.store.products[3].price (Copy JSONPath)price:12$.store.products[3].inStock (Copy JSONPath)inStock:true- shipping{3}$.store.shipping.freeOver (Copy JSONPath)freeOver:35$.store.shipping.express (Copy JSONPath)express:true$.store.shipping.regions (Copy JSONPath)regions:Array[3]regions[3]$.store.shipping.regions[0] (Copy JSONPath)[0]:"US"$.store.shipping.regions[1] (Copy JSONPath)[1]:"EU"$.store.shipping.regions[2] (Copy JSONPath)[2]:"APAC"
Continue in another toolOpens your current file locally without uploading

About JSON Graph Viewer & JSONPath Explorer

Deeply nested API payloads and configuration files in JSON, YAML, or XML are hard to inspect as raw text. JSON Graph Viewer transforms structured data into an interactive left-to-right SVG node graph and a searchable collapsible tree, highlights live JSONPath filter matches, and exports crisp vector SVG or 2x PNG diagrams locally in your browser.

Key Capabilities

Feature Details
JSON, YAML & XML input Parses JSON, YAML (js-yaml), and XML with prototype-safe sanitization, 5 MB size cap, and 64-level depth protection
Interactive SVG node graph Drag to pan, zoom in/out/fit, click node headers to collapse subtrees, and inspect color-coded primitives
One-click JSONPath copy Click any row in the graph or tree to copy its canonical JSONPath (such as $.store.products[0].price)
Safe JSONPath evaluator Pure recursive-descent engine supporting $, .. recursive descent, * wildcards, [start:end:step] slices, unions, and [?(@.price < 30 && @.inStock == true)] filters
SVG, 2x PNG & JSON export Download Light or Dark SVG diagrams, 2x high-DPI PNG images, formatted JSON, or JSONPath match subsets
Local auto-save & handoffs Auto-saves workspace drafts locally per studio and hands off JSON directly to related developer tools

Useful JSONPath Query Patterns

  • $.store.products[*].title: Extract every product title across an array
  • $..price: Recursively find every price field at any nesting depth
  • $.store.products[?(@.price < 30 && @.inStock == true)]: Filter objects using numeric and boolean predicates
  • $.store.products[0:2]: Slice the first two items from an array

Continue working on parsed payloads in one click using JSON Diff, JSON to TypeScript, JSON to Table, or Local SQL Workbench.

FAQ

How does it handle very large payloads? To keep pan and zoom responsive, the visual graph caps rendered nodes at 1,200 with a clear banner, while the JSONPath evaluator still searches the full parsed document so you can extract the exact slice you need.

Are production API payloads or YAML configs sent to a server? No. Parsing, JSONPath evaluation, graph layout, and SVG/PNG rendering execute strictly inside your browser with zero external uploads.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.