Encrypt Online
Choose theme
Privacy All tools run entirely in your browser.

JSON Canonicalizer

Turn JSON into deterministic canonical bytes and compare the resulting fingerprint

Safety note: Canonicalization stays local in your browser. This page produces deterministic JSON bytes from the object you paste; it does not fetch schema or mutate the original document elsewhere.
Canonicalize JSONPaste a JSON document, normalize it into deterministic canonical JSON, and inspect the byte length and SHA-256 fingerprint right away
Canonical JSON is useful when signatures, hashes, or content-addressed IDs depend on exact bytes rather than “pretty similar” JSON.
What Canonical JSON Freezes

Two JSON documents can mean the same thing while still producing different bytes because of whitespace or key ordering. Canonical JSON removes that ambiguity so you can sign, hash, or compare a stable byte sequence.

Canonicalize a JSON Payload
  1. Paste the JSON object or array you want to canonicalize.
  2. Click Canonicalize JSON.
  3. Copy the canonical JSON and compare its SHA-256 fingerprint anywhere exact bytes matter.
Why the Hash Helps

When two systems disagree about canonicalization, the SHA-256 fingerprint gives you a fast “same bytes or not” answer without re-reading the whole payload visually.