Web apps / Developer tools

JSON Formatter

Paste JSON to make it readable. Validate it, minify it, or sort its keys. Your data never leaves this page.

Result

    

About this formatter

Pasting formats your JSON right away. Press Ctrl+Enter in the input to format again. If the JSON is broken, you get the line and column of the problem and the cursor jumps to it.

Numbers are kept exactly as written, so large IDs like 12345678901234567890 don't get rounded. Key order is kept unless you choose to sort keys.

Everything runs in your browser with JavaScript. No data is sent to a server.