JSON formatter
Pretty-print, validate and sort keys, with a JSONPath filter to grab subtrees.
Also known as: JSON beautifier, JSON validator, JSON viewer.
100% offline · macOS, Windows & Linux · free for personal use

// overview
What it does
JSON formatter is one of 55 tools in Hexkit, a desktop developer toolbox that runs entirely on your own machine. Pretty-print, validate and sort keys, with a JSONPath filter to grab subtrees.
Because Hexkit is a native app rather than a web page, anything you paste into the json formatter stays local — there are no uploads, no accounts and no telemetry. You can reshape configs and API payloads even with the network turned off, which makes it safe for tokens, keys and production data.
// steps
How to use JSON formatter
- 1
Open Hexkit and select "JSON formatter", or press the command-palette key and start typing its name.
- 2
Paste your JSON, YAML, CSV or other structured data. Pretty-print, validate and sort keys, with a JSONPath filter to grab subtrees.
- 3
Read or copy the result. Everything is computed locally by Hexkit's Rust core, so nothing is ever uploaded.
Tip: the command palette opens any tool in one keystroke.
// faq
Frequently asked questions
- Is JSON formatter free?
- Yes. JSON formatter is part of Hexkit, which is free for personal and non-commercial use on macOS, Windows and Linux.
- Does JSON formatter work offline?
- Completely. Hexkit runs every tool locally with no network access, so JSON formatter works on a plane or an air-gapped machine.
- Is my data uploaded anywhere?
- No. Hexkit makes no network calls and has no telemetry — whatever you paste stays on your computer.
- Can I format JSON without uploading it to a website?
- Yes — that's the whole point. Hexkit is a desktop app, so the JSON formatter runs entirely on your computer with no network requests. It's safe for production payloads and secrets.
- Does it validate and sort keys too?
- Yes. It validates as you type, reports the exact error location, can sort object keys alphabetically, and lets you pull out a subtree with a JSONPath expression.
// keep going
Related tools
Use JSON formatter without sending your data anywhere.
JSON formatter ships inside Hexkit — a free, offline developer toolbox for macOS, Windows and Linux. No account, no uploads.