Visualize JSON files as interactive node graphs directly inside VS Code.
JSON Visualizer helps you inspect nested payloads faster, expand escaped JSON strings in place, and export the result when you need to share or document a structure.
Features
Open a graph view for any .json file from the editor title bar
Explore nested objects and arrays with a zoomable, pannable layout
Parse escaped JSON strings without leaving the preview
Hide, unhide, collapse, and expand nodes from the node context menu
Export the current graph as PNG
Export the current structure as YAML
Quick Start
Install JSON Visualizer from the VS Code Marketplace.
Open any .json file in VS Code.
Click Preview JSON in the editor title bar.
Explore the graph and use the controls to zoom, fit, or export.
You can also open the preview from the Command Palette with Preview JSON.
Screenshots
Basic object visualization:
Deep nested data:
Escaped JSON parsed inside the preview:
Typical Workflow
Open a JSON document.
Launch Preview JSON.
Move around the graph with pan and zoom controls.
Right-click nodes to simplify the view.
Expand string values that contain nested JSON.
Export the final result as PNG or YAML.
Requirements
VS Code 1.96.0 or newer
Commands
Preview JSON: Open the visual preview for the active JSON file
Privacy
JSON Visualizer does not send your JSON anywhere. Rendering, parsing, and exports stay local in VS Code.