cv.cm
All tools

JSON formatter

Formatting stays in this tab. Nothing is uploaded.

JSON

Result

How to use this tool

Pretty-print or minify JSON in this tab. Nothing is uploaded.

  1. Open JSON formatter

    A sample object is already pretty-printed on the right.

  2. Paste your JSON

    Switch to Minify for one line. Invalid JSON shows an error.

  3. Copy the result

    Copy puts the formatted JSON on the clipboard.

FAQ

Can I format JSON here?

Yes. Paste JSON and pretty-print it with indent, or minify it to one line.

Is this uploaded?

No. Formatting stays in this tab.

What if the JSON is invalid?

The tab shows an error. Trailing commas and comments are not JSON.

Is this the same as Text and data?

Text and data also formats JSON. This page is only pretty-print and minify.

Can I copy the result?

Yes. Copy puts the formatted JSON on the clipboard.