Privacy-focused processing

JSON Formatter

Validate, format or minify JSON with clear syntax errors.

We use reasonable safeguards to help protect your files and information while you use the service.

What to select

Paste JSON, then choose an indentation level to validate, format or minify it.

0 characters · 0 UTF-8 bytes. Up to 1,000,000 characters. Processing stays in this browser.

What this developer tool does

Validate JSON, make it readable, create a compact representation, or recursively sort object keys while preserving array order.

How to use JSON Formatter

  1. Paste JSON or load the included sample.
  2. Choose format, minify, or sort keys and select indentation where applicable.
  3. Process the value, then copy or download the result.

Example

{"b":2,"a":1} can become {"a":1,"b":2} with sorted keys.

Practical note: Formatting and minifying preserve large numeric tokens as written. Sorting parses the value, so represent identifiers larger than JavaScript's safe integer range as strings.

Supported formats

Plain text, JSON, XML, standard or URL-safe Base64, URL components, UUID v4, secure passwords, SHA-256, SHA-384, SHA-512 and CRC32.

Limits and safety

Text input is limited to 1,000,000 characters per task, UUID generation to 100 values, and passwords to 8–128 characters.

Frequently asked questions

Is my input uploaded or saved?

No. These developer utilities process input only in this browser tab.

Can a generated hash be reversed?

No. Cryptographic hashes are one-way values. CRC32 is a checksum for detecting accidental changes, not a security hash.

Related tools