JSON Formatter

Ideal for API debugging, config checks, and log cleanup. Paste JSON then format or minify in one click.

Privacy: processed locally, never uploaded.

↓ Paste in the input area below to see results instantly

Indent spaces

Paste your JSON here

Paste JSON, then format, minify, or validate.

Ideal for API debugging, config checks, and log cleanup. Paste JSON then format or minify in one click.

Quick start

  1. Paste JSON

    Both objects and arrays are supported.

  2. Choose indentation

    Pick 2 or 4 spaces to match your team style.

  3. Format or minify

    Invalid JSON returns clear parse errors.

When to format JSON

Use format mode when you need readable API responses and nested structures.

When to minify JSON

Use minify mode when storing JSON in env vars or reducing payload size.

Examples

Input

Input

{"name":"towalles","tools":3,"ready":true}

Output

{
  "name": "towalles",
  "tools": 3,
  "ready": true
}

FAQ

Why formatting fails?

Usually trailing commas, missing quotes, or bracket mismatch.

Does it support JSON5?

Currently only strict JSON is supported.