Skip to content

JSON formatter & validator

Paste JSON to pretty-print it, validate it with the exact line of any error, sort keys or minify it. Nothing leaves your browser.

Runs in your browser. Everything happens in your browser. Nothing you enter is sent to NismaCloud.

Output
Results appear here.

How to use it

  1. 1

    Paste the JSON into the input.

  2. 2

    If it is invalid, the line with the error is highlighted with its neighbours.

  3. 3

    Choose indentation or minify, and optionally sort keys.

  4. 4

    Copy or download the result.

The errors people hit most

Trailing commas after the last item, single quotes instead of double quotes, unquoted keys and comments are all valid in JavaScript but not in JSON. The validator points at the first place the parser stopped, which is usually right after the real mistake.

Private by design

API responses and config files often contain tokens or personal data. This formatter runs entirely in your browser, so the content is never uploaded.

Questions

Is there a size limit?

Only your browser’s memory. Several megabytes format quickly on a normal computer.

Does sorting keys change the data?

No. Object key order has no meaning in JSON; array order is kept.

Can it fix my JSON automatically?

It shows where the error is rather than guessing a fix, so nothing changes without you seeing it.

Updated:

Build less boilerplate

NismaCloud handles hosting, SSL, forms, bookings and a store, so your time goes into what makes the site different.