Skip to content
everylittletool

JWT Decoder

Paste a JWT to read its header, payload and expiry time.

Runs in your browser — nothing is uploaded

Paste a token, with or without the “Bearer ” prefix.

Signature not verified. This tool only decodes the token. Anyone can create a token with any contents, so never trust these claims without checking the signature on your server.

Header

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

Payload

{
  "sub": "1234567890",
  "name": "Jane Doe",
  "email": "jane@example.com",
  "role": "admin",
  "iat": 1767225600,
  "nbf": 1767225600,
  "exp": 1767229200
}

Time claims

Expires (exp)
2026-01-01T01:00:00.000Z
Thu, 01 Jan 2026 01:00:00 GMT
Issued at (iat)
2026-01-01T00:00:00.000Z
Thu, 01 Jan 2026 00:00:00 GMT
Not before (nbf)
2026-01-01T00:00:00.000Z
Thu, 01 Jan 2026 00:00:00 GMT

Signature

wl1sPQTNhXktm1n4WQvcZAZDmaN0fjw2JMLXQbLFPqo

How to use JWT Decoder

  1. 1

    Paste the token into the JWT box. A leading “Bearer ” is removed automatically.

  2. 2

    Read the status line to see whether the token has expired or is not valid yet.

  3. 3

    Check the Header and Payload panels, and the Time claims panel for exp, iat and nbf as readable dates.

  4. 4

    Select Copy on any panel to copy its JSON.

About this tool

A JSON Web Token has three parts separated by dots: a header, a payload and a signature. The header and payload are JSON encoded as Base64URL, so anyone can read them. This tool decodes both and pretty-prints them. Base64URL is not encryption, so do not put secrets in a JWT payload.

Registered time claims are numbers of seconds since 1 January 1970 (Unix time). The decoder shows exp (expires), iat (issued at), nbf (not before) and auth_time as dates in your time zone and in UTC, with a relative time such as “in 45 minutes”. The status line compares exp and nbf against your device's clock, which is updated every second.

The signature is not verified. Checking it needs the secret key (for HS256) or the issuer's public key (for RS256 or ES256), and that check belongs on your server. A token that decodes cleanly here can still be forged or tampered with, so never make access decisions based on a decoded payload alone. Encrypted tokens (JWE, with five parts) cannot be read without the decryption key, and the tool says so.

Decoding happens in your browser and the token is never sent anywhere, so it is safe to inspect real access tokens. Still treat them as passwords, and avoid pasting live production tokens into sites you do not trust.

Questions people ask

Does this tool verify the JWT signature?

No. It only decodes the header and payload. Verify signatures on your server with the correct key before trusting any claim.

How do I check when a JWT expires?

Paste it here and read the status line, or look at exp in the Time claims panel, which shows the expiry in your time zone and in UTC.

Is it safe to paste my token here?

The token is decoded in your browser and never uploaded. Anyone holding a valid token can use it, so treat it like a password wherever you paste it.

Can a JWT be decoded without the secret?

Yes. The header and payload are only Base64URL-encoded. The secret is needed to create or verify the signature, not to read the contents.