JWT Verifier

Verify a JSON Web Token against a secret or public key and see whether the signature is good and whether the token has expired or is not yet valid.

Processed on your device. Files are not uploaded

How to verify a JWT

  1. Paste your JWT

    The three-part token, separated by dots.

  2. Enter the key

    The secret for HS256, HS384 and HS512, or the public key (PEM) for RS256 and ES256.

  3. Read the verdict

    You see whether the signature is good and whether the token is within its dates.

    The exp, iat and nbf dates are shown as readable times.

Worked example

This is what JWT Verifier gives for its own sample values. Open the tool above and change anything to try your own.

JWT

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Result

sub
1234567890
name
John Doe
iat
1516239022

About JWT Verifier

Check that a JSON Web Token was signed with the key you expect and has not expired. The claims are listed, with the dates for exp, iat and nbf turned into readable times.

FAQs

What does a valid result prove?

That the token was made with that key and has not been changed. Your code must still check the issuer, audience and other claims.

Why does an expired token fail?

The exp claim is in the past. Request a new token.

Can I read a token without the key?

Use JWT Decoder.

Related tools