πŸ” JWT Decoder β€” Header and Payload

Paste a JWT to inspect its header and claims locally. Nothing is uploaded. Signature verification is intentionally not performed.

Security Free Β· no sign-up Reviewed 2026-11-03
Input
Result
Token info

Private by design. This tool runs entirely in your browser β€” nothing you enter or add is uploaded to any server.

What this tool does

The JWT decoder splits a JSON Web Token into its three parts, Base64url-decodes the header and payload, and displays both as formatted JSON. It also reads the algorithm and type from the header and converts the iat and exp claims into human-readable timestamps.

A JWT has three dot-separated segments: a header describing the algorithm and token type, a payload containing claims such as the subject, issuer and expiry, and a signature. The first two segments are only encoded, not encrypted, so anyone holding the token can read them. That is why sensitive data should never be placed in a JWT payload.

This tool decodes only. It does not verify the signature, check the issuer or audience, or confirm that the token has not expired. A token that displays correctly here can still be forged, revoked or invalid for your application. Signature verification requires the issuer's key and must happen on a trusted server.

When to use it

  • Inspect which claims an authentication service puts in a token.
  • Check the exp and iat values while debugging a login flow.
  • Confirm the signing algorithm before configuring a verifier.
  • Read a token from a test environment without installing a library.
  • Show a colleague that JWT payloads are readable rather than secret.

How it works

  1. Paste a token with three base64url segments separated by dots.
  2. Press Decode. The header and payload are decoded and formatted as JSON when possible.
  3. Read the claim timestamps if present. The signature segment is shown only as a length, not verified.

Worked example

Paste the well-known demo token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c. The header decodes to {"alg":"HS256","typ":"JWT"}, and the payload decodes to a subject of 1234567890, a name of John Doe and an issued-at timestamp. The summary shows HS256, the issued time and "Signature: not verified", because this tool never checks the signature.

  • A token whose payload includes exp shows that claim as a Unix time and a local date.
  • A two-segment string is rejected because a JWT has header, payload and signature.
  • Payloads that are not JSON are shown as decoded text instead of formatted JSON.

Accuracy and limitations

  • Signatures are not verified, so the decoder cannot tell a genuine token from a forged one with the same payload.
  • Expiry, not-before, issuer, audience and scope claims are displayed but not enforced; no validation result is produced.
  • Only the three-segment JWS format is supported. Encrypted tokens (JWE, five segments) and nested tokens are not decoded.
  • Payload contents are untrusted input. Do not render them as HTML or act on them without validation on the server.

Privacy and data handling

Decoding happens entirely in your browser. Tokens are not uploaded or logged, but a JWT may still grant access to an account, so avoid pasting production tokens into any tool unless you control it.

Frequently asked questions

Does this verify the signature?

No. Decoding only reveals what the token claims. Trust a token only after a server verifies it with the correct key.

Is the token uploaded?

No. Decoding uses the browser only. Still avoid pasting production secrets into a shared or logged machine.

What is the exp claim?

exp is the expiry time as seconds since 1970-01-01 UTC. iat is issued-at and nbf is not-before, when those claims exist.

Can I trust the decoded claims?

Only after verifying the signature with the correct key and validating the issuer, audience and expiry. Decoding alone proves nothing about authenticity.

Why does the tool say the signature is not verified?

Verification needs a secret or public key and must use the algorithm the issuer intended. Doing that safely belongs on the server, so this page deliberately stops at decoding.

Is a JWT encrypted?

A standard signed JWT is not encrypted. Its header and payload are Base64url-encoded and readable by anyone. Only JWE tokens provide confidentiality.