Skip to content

Free JWT Decoder

Paste a JSON Web Token to read its header and payload and see when it expires. Decoding happens on your device.

  • 100% free
  • Runs in your browser
  • Instant results
Quick answer

A JWT decoder splits a JSON Web Token into its three parts and shows the header and payload as readable JSON. This tool also converts the exp, iat and nbf claims into dates and tells you whether the token has expired. It does not verify the signature, so decoded contents must not be trusted on their own.

How to use the JWT Decoder

  1. Paste the tokenPaste the JWT. A leading "Bearer " and any line breaks are ignored.
  2. Read the claimsThe header and payload appear as formatted JSON, with the algorithm, issuer, subject and time claims listed above.
  3. Check the expiryA status line says whether the token is expired, not yet valid or still valid, according to the clock on your device.

What is inside a JWT

A JSON Web Token (RFC 7519) is three Base64URL strings joined by dots: header.payload.signature.

  • The header is a small JSON object that names the signing algorithm (alg, for example HS256, RS256 or ES256), the token type and sometimes a key ID (kid).
  • The payload is a JSON object of claims. Registered claims include iss (issuer), sub (subject, usually a user ID), aud (audience), exp (expiry), nbf (not valid before) and iat (issued at). The three time claims are Unix timestamps in seconds; this JWT decoder shows them as dates.
  • The signature is calculated over the first two parts with a secret or private key.

The header and payload are only encoded, not encrypted. Anyone who holds a token can read it, exactly as this page does. Never put passwords or other secrets in a JWT payload. Tokens with five parts are encrypted JWTs (JWE) and cannot be read without the key.

The signature is not verified here

This is the most important thing to understand about any JWT decoder: decoding is not verifying. The tool reads what the token says; it does not check that the token is genuine. Anyone can write a payload saying "role": "admin" and encode it. Only the signature check, done by your server with the correct secret or public key and an explicit list of allowed algorithms, tells you that the issuer really created the token and that nothing was changed.

A server validating a JWT should check the signature first, then exp and nbf, then that iss and aud are the expected values. It should reject tokens whose algorithm is none; the decoder flags those.

The decoder is still useful for debugging: finding out why a login expired, which user a token belongs to, what scopes it carries or which key signed it. The expiry status uses your device clock, so a wrong clock gives a wrong status.

A real token is a credential. Decoding here happens entirely in your browser and nothing is sent to a server, but treat production tokens with care anyway. To convert time claims by hand, use the Unix timestamp converter; to compute an HS256 signature, see the HMAC generator.

Frequently asked questions

How do I decode a JWT?

Paste the token into the JWT decoder. The header and payload are shown as JSON, and the time claims are converted to readable dates.

Does this tool verify the JWT signature?

No. It only decodes the token. Verifying needs the secret or public key and must be done by your server. Do not trust a token just because it decodes.

Is the data in a JWT encrypted?

Normally not. A standard signed JWT is Base64URL-encoded, which anyone can reverse. Only encrypted JWTs (JWE), which have five parts, hide their contents.

What does the exp claim mean?

exp is the expiry time as a Unix timestamp in seconds. After that moment the token must be rejected. The decoder shows it as a date and tells you whether it has passed.

Is it safe to paste my token here?

The token is decoded in your browser and never uploaded. Even so, a valid token grants access, so avoid sharing production tokens and revoke any that may have leaked.

Last updated 24 November 2026 by the TheTechFolk team.