JSON Web Token (JWT) Debugger

Decode, verify, and generate JSON Web Tokens — an open, industry standard RFC 7519 method for representing claims securely between two parties.

Paste a JWT below that you'd like to decode, validate, and verify.

Encoded Token

JWT Signature Verification (Optional)

Enter the secret used to sign the JWT below:

Secret

Decoded Header

{
}

Decoded Payload

{
}

What is a JSON Web Token (JWT)?

A JSON Web Token (JWT, RFC 7519) is a compact, URL-safe way to pass claims between two parties. JWTs are used for authentication and authorization: after you log in, a server issues a signed token that your app sends with each request, usually in the Authorization: Bearer header.

JWT structure

A JWT has three Base64URL-encoded parts separated by dots:

  • Header — the signing algorithm (alg) and token type (typ).
  • Payload — the claims, such as sub, exp, iat and your own custom data.
  • Signature — proves the token was issued by someone holding the key and was not modified.

Frequently asked questions

How do I decode a JWT?

Paste the token into the Encoded Token box above. The header and payload are decoded instantly, and registered claims like exp and iat are explained with human-readable dates.

Is it safe to paste my JWT here?

Yes. Decoding, verification and signing all run locally in your browser with the Web Crypto API. Tokens, secrets and keys are never sent to a server.

How do I verify a JWT signature?

Enter the secret (for HS256/HS384/HS512) or the public key in PEM format (for RS, ES and PS algorithms) in the signature section. The tool tells you whether the signature is valid.

Which algorithms are supported?

HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384 and PS512.

Is a JWT encrypted?

No. A standard signed JWT (JWS) is only encoded, not encrypted: anyone can read the payload. Never put passwords or other secrets in a JWT payload.