Home · Data · JSON Formatter

JSON Formatter

Beautify, minify, validate and sort JSON, with errors pointed at the exact line.

How to use it

Paste JSON in, then format it for reading or minify it for shipping. If the JSON is broken, the message names the line and column to look at instead of just saying it failed.

Where it stops

Sorting keys changes the file's bytes. If that JSON is signed, hashed or compared exactly against another copy, keep the original key order.

Private by design

This tool runs entirely in your browser. Nothing you type, paste or drop here is sent to PathDish or anywhere else — close the tab and it is gone.

More Data tools