JWT Payload Formatter

The JWT Payload Formatter decodes the payload segment of a JSON Web Token and reprints it as clean, indented JSON — ideal for reading dense claim sets or pasting token contents into documentation and bug reports.

What This Tool Does

JWT payloads are compact, single-line JSON once decoded. This tool decodes the second segment of the token and formats it with consistent indentation, making nested objects, arrays and long claim sets easy to read and share.

How to Use

  1. Paste your JWT into the input field.
  2. The formatted payload appears automatically in the output panel.
  3. Copy the pretty-printed JSON or download it as a file.
  4. Use Reset before formatting another token.

Key Features

Common Use Cases

The Payload Is Not Encrypted

A formatted payload looks like ordinary JSON because it is: Base64URL encoding is a transport format, not encryption. Anyone who possesses the token can decode and read it.

Keep sensitive data out of payloads, and keep payloads small — tokens travel in HTTP headers on every request.

Frequently Asked Questions

What does the formatter change?

Only presentation: it decodes the payload and reprints the JSON with indentation. The claim values themselves are untouched.

Does formatting validate the JSON?

Yes, implicitly — a payload that is not valid JSON will produce an error instead of formatted output.

Can I format just a payload segment without a full token?

The tool expects a full three-part JWT. To decode a standalone Base64URL string, use the Base64URL Decoder.

Will the formatted output match the original byte for byte?

The values are identical, but whitespace and key order follow the decoded JSON, which may differ from the original compact form.

Is my token uploaded for formatting?

No. Decoding and formatting happen entirely in your browser.

Related JWT Tools

View all 12 JWT tools