Private browser-based developer tool

JWT Decoder / Decode JWT

Decode and inspect JSON Web Tokens instantly. Read the header, payload, claims and expiration status without sending your token to a decoding API.

100% client-side. Your JWT is decoded in this browser tab and is not sent to a decoding API or stored by this tool.

Client-side

Token decoding runs in your browser tab.

No secret needed

Read signed JWT headers and payloads without a signing key.

Time-aware

Inspect exp, iat and nbf as readable UTC timestamps.

Decode ≠ verify

Successful decoding never implies signature authenticity.

How to decode JWT: a copyable example

Use this synthetic JWT or the Load sample button above. Its signature is a placeholder for decoding practice and cannot pass signature verification.

eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImRlbW8ta2V5In0.eyJzdWIiOiJ1c2VyXzEyMyIsImlzcyI6Imh0dHBzOi8vYXV0aC5leGFtcGxlLmNvbS8iLCJhdWQiOiJodHRwczovL2FwaS5leGFtcGxlLmNvbSIsInNjb3BlIjoicmVhZDp1c2VyIHdyaXRlOnByb2ZpbGUiLCJpYXQiOjE3ODkwMDAwMDAsIm5iZiI6MTc4OTAwMDAwMCwiZXhwIjoxODkzNDU2MDAwfQ.demo-signature
  1. Paste the three-part JWT into the decoder. Bearer and Authorization: Bearer prefixes are accepted.
  2. Select Decode JWT to read the header and payload as JSON locally in your browser.
  3. Inspect alg, kid, issuer, audience and exp. Verify the signature with a trusted key before trusting any claims.

Decode HS256 and RS256 JWT tokens

HS256 uses an HMAC shared secret; RS256 signs with an RSA private key and verifies with its public key. Both use Base64URL header and payload segments that can be decoded without a key. Decoding does not verify either signature. Encrypted five-part JWE tokens need a separate decryption tool.

Compare HS256 and RS256

Common JWT decoding and validation errors

  • Malformed JWT: check the three segments, copied whitespace and valid JSON with the JWT Validator.
  • JWT expired: the payload remains readable after exp, but the verifier must enforce expiration. Read the expired token guide for refresh and sign-in fixes.
  • Invalid signature: decoding can succeed with the wrong key or modified claims. Follow the JWT invalid signature guide to check the algorithm and trusted key.

What is a JWT decoder?

A JWT decoder turns the Base64URL-encoded header and payload into readable JSON. A typical signed JWT has header, payload and signature segments.

I use decoding to inspect alg, kid, issuer, audience, scopes, roles and time claims while debugging authentication.

Reading a token is not the same as trusting it. Verify the signature and validate the claims before accepting it.

JWT claims explained

Common registered claims help explain who issued the token, who it targets and whether it is inside its valid time window.

iss

Issuer

Identifies the principal that issued the JWT.

sub

Subject

Identifies the subject represented by the token.

aud

Audience

Identifies the intended recipients.

exp

Expiration

The time after which the token should not be accepted.

nbf

Not Before

The time before which the token should not be accepted.

iat

Issued At

The time at which the token was issued.

Decode, validate and verify are different jobs

Decode

Read Base64URL header and payload data as JSON.

Validate

Check structure and application-relevant claims.

Open JWT Validator →

Verify

Cryptographically verify the signature with trusted key material.

Open Signature Verifier →

JWT Decoder FAQ

Can I decode a JWT without the secret?

Yes. Signed JWT headers and payloads are normally Base64URL encoded. The secret or public key is required for signature verification, not for reading claims.

Does decoding prove that a JWT is valid?

No. Decoding only proves that the structure and JSON are readable. Authenticity requires signature verification and application validity can depend on exp, nbf, iss and aud.

Validate a JWT
Is my JWT uploaded?

The decoder runs in browser-side code and does not send token text to a decoding API.

What do exp, iat and nbf mean?

exp is expiration, iat is issued-at and nbf is not-before.

Check JWT expiration
Why can a decoded JWT still cause a 401?

It may be expired, not active, signed with the wrong key, issued by the wrong issuer, intended for another audience or missing required authorization data.

Debug a JWT

Avoid pasting live production credentials when a synthetic or redacted token can reproduce the issue. Browser-side processing cannot protect against extensions or malware on your device.