JSON Formatter

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

Privacidade: processado localmente, nunca carregado.

↓ Colar na área de entrada abaixo para ver os resultados instantaneamente

缩进空格

在此粘贴 JSON

粘贴后点击格式化、压缩或校验按钮。

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

Iniciação rápida

  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.

Exemplos

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.