Tools › Developer tools

JSON formatter and validator

Format, minify and validate JSON online, also against a JSON Schema. Errors point to the exact line; files of 100 MB are parsed locally and never uploaded.

Validate against a JSON Schema

How it works

  1. Your JSON is parsed by the browser itself. Files over 2 MB go to a background worker, so the page stays responsive.
  2. Errors point to the exact line and column, and the cursor jumps there.
  3. Schema validation uses Ajv, the same validator most Node.js APIs run in production.

Questions

Is it safe to paste production data?

Yes. Nothing is sent anywhere: the page has no server that could receive it. Open DevTools and watch the Network tab while you format.

How big can the file be?

Hundreds of megabytes work on a typical laptop. The limit is your device memory, not ours.