AbraCalc

JSON Minify / Beautify

Pretty-print JSON with configurable indentation, or minify it to a single compact line. Runs in your browser.

Pure browser JavaScript — no external libraries.

Embed this tool on your site

How to use this tool

  1. Paste JSON or upload a .json file.
  2. Pick the indent (2 / 4 spaces or tab) and click Beautify, or click Minify to compress.
  3. Copy or Download the result.

Pretty-print JSON with configurable indentation, or minify it to a single compact line. Runs in your browser.

Frequently asked questions

Is my JSON validated?
Yes — it is parsed first, so invalid JSON is rejected with the parser's error message before formatting.
Does minify change my data?
No — it only removes insignificant whitespace; keys, values, and ordering are preserved.

References & sources