When to use Format
You copied a response from the Network panel, pulled JSON from a log, or a coworker sent minified text. Format is for readability. It does not change business meaning.
JSON Tools for AI Developers · Runs locally
Natural language generation · Schema · Zod · OpenAPI · Function Calling · MCP · 30+ tools
Expand a one-line API response so you can read it, or minify it back for transport. Format, minify, validate, and sort keys all run locally.
When you debug an API, the backend often returns minified JSON. Nesting is hard to see and array items are easy to miss. Paste on the left, click Format, and the right pane indents it.
Indent can be 2 spaces, 4 spaces, or Tab. When you need to compare key order, Sort keys first, then copy. Syntax errors show in the status bar — no extra validator.
Data is handled in this browser only. Good for responses that contain tokens, user profiles, or internal fields.
You copied a response from the Network panel, pulled JSON from a log, or a coworker sent minified text. Format is for readability. It does not change business meaning.
Minify strips extra whitespace so you can drop JSON into a URL, env var, or size-sensitive body. Sort keys reorders object keys alphabetically so a text Diff is easier — don't treat that order as a stable API contract.
A few MB usually feels smooth, depending on browser memory. Huge files belong on a CLI.
No. It only adjusts whitespace and optional key sorting. Numbers, strings, and booleans stay the same.
If validate or format fails, the status bar shows the error location. The original is not overwritten.
No. Everything stays local. Refreshing the page does not sync your input to the web.
Standard JSON allows neither. Clean or Repair first, then come back to Format.
Yes. Minify only removes whitespace. Format expands it again with your indent.
Array order stays put. Only object keys are reordered.
Use this page to edit text and copy a pretty result. Use Tree view to scan hierarchy.