JSON Viewer & Formatter
Explore, format, validate, and analyze JSON locally in your browser with an interactive tree, instant search, tables, and statistics.
JSON Input
{
"paste": "your JSON here"
}
100% Client-Side & Private
Your JSON never leaves the browser. Parsing, formatting, searching, and export all happen locally.
Related tools
- JWT, Base64 & URL DecoderDecode JWT header, payload and expiry, and encode or decode Base64 (UTF-8, URL-safe) and URL strings locally.
- DeepSeek Peak Hours & PricingTrack DeepSeek API peak vs. off-peak hours in your local timezone with interactive timeline, live countdowns, and token pricing.
From the same maker: MarkdownMate - a fast Markdown notes app for Mac.
Frequently asked questions
- Is my JSON sent to a server?
- No. Parsing, formatting, searching and CSV or JSON export all run in your browser, and an imported file is read on your device. Nothing you paste is uploaded or stored.
- How large a JSON document can it handle?
- Live analysis works on documents up to 1,000,000 bytes (about 1 MB). Above that the editor stays editable so you can trim the text, but the tree, table and statistics pause until it is back under the limit. Imported or dropped files must be .json, .geojson or .txt and at most 10 MB; other types and larger files are rejected with a message. You can also paste JSON or load the sample.
- Can it fix invalid JSON?
- The Repair button tries common fixes: it removes comments and trailing commas, unwraps JSONP callbacks and drops anti-hijacking prefixes such as )]}', turns single and curly quotes into double quotes, quotes bare keys, converts Python True, False and None, rewrites JavaScript numbers like .5, +1 and 0xFF, writes line breaks and tabs inside strings as \n and \t, adds missing commas, and removes extra closing brackets. For a document cut off midway, it closes the open string, finishes or drops the last unfinished value and closes the brackets. Text inside strings is otherwise left exactly as it is. It is a best effort, so check the result.
- When can I use the table view and CSV export?
- When the root, or one of its properties, is an array of objects. Each object becomes a row you can filter, sort and export as CSV. Long tables show the first 500 rows, with a button to show 500 more; filter, sort and CSV export always cover every row. Arrays of plain values and mixed shapes stay in the tree and code views.
- Can I paste JSON Lines (NDJSON) or logs?
- Yes. When every non-empty line is a JSON value of its own, as in logs, BigQuery or MongoDB exports and batch files, the lines are read into one array. Blank lines are skipped, and if a line is broken the error names its line number.
- Can I search by JSONPath?
- Yes. Type a query starting with $, such as $.users[0].name, $['a b'], $.items[*].id or $..email, or paste one copied with Copy JSONPath, and the viewer jumps to every matching node. Filters like ?(...) are not supported.