crowned.tools

JSON Formatter

Pretty-print, validate and minify JSON. Errors show the exact line and column, and warnings flag numbers that would lose precision.

Saved in this browser only
Output

How it works

  1. 1Paste your JSON.
  2. 2Choose formatting or minifying, the indent, and whether to sort keys.
  3. 3Fix any errors shown, then copy or download the result.

Private by design

This tool runs entirely in your browser. Your files and text are never uploaded to a server. It keeps working even if you go offline after the page loads.

Questions

Is my JSON sent to a server?
No. It's formatted and checked in your browser. The text is kept in this browser's local storage so it's there next time; clear it from Settings.
Why does it warn about large numbers?
JavaScript numbers can't hold whole numbers beyond 9,007,199,254,740,991 exactly, so a bigger integer like a database ID can change silently when parsed. The warning points to it.

More tools