Text and data

How to format and validate JSON

A payload is one line, or a client says it is JSON and the parser disagrees. Format it on JSON Formatter.

Formatted JSON parsed. The first error is the break, and minified JSON is the same values without whitespace.
Formatted JSON means it parsed, and the first error is the break.

What to run

Open JSON Formatter. It stays in the browser.

How to read the result

Formatted output means it parsed.

The error line is the first break: trailing comma, single quotes, or a comment.

Pretty-print does not mean the schema is correct.

What to open next

Open JWT Decoder if it came from a token. It stays in the browser and does not verify the signature.

Open Text Diff against the last known-good body. It stays in the browser.