JWT Decoder
Paste a JSON Web Token to read its header and claims, see whether it's expired, and optionally verify the signature with a secret or public key — all without the token leaving your browser.
- PrivateYour data never leaves this device
- No uploadsProcessed in your browser, not on a server
- 100% freeNo signup, no watermark, no trial
- UnlimitedUse it as often as you like, no daily caps
Encoded token
How to use the JWT Decoder
- Paste your JWT — a “Bearer ” prefix is removed automatically.
- Read the decoded header and payload, and the claims table with human-readable times.
- Check the status line: expired, not yet valid, or valid for how much longer.
- To verify the signature, enter the HMAC secret or paste the public key (PEM, certificate or JWK).
Latest guides
All →
SEO & MarketingHow to make a Wi-Fi QR code so guests join without typing
Make a WiFi QR code so guests join your network by pointing a phone camera at it. The format, hidden networks, special characters, safety…
12 Nov 20266 min read
PDF ToolsHow to watermark NID and certificate copies before sharing
Watermark NID copy and certificate PDFs with who it is for, the purpose and the date, so a copy given for one job is hard to reuse for…
12 Nov 20265 min read
PDF ToolsHow to number the pages of a thesis or project report PDF
Thesis page numbering made simple: the usual rules for front pages and chapters, and how to number a finished PDF from Chapter 1 for free…
12 Nov 20265 min readFrequently asked questions
Is it safe to decode a JWT online?
Decoding itself is harmless — a JWT's header and payload are only Base64url-encoded, not encrypted. The risk is sites that send your token to their server, where a still-valid token could be reused. This tool decodes and verifies everything locally in your browser.
Can a JWT be decoded without the secret?
Yes. Anyone can read a signed JWT (JWS); the secret or key is only needed to verify the signature or create new tokens. That's why you should never put passwords or other secrets in a JWT payload. Encrypted JWTs (JWE, 5 parts) can't be read without the key.
What do exp, iat and nbf mean?
They are times in seconds since 1 January 1970 (UTC). exp is when the token expires, iat is when it was issued, and nbf (“not before”) is when it becomes valid. Servers usually allow a small clock skew of a minute or so.
What's the difference between HS256 and RS256?
HS256 uses one shared secret for both signing and verifying, so every verifier could also forge tokens. RS256 (and ES256, PS256, EdDSA) sign with a private key and verify with a public key, so services can verify tokens without being able to create them.
Why is “alg: none” dangerous?
A token with alg “none” has no signature, so anyone can write any claims into it. Libraries must reject such tokens unless explicitly configured otherwise; accepting them has caused real authentication bypasses.
Where do I find the public key to verify a token?
Most identity providers publish their keys as a JWK Set at a URL like https://your-issuer/.well-known/jwks.json (linked from /.well-known/openid-configuration). Paste that JSON here — the key matching the token's kid is picked automatically.