JSON Editor
A real code editor with syntax highlighting, line numbers, folding and bracket matching. Paste anything — invalid JSON is auto-fixed on format.
{ } docs
Everything about formatting, validating, and exploring JSON — the views, the syntax, the shortcuts, and the answers to common questions.
// quick start
Drop raw, minified or even slightly broken JSON into the editor — or use Open / Paste.
Click Format (or press Cmd/Ctrl + Enter). Invalid JSON is auto-fixed where possible.
Switch tabs to view your data as a tree, graph, stats dashboard, diff, search or map.
Copy to the clipboard or download a .json file with Cmd/Ctrl + S.
// shortcuts
// why use it
Beautify minified or messy JSON in one click with clean, consistent indentation.
Catch syntax errors instantly with clear, located messages while you type.
Trailing commas, single quotes and unquoted keys are repaired automatically.
Everything runs in your browser. No servers, no tracking, no data ever leaves your machine.
// the workspace
A real code editor with syntax highlighting, line numbers, folding and bracket matching. Paste anything — invalid JSON is auto-fixed on format.
Explore JSON as a collapsible tree. Expand/collapse nodes and edit any key or value inline by clicking it.
A hierarchical node graph of your data. Click nodes to expand or collapse branches; zoom, pan, and fit to screen.
An analytics dashboard: total keys, values, depth, minified size, type distribution, nesting depth and most-frequent keys.
Compare two JSON documents side by side. Differences update automatically with a git-style added / removed / modified breakdown.
Search keys and values across the whole document, filter by type, and surface quick insights about your data.
Plot geographic data on an interactive map — GeoJSON, lat/lng pairs, or coordinate arrays are detected automatically.
// valid json
JSON is strict. Most “broken” JSON comes from JavaScript or Python habits. These are the rules — and our formatter fixes the common slips automatically.
{ "name": "Ada" }"hello"[1, 2, 3]true · 42 · null—// auto-fix
{ 'a': 1 }{ "a": 1 }{ a: 1 }{ "a": 1 }[1, 2, ][1, 2]{ "ok": True }{ "ok": true }// questions
A tool that takes raw or minified JSON and re-indents it with line breaks so it is easy to read. Ours adds 2/4-space or tab indentation, organizes nested structures, and syntax-highlights the result.
JSON (JavaScript Object Notation) is a lightweight, language-independent data-interchange format that is easy for humans to read and for machines to parse.
Yes — completely free and open source, with no signup, no ads, and no limits.
Absolutely. All processing happens 100% locally in your browser; nothing is ever uploaded, so it is safe for confidential data.
Yes. The smart fixer repairs common mistakes — trailing commas, single quotes, unquoted keys and Python-style literals — when you format.
Validation runs as you type. The status bar shows valid/invalid plus node count, depth and size at a glance.
Explore data in Tree and Graph views, analyze it in Statistics, compare two documents in Diff, search and filter, and plot geographic data on a map.
// more json tools
A free, open-source tool for developers. Format, validate, and explore JSON instantly — every byte is processed locally in your browser, so your data never leaves your computer.
View source on GitHub