Skip to content
toolavix

JWT Decoder

Decode a JSON Web Token, read its claims and check whether it has expired.

  • Free
  • No sign-up
  • 100% private

Runs in your browser — your files never leave your device.

What is a JWT and how do you decode it?

A JSON Web Token (JWT) is a compact string with three Base64URL parts separated by dots: a header, a payload of claims and a signature. This JWT decoder splits the token, shows the header and payload as formatted JSON, explains standard claims such as iss, sub, exp and iat, converts the dates and flags expired tokens. You can also verify HS256, HS384 and HS512 signatures with your secret. Everything happens in your browser.

How to decode a JWT

  1. 1

    Paste the token (three parts separated by dots) into the box. A leading “Bearer ” is removed automatically.

  2. 2

    Read the decoded header and payload and the explanation of each claim.

  3. 3

    Check the exp, nbf and iat dates and the Expired badge.

  4. 4

    For HS256, HS384 or HS512 tokens, enter the secret and press Verify to check the signature.

Key features

Readable header and payload

Both JSON parts are decoded from Base64URL and pretty-printed, including UTF-8 characters.

Claims explained

Registered claims like iss, sub, aud, exp, nbf, iat and jti are described, and times are shown in ISO 8601 and your local format.

Expiry check

A clear badge shows whether the token is expired, not yet valid or active, with live relative times.

Signature verification

HMAC signatures (HS256/384/512) are verified locally with Web Crypto. Your token and secret are never sent anywhere.

Frequently asked questions

Is decoding a JWT the same as verifying it?

No. Anyone can decode a JWT because the header and payload are only Base64URL encoded, not encrypted. Verifying checks the signature with the secret or public key, and only a verified token should be trusted.

How do I know if a JWT has expired?

Look at the exp claim, a Unix timestamp in seconds. If the current time is later than exp the token is expired. This decoder converts exp to a date and shows an Expired badge automatically.

What are iss, sub, aud, exp, nbf and iat?

They are registered claims from RFC 7519: iss is the issuer, sub the subject, aud the audience, exp the expiration time, nbf the time before which the token is not valid and iat the time it was issued.

Is it safe to paste my JWT here?

The token is decoded locally in your browser and is never uploaded. Still, treat live tokens like passwords and avoid pasting production tokens that are still valid into any website.

Can this tool verify RS256 or ES256 tokens?

No. This tool verifies only HMAC algorithms (HS256, HS384, HS512). Asymmetric algorithms need a public key and are shown decoded but not verified.

More Developer tools

View all →