Developer·Updated 2026-04-22

JSON Formatter & Validator

Pretty-print, minify and validate JSON live — with structure analysis.

JSON Formatter & Validator

How it works

  1. 1.

    Paste JSON

    Type a value into any of the four fields: binary (base 2), octal (base 8), decimal (base 10), or hexadecimal (base 16). BigInt-safe for arbitrary sizes.

  2. 2.

    Pick a mode

    The other three bases are computed and displayed instantly. Negative numbers, leading zeros, and mixed case are all handled correctly.

  3. 3.

    Copy

    Send the result to your clipboard. Syntax highlighting by JSON type: strings green, numbers blue, booleans purple, keys neutral.

FAQ

How precise are the error messages?+

We use the native JSON.parse — error messages include line and column.

What does the structure analysis show?+

Keys, depth, arrays, strings, numbers, booleans and nulls.

Is my data sent anywhere?+

No. Everything is client-side.

Related tools