JWT Decoder
Encoding & CryptoBase64, MD5/SHA/HMAC hashes, JWT decoder, URL query parser, and HTML entities — 100% client-side.
100% client-side — files and inputs never leave your browser.
{
"alg": "HS256",
"typ": "JWT"
}{
"sub": "usr_12345",
"name": "SyntixDev User",
"role": "admin",
"iat": 1760000000,
"exp": 1890000000
}About this tool and how it works
Reading a JSON Web Token
A JWT is three Base64URL segments separated by dots: header.payload.signature. The header names the signing algorithm (HS256, RS256, ES256), the payload holds claims about the user or session, and the signature proves the first two parts were not altered. Paste a token and this decoder shows the header and payload as formatted JSON and translates the time claims into readable dates.
Claims worth checking
exp— expiry, in Unix seconds. The decoder tells you whether the token is active, expired, or not yet valid.iat/nbf— issued-at and not-before. Anbfin the future explains "token not yet valid" errors, often caused by clock skew between servers.iss,aud,sub— who issued it, who it is for, and whom it describes. Mismatchedaudis a frequent cause of 401s when moving between environments.
Decoding is not verifying
Anyone can decode a JWT; the payload is only encoded, not encrypted. Trust comes from verifying the signature on your server with the issuer's secret or public key (often published as a JWKS). Never put secrets or personal data you would not show the user inside a JWT payload, and reject tokens whose header says "alg": "none".
Debugging workflow
When an API returns 401, copy the bearer token from your browser's network tab, paste it here, and check exp, aud, and iss before digging into server logs. Because decoding runs entirely in your browser, production tokens are not sent to a third-party site.
Frequently asked questions
Can this tool tell me if the signature is valid?
No. Verifying requires the signing secret or public key and should happen on your server. This tool decodes and inspects the header, payload, and time claims only.
Why does the expiry time look wrong by hours?
JWT times are UTC Unix seconds. The decoder shows both UTC and your local time zone; differences of whole hours are just the time zone offset.
Is it safe to paste a production token here?
Decoding happens locally and the token is never transmitted. Still treat live tokens like passwords: they grant access until they expire.
Other tools
Encode and decode UTF-8 text, URL-safe Base64, and image Data URIs.
Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512, HMAC, and file checksums.
Encode/decode URLs and convert query parameters to and from JSON.
Escape and unescape named, decimal, and hex HTML entities.
Create direct wa.me links with pre-filled messages and downloadable PNG QR codes.
Merge, split, compress, rotate pages, and convert between PDF and images 100% locally.
Shrink and convert JPG, PNG, and WebP images locally in your browser without uploading.
Inspect hidden GPS coordinates, author, company, revisions, and XMP metadata locally in your browser.
Convert length, weight, temperature, volume, area, speed, data size, and time instantly.