HomeGithub

Online JSON Formatter & Validator

Input

1

Output

1

JSON formatting and validation

JSON (JavaScript Object Notation) is a lightweight, text-based data interchange format. This tool parses your input, reports the first syntax error with its line and column, and re-prints valid documents with the indentation you choose. Everything runs in your browser, so your data is never sent to a server.

Format (beautify)

Adds line breaks and consistent indentation so nested objects and arrays are easy to read, review and diff.

Minify

Removes all insignificant whitespace to produce the smallest equivalent document, useful for payloads and config values.

Reference: RFC-8259