Developer

JWT Decoder for Header and Payload

Decode a JWT's header and payload into readable JSON in your browser. Signatures are not verified.

Runs locally in your browser

Paste a three-part JWT to inspect its decoded JSON.

Decoding does not verify the signature or prove that the token is trustworthy.

What it does

JWT Decoder splits a JSON Web Token into its header and payload and decodes each Base64url segment back into formatted JSON. It is built for developers who need to quickly read the claims inside a token during debugging. It only decodes; it does not check the signature, so it cannot tell you whether a token is authentic or has been tampered with.

How to use it

  1. Paste a three-part JWT into the input field.
  2. Read the decoded Header and Payload panels shown side by side.
  3. Copy either the header or the payload JSON with its copy button.

Example

Input
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Output
Header: {"alg":"HS256","typ":"JWT"} Payload: {"sub":"1234567890","name":"John Doe","iat":1516239022}

What happens to your file

  • Your file or text is processed by code running in this browser tab. It is not uploaded to any server.
  • The processing code is downloaded from this site with the page; nothing about your input is sent back.
  • The result is created on your device and saved only when you choose to download it.

Limits

  • Signatures are never verified; treat any claims as unconfirmed until checked against the issuing service.
  • Only standard three-part JWTs with JSON header and payload segments and a non-empty signature part are supported.
  • A malformed or non-JWT string simply produces a prompt rather than an error explanation.

Questions

Does this verify the token's signature?

No. It only decodes the header and payload; it never checks the signature, so it cannot confirm the token is genuine or unmodified.

What happens if I paste an invalid token?

If the token does not start with three non-empty dot-separated parts (so an unsigned token ending in a dot is not shown), or the header or payload is not valid Base64url JSON, the tool shows a prompt to paste a valid three-part JWT instead of decoded panels.

Is the token sent anywhere for decoding?

No. Decoding happens locally in your browser by decoding the Base64url segments; the token is not uploaded.

Can I decode tokens that use JWE encryption instead of a signed JWT?

No. This tool expects a standard three-part signed JWT (header.payload.signature) whose header and payload are Base64url-encoded JSON.

Next steps