Dev

JSON Visualizer

Explore, format, repair, and filter JSON payloads as a collapsible tree or CSV table locally in your browser.

Local RAM parser
Raw JSON Input
Awaiting JSON input
0 B • 0 Nodes
Interactive Visualizer
Awaiting JSON Data
Paste or type JSON on the left to render an interactive collapsible tree view.
Tabular Grid View
No Array Dataset Found
Table view generates automatically when your JSON contains an array of objects.
// Formatted JSON will appear here...
0
Total Nodes
0
Max Depth
0 B
Payload Size
0
Arrays
0
Objects
0
Primitives

Data Type Breakdown

No JSON parsed yet.
Visualizer & Formatter Preferences (2 Spaces • Expand All • Natural Order)
Indentation Spacing
Default Tree Expansion
Key Ordering
Node Metadata Badges
How It Works

How to Use JSON Visualizer in 3 Steps

1

Paste or Upload JSON

Paste an API response or configuration payload into the left editor, or upload a .json file from your device.

2

Explore Tree and Table

Expand or collapse nested branches, filter keys and values in real time, or switch to Table view for object arrays.

3

Copy Paths and Export

Hover over any node to copy its exact JSONPath, or click Download and Export CSV to save your data.

Productivity Reference

Visualizer Features & Controls

Feature / Control Action Description
Tree Node Chevron Toggle Branch Expand or collapse nested objects {} and arrays [] while keeping child branch states intact.
Live Filter Bar Search Keys and Values Filter matching keys or primitive values across every level and unfold matching parent branches automatically.
Path Copy Button Copy Node Path Copy JavaScript dot-and-bracket notation such as data.items[2].price directly to your clipboard.
Auto-Repair Fix Syntax Errors Quote bare keys, convert single quotes to double quotes, strip comments, and remove trailing commas.
Table View Flatten Object Arrays Convert an array of objects into a spreadsheet grid with dotted nested headers and one-click CSV export.
FAQ

JSON Visualizer: Frequently Asked Questions

Is my JSON uploaded anywhere?

No. Parsing, formatting, tree rendering, and CSV export run locally in JavaScript inside your browser. API responses and tokens never leave your device.

What does Auto-Repair fix?

Auto-Repair fixes single-quoted strings, unquoted keys, trailing commas, comments, and curly quotes. Always review the repaired output because truncated payloads cannot be recovered.

How do I copy the path to a value?

Hover over any node in Tree view and click the path icon. It copies a JavaScript path like data.items[2].price to your clipboard.

How large a JSON file can I open?

The formatter handles multi-megabyte files locally. Set Default Tree Expansion to "Collapsed" in Preferences before opening payloads with hundreds of thousands of nodes.

How does CSV export work?

Table view flattens an array of objects into rows and converts nested keys into dotted column headers. Click Export CSV to download that grid.

How do I sort object keys alphabetically?

Key Ordering defaults to "Original" to preserve your input order. Select "A-Z Sorted" in Preferences to sort keys alphabetically at every nesting level.

Toolity Dev

Explore All Dev Tools

Format, minify, inspect, and validate code and developer payloads locally.

Copied to clipboard