JWT Decoder
Inspect a JSON Web Token without sending it to a server. The decoder shows the header, payload and time claims, warns about alg=none, and can verify HS256 or RS256 signatures against a key you supply.
Three dot-separated base64url parts. Decoding is local; the token is never stored, logged, put in the URL or sent to analytics.
—
—
| Claim | Value | Status |
|---|
Verification does not prove the issuer is trustworthy; it only checks the signature against the key or secret you supply.
How it works
- Paste the token or load the sample and select Decode.
- Review the header, payload and claim status table; expired and not-yet-valid times are labelled.
- Optionally paste an HMAC secret or RSA public key and verify the signature.
Supported input and limits
| Input | JWT string, HMAC secret, PEM public key |
|---|---|
| Output | Decoded header/payload, Claim table, Signature status |
| Size limit | Not applicable |
| Offline | Verified after the page and its script are cached |
- Only HS256/384/512 and RS256 verification are implemented.
- JWKS discovery and automatic key fetching are not supported.
- The tool does not validate issuer, audience or business claims for you.
- Token values are not stored, logged or sent to analytics.
Privacy
This tool runs entirely in your browser. Your input is not uploaded, logged or stored by TinkerFern. Read the privacy policy.
Frequently asked questions
Does decoding verify the token?
No. Decoding only base64url-decodes the header and payload. Signature verification is a separate action and uses the secret or public key you provide. A decoded token is untrusted data.
Which verification algorithms are supported?
HS256/384/512 with an HMAC secret and RS256 with a PEM public key. The UI verifies with the method you select; it does not silently trust the alg header.
Why is an expired token still decoded?
Decoding and claim inspection are separate from validity. The claim table marks exp as expired so you can diagnose a rejected request without assuming the parser failed.
Is it safe to paste a production token?
The token stays in the page and is not stored or transmitted, but any browser extension with page access could read it. For high-value production secrets, use a trusted local tool or rotate the token afterwards.
What does alg=none mean?
It declares an unsigned token. Such a token cannot be trusted for authentication. The decoder shows a warning and never treats it as verified.
Related tools
Continue with a task that often follows this one.
Hash Generator
Generate SHA-1, SHA-256, SHA-384, SHA-512 and legacy MD5 hashes.
Base64 Encoder / Decoder
Encode UTF-8 text to Base64 or decode it back safely.
JSON Formatter & Validator
Format, minify and validate JSON with precise error locations.
URL Encoder & Decoder
Encode or decode URLs and inspect query parameters safely.
Read the guide
Background for this task, with the trade-offs explained.