JWT Decoder
Decode and inspect JSON Web Tokens (JWT) instantly in your browser. Inspect header and payload claims, review human-readable expiration dates, and check token validity status. Decoded 100% locally with zero server requests.
Decoded locally. Signature is NOT verified. Do not paste production secrets.
All token decoding takes place strictly inside your browser sandbox via JavaScript. No token is ever transmitted to any server.
{
"alg": "HS256",
"typ": "JWT"
}{
"sub": "user_123456",
"name": "Alex Dev",
"email": "alex@example.com",
"role": "admin",
"iat": 1700000000,
"exp": 1800000000,
"iss": "castov.io"
}Client-Side JWT Parsing and Token Inspection
JSON Web Tokens (RFC 7519) are the industry standard for stateless authentication and authorization between modern web applications and microservices.
Debugging authorization headers and token payloads requires viewing the encoded claims without exposing sensitive user tokens to remote third-party servers. Castov decodes tokens purely in browser memory.
Automated Timestamp and Lifetime Verification
JWT timestamps like exp, iat, and nbf are stored as raw Unix epoch seconds. Our decoder automatically converts these numeric timestamps into human-readable UTC dates and displays relative validity badges.
This lets you instantly determine whether a token expired 5 minutes ago or remains valid for upcoming requests.
Want the background? Read our comprehensive guide: JSON Web Tokens (JWT) Security Best Practices.
How to use this tool
- Paste your encoded JWT (header.payload.signature) into the token input box.
- Inspect the decoded Header and Payload JSON structures in the side-by-side viewer.
- Review token lifetime claims including iat (Issued At), nbf (Not Before), and exp (Expires At).
- Copy the formatted JSON payload or header with the copy button.
Examples
JWT token structure and standard claims inspection.
Decoded Claims
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiZXhwIjoxODAwMDAwMDAwfQ...
- Algorithm (alg)
- HS256
- Subject (sub)
- 1234567890
- Expires (exp)
- Epoch timestamp verified locally
Frequently Asked Questions
Is it safe to paste JWT tokens into this decoder?
Does this tool verify the JWT signature?
What does the token validity status indicator mean?
What are standard JWT claims?
Why is a JWT composed of three parts separated by dots?
Related tools
- Base64 Encode / DecodeEncode and decode Base64 with UTF-8 Unicode and URL-safe support.
- JSON Formatter & ValidatorFormat, validate, minify, and sort JSON keys in your browser.
- UUID GeneratorGenerate cryptographically secure UUID v4 and v7 identifiers in bulk.
- Hash GeneratorGenerate SHA-256, SHA-512, SHA-1, and MD5 hashes for text and files.