नेपाली

JSON Formatter & Validator

Pretty-print, minify and check JSON.

Works offline

Good to know

  • Hashing needs Web Crypto, which browsers only provide on secure (https or localhost) pages

About this tool

Paste JSON and the tool validates it with its own strict parser, then pretty-prints (2 spaces, 4 spaces or a tab) or minifies it. When something is wrong, the error names the line and column and a caret points at the exact spot.

The formatter preserves what you typed: numbers and strings are written back exactly as given (no float rewriting), and duplicate keys are kept. It accepts up to 5,000,000 characters and reports the type, counts and depth of valid JSON.

How to use it

  1. Paste your JSON, or press Try example.
  2. Pick Pretty or Minified, the indent, and optional A–Z key sorting.
  3. Read the valid summary or jump to the marked error, then copy or download the result.

Frequently asked questions

Where exactly is my JSON error?

The message names the line and column, and a caret marker shows the offending position in context.

Does it change my numbers?

No. Numbers and text are re-emitted exactly as typed, and duplicate object keys are kept rather than silently dropped.

Can it minify JSON?

Yes — Minified strips all whitespace and shows you the character counts before and after.

Does it work without internet?

Yes. Open this page once while you are online; after that it keeps working without internet. We tested this with the network switched off.

Are my files uploaded?

No. This tool runs in your browser on your device, so what you enter or open here is not sent to our server.

Is it free?

Yes. This tool is free to use and needs no account.

Runs on your device. Nothing you enter or open here is uploaded.