JSON Tools

JSON is the format developers touch most and trust least by eye. Minifying a payload before shipping it, comparing two responses to find what actually changed, sorting keys so a diff is readable, escaping a string that has to survive being embedded — all of it is mechanical, and all of it is error-prone when done by hand.

This category holds five JSON tools that each do one of those jobs. They run in your browser, so you can paste API responses and production payloads without sending them to a third party.

Minify, sort, and escape

Minify JSON strips whitespace when payload size matters. Sort JSON orders keys alphabetically, which is the step that turns an unreadable diff into a readable one — two objects with the same keys in different orders stop looking different.

Escape JSON handles the case where a JSON string has to live inside another string, adding or removing the escaping as needed. Stringify JSON converts JavaScript objects into JSON text.

Comparing two objects

JSON Compare takes two documents and reports the differences, including nested ones. It is the fastest way to answer "what changed between these two API responses" without reading both carefully.

That is a genuinely common debugging situation: an endpoint behaves differently between environments, and the payload is too large to eyeball.

Safe for real payloads

Because these run client-side, it is safe to paste responses containing tokens, user identifiers, or commercially sensitive fields. Nothing is uploaded.

If you are also formatting rather than transforming, the code formatters cover pretty-printing JSON alongside HTML, SQL, and YAML.

Frequently asked questions

Are the JSON tools free?

Yes. All five are free with no account and no size cap beyond your device memory.

Is my JSON uploaded?

No. Processing happens in your browser, so pasted payloads are not sent to a server.

Is there a payload size limit?

There is no artificial limit. Very large documents depend on your device's available memory.

Can I pretty-print as well as minify?

Yes. The JSON Formatter handles beautify and minify; see the code formatters category.