JWT Decoder & HS256 Verifier
NEWJWT decoder that shows the header and payload as readable JSON, explains each claim, converts exp/iat to dates and verifies HS256 signatures. Token stays local.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
Decoding is not verifying: anyone can read and edit a JWT payload; only a valid signature proves who issued it. The token never leaves your browser.
Header
{
"alg": "HS256",
"typ": "JWT"
}alg: HS256 — Signing algorithm (HMAC with SHA-256 (shared secret))typ: JWT — Token type, usually JWT
Payload (claims)
{
"sub": "1234567890",
"name": "Jane Doe",
"role": "admin",
"iat": 1763424000,
"exp": 2000000000
}| Claim | Value | Meaning |
|---|---|---|
| sub | 1234567890 | Subject: the user or entity the token is about |
| name | Jane Doe | Full name of the user |
| role | admin | Custom claim |
| iat | 1763424000 2025-11-18 00:00:00 UTC | Issued at: when the token was created |
| exp | 2000000000 2033-05-18 03:33:20 UTC | Expiration time: the token must be rejected after this |
Signature
32 bytes
Quick Examples
Typical inputs and the results this tool produces.
Overview
A JSON Web Token (JWT) is three base64url-encoded parts joined by dots: a header that names the signing algorithm, a payload of claims such as the user ID and expiry time, and a signature. This JWT decoder splits a token, decodes the header and payload into formatted JSON and explains the standard claims like iss, sub, aud, exp, nbf and iat.
Time claims are shown as UTC dates, and a live status tells you whether the token is expired, not yet valid, or how long it remains valid. For tokens signed with HS256, HS384 or HS512 you can enter the shared secret and check the signature with the Web Crypto API. Remember that decoding is not verifying: anyone can read or change a payload, and only the signature proves the token is genuine.
Tokens and secrets are processed in your browser only and are never sent to a server, which matters for production tokens.
Why use this tool?
- Read token claims without writing code
- See at a glance if a token expired
- Verify HMAC signatures with your secret
- Explains every registered claim
- Tokens never leave your browser
Features
Header and payload
Both parts decoded from base64url and pretty-printed, with a copy button each.
Claim explanations
Registered and common OpenID Connect claims are described next to their values.
Expiry status
exp, nbf and iat are shown as dates with a live expired / valid-for message.
HMAC verification
Check HS256, HS384 and HS512 signatures with a text or Base64 secret.
Clear errors
Wrong part count, bad base64url characters and invalid JSON are reported per part.
JWE detection
Encrypted five-part tokens are recognised and their header is still decoded.
How to Use
Paste the token
Paste a JWT, with or without the "Bearer " prefix.
Read the claims
Check the decoded header, payload table and expiry status.
Verify (optional)
For HS256/384/512, enter the secret and click Verify signature.
Copy JSON
Copy the header or payload JSON for your notes or tests.