JWT Decoder
Decode a JWT to inspect its header, payload and claims like exp, iat, iss and aud, and see if it has expired. Tokens are decoded locally, never uploaded.
JWT
Stays in your browserShortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to JSON Parser or JWT Encoder / Signer.
Free Online JWT Decoder & Inspector
Paste a JSON Web Token to instantly decode its header and payload, see standard claims like issuer and subject highlighted, and check whether it's expired — all without the token ever leaving your browser. It helps developers inspect a bearer token during API debugging without attempting to verify a token signature or trust it.
What is a JWT?
A JSON Web Token (JWT) is a compact, URL-safe way to represent claims — statements about a user or session — that gets passed between two parties, most commonly used for authentication and authorization in web APIs. A JWT has three Base64URL-encoded segments separated by dots: a header (describing the signing algorithm), a payload (the actual claims), and a signature (proof the token hasn't been tampered with, verifiable only by whoever holds the signing secret or key).
How to decode a JWT online
Paste the full token — including all three dot-separated segments — into the input box and click Decode. The header and payload are decoded and pretty-printed instantly, standard claims like iss, sub, and exp are pulled out and highlighted with their meaning, and if the token has an expiration claim, you'll see whether it's currently active or expired and by how long.
Decoding vs. verifying
This tool decodes a JWT — it reads and displays the header and payload, which is possible for anyone since they're only encoded, not encrypted. It does not verify the signature, which would require the issuer's secret (for HMAC algorithms) or public key (for RSA/ECDSA algorithms). Never paste a production secret key into any online tool, including this one — decoding a token you already have doesn't require one.
Common use cases
- Debugging why an API call fails by inspecting the claims in the auth token being sent
- Checking whether an access token has expired without writing a script
- Understanding what data an identity provider (like Auth0, Firebase Auth, or a custom auth service) actually puts in its tokens
Worked example
Decoding the widely-used jwt.io example token — eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c — produces the header {"alg": "HS256", "typ": "JWT"} and payload {"sub": "1234567890", "name": "John Doe", "iat": 1516239022}. sub and iat are recognized as standard claims and shown with their meaning (Subject, Issued At); this token has no exp claim, so the expiration banner reports "No expiration (exp) claim in this token" rather than guessing.
Common mistakes and edge cases
- Pasting only the payload segment (or a JSON object copied from somewhere else) instead of the full three-part token fails immediately — a JWT must have exactly 3 dot-separated segments.
- A token with no
expclaim doesn't show as "active" or "expired" — it explicitly says there's no expiration claim, since guessing either status would be misleading. - Decoding alone does not prove a token is genuine. Use Verify signature with the issuer's key, and remember that a token can also be revoked or rejected by the server for other reasons.