JWT Decoder
Decode and inspect JSON Web Tokens. View header, payload, and signature without verification to debug authentication issues.
Header
ALGORITHM & TOKEN TYPE{ }
Payload
DATA{ }
Signature
VERIFY SIGNATUREThe signature is used to verify the token's authenticity. It cannot be decoded without the secret key.
Common JWT Claims
iss
Issuer - Who created the token
sub
Subject - Who the token is about
aud
Audience - Who the token is for
exp
Expiration - When the token expires
nbf
Not Before - When the token becomes valid
iat
Issued At - When the token was created
jti
JWT ID - Unique identifier for the token
How to Use JWT Decoder
- Paste your JWT token
- The tool automatically decodes the header and payload
- View formatted JSON with syntax highlighting
- Check token expiration status
- Copy the decoded payload for further use
Features
- Instant JWT decoding
- Header and payload visualization
- Expiration status check
- Timestamp conversion to human dates
- Syntax highlighted output
- Common claims reference
- Copy decoded data
About JWT Decoder
JSON Web Tokens (JWTs) are the standard for authentication in modern applications. When authentication fails or tokens behave unexpectedly, you need to see inside them. Our decoder reveals the complete contents of any JWT for debugging and verification.
JWT Structure Explained
Every JWT contains three base64-encoded parts:
- Header: Algorithm used (HS256, RS256, etc.) and token type
- Payload: Claims including user ID, roles, expiration time
- Signature: Cryptographic signature verifying token integrity
Common Claims Decoded
The decoder explains standard claims: iss (issuer), sub (subject/user ID), aud (audience), exp (expiration timestamp), iat (issued at), nbf (not before). Expiration times are converted to human-readable dates.
Debugging Authentication Issues
When users report "session expired" errors, check the token's exp claim. If access is denied, examine the roles or permissions claims. Token rejected? Verify the iss and aud match your application's expectations.
Security Note
This decoder reveals token contents without verifying the signature. In production, always verify signatures server-side before trusting token claims. Decoding without verification is only appropriate for debugging—never for access control decisions.