JWT Decoder
100% FreePaste any JSON Web Token to decode header, payload claims, and inspect expiry status — 100% client-side, signature never leaves the browser.
Decoding is purely client-side. We do NOT verify the signature — that requires the secret/public key.
Embed This Tool
Easy to EmbedAdd JWT Decoder to your website or blog in seconds.
- Responsive design
- Lightweight & fast
- No backend required
- Always up-to-date
<iframe
src="https://tools.town/embed/jwt-decoder/"
width="100%"
height="600"
style="border:none; border-radius:12px;"
loading="lazy"
title="JWT Decoder">
</iframe> Advertisement
How to Use
- 1 Paste your JWT (or click 'Load sample' to try the canonical jwt.io example)
- 2 See decoded header (algorithm, type, key id)
- 3 See decoded payload with all standard and custom claims
- 4 View derived metadata: issued-at, expiry, time-to-live
- 5 Tokens are flagged red when expired or not-yet-valid
Features
- Instant base64url decode of header + payload
- Surfaces all standard claims (iss, sub, aud, exp, nbf, iat, jti)
- Pretty-prints custom claims with syntax highlighting
- Auto-detects expired tokens with relative-time display
- 100% client-side — your token never leaves the browser
- Does NOT verify signatures (use jwt-generator for that)
Why it Matters
Decoding a JWT in the terminal is fiddly — you have to base64url-decode each segment by hand. This tool does it instantly and surfaces the claims that actually matter for debugging: when the token expires, who issued it, what scopes it grants. Critical when you're chasing a 401 in production.
Use Cases
Debug Auth Issues
Find out why your token gets rejected — expired? wrong audience?
Check Expiry
See exactly when a session token will expire
Inspect Custom Claims
Verify roles, tenant IDs, and feature flags inside a token
Frequently Asked Questions
Does this verify the signature?
Is it safe to paste production tokens here?
Why is my token shown as 'expired' even though I just got it?
What's the difference between iat, nbf, and exp?
Related Tools You Might Like
UUID Generator
Generate cryptographically random RFC 4122 v4 UUIDs — single, bulk (up to 1000), with format options. 100% client-side.
Base64 Encoder/Decoder
Encode plain text to Base64 or decode Base64 back to text — Unicode-safe, instant, browser-only.
JWT Generator
Sign HMAC JWTs (HS256/HS384/HS512) for API testing — secret, payload, algorithm, signed token. Pairs with the JWT Decoder for round-trip verify.
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes instantly. Client-side.
SHA-256 Hash Generator
Generate SHA-256 hashes and HMAC-SHA256 signatures — the secure standard for file integrity, JWT signing, and API request signatures.