JSON Formatter vs JWT Decoder

formatting

JSON Formatter

Pretty-print or minify JSON — with syntax validation.

Paste raw or minified JSON and format it with configurable indentation, or minify it by removing all whitespace. Validates syntax, reports parse errors with line/column, and optionally sorts keys or repairs malformed JSON.

Example input:

{
  "json": "{\"name\":\"Alice\",\"age\":30}",
  "mode": "pretty",
  "indent": 2,
  "sort_keys": false,
  "repair": false
}
Use JSON Formatter
encoding

JWT Decoder

Decode and verify JSON Web Tokens — header, payload, claims, and signature.

Paste a JSON Web Token to instantly decode its header and payload. Optionally supply a secret or public key to verify the signature.

Example input:

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
Use JWT Decoder
FeatureJSON FormatterJWT Decoder
Categoryformattingencoding
Inputsjson, mode, indent, sort_keys, repairtoken, secret, algorithm
Outputsoutput, valid, error, error_line, error_columnheader, payload, signature, valid_structure, verified

We use cookies to serve ads and measure traffic. Cookie policy · Privacy policy