Format & Minify
Pretty-print messy JSON with clean indentation, or compress it to a single line to save space. Output is syntax-highlighted with line numbers.
Compare two JSON documents structurally and see exactly what was added, removed, or changed.
JSONwiz is a fast, privacy-first workspace for reading, fixing, and transforming JSON right in your browser. Paste JSON into the panel above — valid or broken — and format it, validate it, repair it, explore it as a tree or table, query it with jq or JSONPath, convert it to other formats, and generate code from it. Everything runs locally on your device: your data is never uploaded to a server, and there is no sign-up required. The tools are built to handle large, multi-megabyte files that normally freeze other online editors.
Every button in the toolbar maps to a focused tool. Here is what each one does:
Pretty-print messy JSON with clean indentation, or compress it to a single line to save space. Output is syntax-highlighted with line numbers.
Instantly check whether your JSON is valid. If it isn't, JSONwiz shows the exact error with the line and column and highlights the break point in the editor.
One click fixes the most common problems: trailing commas, single quotes, unquoted keys, and missing brackets. It can recover the valid part of a truncated file and detect NDJSON (newline-delimited records), turning it into a proper array. Added characters are boxed so you can see exactly what changed.
Explore deeply nested data as a collapsible tree — it works even when the JSON is invalid, and stays fast on very large documents.
Turn an array of objects into a sortable, Excel-style table, and export it as a Markdown table with one click.
Filter and reshape data with a live query bar using
either jq (e.g. .users[] | select(.active)) or JSONPath (e.g. $.users[*].id).
Convert a JSON sample into strongly-typed code: TypeScript interfaces, Go structs, Python classes, or Rust structs — plus JSON Schema.
Paste a JSON Schema and check your data against it, with clear messages for every field that fails.
Compare two JSON documents structurally and see exactly what was added, removed, or changed, by path.
Convert JSON to and from YAML, CSV, TOML, and XML.
Sort keys alphabetically, remove duplicate array items, or flatten and un-flatten nested objects into dot-notation.
Decode a JWT (showing its header and payload), Base64, or gzip payload into readable JSON.
Encode your document into a shareable URL — no account or server storage needed. Anyone who opens the link sees the same JSON.
Your edits are snapshotted automatically and saved locally, so you can roll back to an earlier version at any time.
.items[].name in the query bar.JSONwiz processes your JSON entirely in your browser using local code and Web Workers. Your data is not sent to, stored on, or logged by any server. Nothing leaves your device unless you deliberately create a share link (which encodes the data in the URL you choose to share). There is no account and no tracking of your JSON content.
$.a.b[0]. JSONwiz supports both.