JWT Decoder & Generator: Inspect and Create JSON Web Tokens
Decode and inspect a JSON Web Token in the browser. The generator signs HS256 samples. Verification accepts HS256, HS384, and HS512 with a shared secret, and RS, ES, and PS tokens with a PEM key.
Key Features
- Decode JWT header and payload without sending to a server
- Verify HS256, HS384, and HS512 with a shared secret
- Verify RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, and PS512 with a PEM key
- Generate HS256 samples with a chosen length and expiry
- Syntax-highlighted JSON views for header and payload
- Copy encoded token or individual claim values
Common Use Cases
- Debug authentication issues in API integrations
- Inspect exp, iat, and custom claims in access tokens
- Generate test tokens for local development
- Verify token signatures during troubleshooting
- Learn JWT structure for OAuth and OpenID Connect
Benefits
- Secrets and tokens never leave your browser
- Instant decode without jwt.io or external APIs
- Supports the algorithms listed above. The none algorithm is rejected
- Free with no rate limits
Decode and Verify JWTs
Paste any JSON Web Token to instantly view its header, payload, and signature. The decoder highlights standard claims like exp and iat with human-readable dates, detects expiration, and verifies the signature with a shared secret or a PEM key.
All processing happens in your browser — tokens and secrets are never sent to a server.
Generate Signed Tokens
Use the Generator tab to create an HS256 sample. Choose a length and an expiry, then copy the token or an Authorization header. Verification uses the alg in the token header.
Explore More XSular Tools
XSular Tools offers a growing collection of free utilities designed for speed, privacy, and simplicity — all running in your browser with no signup. Password Strength Checker — Free Online Security Analyzer, Binary to Text Converter — Free Online Encoder & Decoder, Base64 Encoder & Decoder — Free Online Encode & Decode Tool, JSON Formatter — Free Online Beautifier & Validator, Hash Generator — Free Online MD5 & SHA Calculator, or UUID Generator — Free Online Unique ID Creator.
