{ } JSON Formatter

Format, minify and validate JSON with custom indent and key sorting

✓ Runs entirely in your browser — your data never leaves this device

About This Tool

Format, validate, minify and sort-key JSON with custom indentation. The go-to tool for API debugging, inspecting responses and fixing config files.

How to Use

  1. Paste your JSON string
  2. Choose indent, optionally sort keys, click Format or Minify
  3. The result appears below; syntax errors show the reason

FAQ

It reports a syntax error — why?

Usual culprits: trailing commas, CJK quotes, unquoted keys and comments (standard JSON has none).

Does key sorting change data?

No. It only reorders object keys for display; values stay untouched.

Size limit?

JSON up to ~10 MB is usually processed smoothly.