JWT Decoder & Encoder
Decode, Verify & Create JWTs
Inspect JSON Web Tokens instantly. Decode, verify signatures, check expiration, and create new tokens. 100% client-side. Zero data stored.
JWT Decoder & Encoder Tool
JWT Token
Paste a JWT to decode
Enter a JSON Web Token above to decode and inspect its contents
Common Claims
iss
Issuer
sub
Subject
aud
Audience
exp
Expiration (Unix time)
nbf
Not Before
iat
Issued At
jti
JWT ID (unique identifier)
Privacy First
All decoding and verification happens locally in your browser. Your tokens and secrets never leave your device.
Payload (JSON)
Signing Options
Generated Token
Algorithm Info
HMAC Algorithms
Use a shared secret key for both signing and verification. Best for internal services where both parties have the secret.
RS256/ES256 (asymmetric) are not supported for encoding. Use OpenSSL or a proper JWT library for RSA/ECDSA tokens.
Tips
- Use strong, random secrets (256+ bits)
- Always set expiration (exp claim)
- Don't store sensitive data in payload
- Validate all claims on the server
- Use iat (issued at) for token age tracking
- Include jti (JWT ID) to prevent replay attacks
Expiration Times
Common Use Cases
Debug Authentication Issues
Quickly inspect token payloads to troubleshoot authentication failures, check user permissions, and verify claim values in development and production.
Verify Token Signatures
Validate HMAC signatures using your secret key to ensure tokens haven't been tampered with and are cryptographically valid.
Check Token Expiration
See real-time countdown to token expiration, validate exp/nbf claims, and ensure tokens are still valid before making API requests.
Create Test Tokens
Generate valid JWTs for testing authentication flows, API endpoints, and authorization logic without setting up a full auth server.
Learn JWT Structure
Understand how JWTs work by decoding real tokens, examining headers and payloads, and seeing how different algorithms affect signatures.
Inspect Third-Party Tokens
Safely examine tokens from OAuth providers like Auth0, Okta, or Firebase to understand their claim structure and validate integration.
Frequently Asked Questions
Why We Built JWT Decoder & Encoder
Every developer working with modern authentication has encountered JWTs, and every developer has needed to quickly inspect what's inside one. Whether debugging authentication failures, verifying token claims, or understanding third-party tokens, you need a fast, reliable way to decode and examine JWTs without compromising security.
Unlike online tools that send your data to external servers, JWT Decoder & Encoder processes everything locally using JavaScript. This means your sensitive tokens and secrets never leave your computer. The tool works completely offline once loaded, making it safe for enterprise environments, air-gapped systems, and production debugging. Decode production tokens with confidence, verify signatures securely, and create test tokens without exposing sensitive authentication data.
JWT Decoder & Encoder is part of RJL.io's collection of free developer tools - each designed to do one thing exceptionally well, with no accounts, no tracking, and no data collection. Check out our other tools: UUID Generator, QR Code Generator, Base64 Encoder, Barcode Generator, and more. Every tool is 100% client-side, works offline, and respects your privacy.