Pretty-print or minify JSON with configurable indentation. Runs instantly in your browser — your data never leaves your machine.
All formatting happens in your browser using JavaScript. Nothing is uploaded to any server. Safe for sensitive business data.
No waiting for a server round-trip. Results appear as you type or the moment you drop a file.
Choose 2 spaces, 4 spaces, or tabs for indentation. Toggle between pretty-print and minified output with one click.
Paste your JSON into the left panel and the formatted output appears instantly on the right. Use the indent selector to choose 2 spaces, 4 spaces, or tabs. Click the Minify button to strip all whitespace for compact output. You can also drag and drop a .json file or use the upload button to browse your files.
Pretty-printing JSON makes it easier to read, debug, and review — especially useful when inspecting API responses, configuration files, or database exports. Minifying removes all whitespace to reduce file size, which is useful for embedding JSON in URLs, reducing API payload size, or storing compact data in databases and log files.