JWT Decoder

Add to my tools

This JWT decoder reveals the content of a JWT token (split into 3 parts: header, payload, signature). Decoding is performed entirely in your browser, no data is sent to a server.

Paste your JWT token in the input field. Decoding is instant and performed entirely in your browser: no data is sent to a server, ensuring the confidentiality of your tokens.

I need a demo !

JWT Decoder
..
Decoding is performed entirely in your browser. No data is sent to a server.

What is a JWT token?

A JWT (JSON Web Token) is an open standard (RFC 7519) that defines a compact and self-contained way to securely transmit information between two parties as a JSON object. This information can be verified and trusted because it is digitally signed.

JWT token structure

A JWT consists of three parts separated by dots (.):

HEADER.PAYLOAD.SIGNATURE

1. Header

The header typically contains the token type (JWT) and the signing algorithm used (e.g., HMAC SHA256 or RSA).

{
  "alg": "HS256",
  "typ": "JWT"
}

2. Payload

The payload contains the claims — statements about the user and additional metadata.

{
  "sub": "1234567890",
  "name": "John",
  "iat": 1516239022
}

3. Signature

The signature is created by encoding the header and payload, then signing them with a secret key or a public/private key pair.

HMACSHA256(
  base64UrlEncode(header)
  + "."
  + base64UrlEncode(payload),
  secret
)

Standard payload claims

Claim Full name Description
issIssuerThe entity that issued the token
subSubjectThe subject of the token (often the user ID)
audAudienceThe intended recipient of the token
expExpiration TimeToken expiration date (UNIX timestamp)
nbfNot BeforeDate before which the token is not valid
iatIssued AtToken creation date
jtiJWT IDUnique token identifier

Common use cases

Common signing algorithms

Algorithm Type Description
HS256SymmetricHMAC with SHA-256, the most common
HS384SymmetricHMAC with SHA-384
HS512SymmetricHMAC with SHA-512
RS256AsymmetricRSA with SHA-256
ES256AsymmetricECDSA with P-256 curve

Security best practices

Tip: This tool decodes JWTs entirely in your browser. No data is sent to a server, so you can safely use it with your production tokens.
Similar tools