Skip to main content

JWT Decoder

Paste the JWT and see the header, payload and expiration dates in local time, with what each claim means. Check the signature with the secret (HS256) or the public key (RS256, ES256, PEM, JWK or JWKS) and generate test tokens. The token never leaves your browser.

Read in your browser

The token

What to do

You can paste it with "Bearer" in front or split across lines. It decodes as you paste.

Verify signature (HS256)

The token, secret and key stay in this tab: nothing is sent, saved or put in the URL.

Decoded token (HS256)

Example token, signed with the example secret. Paste yours instead.

Diagnosis

  • Algorithm, issuer, audience and dates present, and the token is within its validity.

Dates

exp (expires at)
 UTC 2100-01-01 00:00:00
iat (issued at)
 UTC 2026-11-22 00:00:00
nbf (valid from)
 UTC 2026-11-22 00:00:00

Payload claims

ississuer
https://auth.exemplo.com.br
subsubject (user)
usuario-42
audaudience (for whom)
api-pedidos
namename
Maria Silva
rolerole
admin
iatissued at
1795305600
nbfvalid from
1795305600
expexpires at
4102444800

Header

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

Payload

{
  "iss": "https://auth.exemplo.com.br",
  "sub": "usuario-42",
  "aud": "api-pedidos",
  "name": "Maria Silva",
  "role": "admin",
  "iat": 1795305600,
  "nbf": 1795305600,
  "exp": 4102444800
}