JSON input

0 / 1,000,000

Sent to the Utilook server On submission, your JSON and indentation/key-sorting settings are sent to Utilook. This feature does not save inputs or results to a database. Remove passwords, tokens, and other sensitive information before entering JSON. Privacy Policy

Options

Result

Formatted JSON will appear here.

Example

Load the sample JSON, choose your options, and review the formatted result.

Read minified JSON more easily

Use this page to inspect one-line API responses, logs, or configuration JSON. The server parses the input and serializes it again with two- or four-space indentation. Input is limited to 1,000,000 characters. In the built-in example, nested values and array entries become easier to scan across lines.

Indentation versus sorting keys

Indentation reveals structure. Sorting object keys changes their order but leaves array elements in place. This is not a byte-for-byte preservation tool: re-serialization can change number or escape notation, and duplicate object keys may collapse to their last value. NaN, Infinity, and -Infinity are not standard JSON values and are rejected. Values such as 1e400 that exceed the server's finite floating-point range are also rejected; accepted floating-point numbers still have precision limits.

A formatter does not repair invalid JSON

Fix trailing commas, single quotes, unquoted property names, and missing commas or brackets before formatting. Formatting does not repair invalid input. This page does not show a detailed error location. Use JSON Validator if you need the browser parser's location and error detail.

Standard reference

RFC 8259 — The JSON Data Interchange Format

Frequently asked questions

Is my JSON stored?

Your JSON is sent to the Utilook server for formatting. This feature does not save the input or result to a database. Check before submitting sensitive data.

Which JSON values can I format?

Objects, arrays, strings, numbers, true, false, and null are supported. NaN, Infinity, and -Infinity are not standard JSON values and are rejected. Numbers such as 1e400 that exceed the server's finite floating-point range are also rejected.