Skip to content
Developer GUIDE

JWT decoding is not signature verification

A decoder can display header and payload fields. Trust requires separate signature and claim validation.

Maintained by GoldieKit · Published · Updated


What you can read from a JWT

A common signed JWT has three dot-separated parts: header, payload, and signature. The first two are Base64url-encoded and can be decoded without a key. The payload may contain claims such as issuer (iss), audience (aud), and expiration time (exp). Reading them is useful for debugging but proves nothing about who created the token.

The GoldieKit decoder displays the header, payload, and timestamps locally. It does not verify a signature. Do not put a real access token into a bug report or screenshot merely because the decoder is local.

Open jwt decoder

What a verifier must do separately

A receiving application must apply its own allowed algorithms, trusted keys, signature verification, and claim checks. Checking exp alone is insufficient: an attacker can write any expiration into an unsigned or incorrectly verified token. A decoded issuer string is also only a claim until authentication succeeds.

For example, a payload that says {"role":"admin"} can be constructed by anyone. Its text is not authorization. The application must verify the token under its security policy before relying on it.

Use decoding for diagnosis only

Compare the visible claim names and timestamps with what your integration expects. If an expiration looks wrong, check whether the source uses Unix seconds and whether local time conversion is confusing the display. Investigate verification failures in the server or trusted client that holds the verification configuration.

  1. Decode a test token locally and inspect its structure.

  2. Check expected issuer, audience, and time claims as diagnostic clues.

  3. Verify the actual token with the application’s trusted validation path.

Try jwt decoder

Use the real GoldieKit tool here. Your input is processed in this browser tab.

Use JWT decoder

Treat decoded claims as untrusted input

Anyone who can construct a token can place text in its header and payload. Decoding reveals that text but does not verify its signature, issuer, audience, expiry policy, or revocation state. Never grant access from decoded claims alone; verification belongs in a trusted application using the intended key and validation rules.

Questions

Can this decoder tell me a JWT is valid?

No. It does not verify the signature or establish trust in the claims.

Sources


Keep going