JWT Decoder & Inspector
Decode a JSON Web Token (JWT) to read its header and claims, and see what its exp, nbf and iat times mean as UTC dates. A compact JWT is three Base64URL segments, header.payload.signature, and the first two are UTF-8 JSON that anyone can read. This tool inspects the token's structure in your browser. It does not verify the signature, so nothing it shows is proof that the token is genuine or valid.
- Free to use
- No account required
- Decoded in your browser
JWT Decoder & Inspector
Was this tool helpful?
Good to know
- Useful for
- Debugging login and API problems, checking which claims and scopes a token carries, seeing when a token claims to expire, and spotting malformed, unsecured (alg: none) or encrypted tokens.
- Accepts
- One compact JWS/JWT of up to 128 KiB (header up to 16 KiB, payload up to 96 KiB)
- Produces
- The decoded header and payload as formatted JSON, the declared algorithm, the signature's size, the standard claims and UTC interpretations of exp, nbf and iat, with a preview of up to 4,096 characters per JSON block
Privacy
The token is decoded in your browser. It isn't uploaded, logged, sent to analytics or an AI service, or saved in browser storage, cookies or the page address, and reloading the page clears it. A JWT is often a live bearer credential, so treat it like a password, and remember that clearing the page doesn't securely erase browser memory or your clipboard.
Limitations
- The signature is never verified. Verification needs the issuer's key and belongs in a JWT library on your server, so an issuer, audience or expiry shown here is only what the token claims.
- Expiration and not-before statements compare unverified claims with this device's clock at the moment you press Decode, and aren't updated afterwards.
- Only three-part compact JWS/JWT is supported. Encrypted JWE tokens, nested tokens (cty: JWT), critical header extensions (crit), unencoded payloads (b64: false) and detached payloads are reported instead of decoded.
- Decoding is strict. Padding, standard Base64 characters, whitespace inside the token, invalid UTF-8, malformed JSON, duplicate member names and nesting deeper than 64 levels are reported, never repaired.
- The signature bytes are counted but not displayed or exported, and the whole token can't be copied from here.
Tips
- A JWT is three Base64URL segments: decode a single segment by hand with the Base64 Encoder & Decoder (/text/base64-encoder-decoder) using the URL-safe alphabet.
- Copied the payload? Explore larger claim sets with the JSON Formatter (/text/json-formatter).
- Need a strong secret for a test environment? Use the Password Generator (/security/password-generator), and check downloaded key files with the File Hash Checker (/security/file-hash-checker).
How to decode and inspect a JWT
- Paste the token only, without the "Bearer " prefix.
- Press Decode JWT.
- Read the warnings first, including the "Signature NOT verified" notice.
- Check the declared algorithm, signature length, standard claims and the exp, nbf and iat interpretations.
- Copy the decoded header or payload JSON if you need it, then press Clear.
Frequently asked questions
What is a JWT decoder?
A JWT decoder turns a JSON Web Token back into readable JSON. A compact JWT is three Base64URL segments separated by dots, header.payload.signature. The header names the token type and the claimed signing algorithm, and the payload holds claims such as iss, sub, aud and exp. This tool decodes the header and payload, explains the standard claims and shows the size of the signature, entirely in your browser.
Can I decode a JWT without a secret key?
Yes. The header and payload of a signed JWT are only Base64URL-encoded, not encrypted, so anyone can read them without a key. That is also why sensitive data shouldn't be put in JWT claims. A key is needed only to verify the signature or to decrypt an encrypted JWE, and this tool never asks for one.
Does decoding a JWT verify its signature?
No. Decoding only reads what the token says; anyone can create a token with any claims. Verification means recomputing or checking the signature with the issuer's key, using an algorithm you have chosen in advance rather than the one the token declares. This tool never verifies signatures, so its results always say "Signature NOT verified" and must not be used to decide whether to trust a token.
How do I read the expiration (exp) claim?
exp is a NumericDate: the number of seconds since 1970-01-01 00:00:00 UTC, not milliseconds. For example, 1300819380 is 2011-03-22 18:43:00 UTC. The tool shows the UTC date and whether that claimed time has passed according to your device's clock when you pressed Decode; at exactly the exp time it counts as passed. It's an interpretation of an unverified claim, not proof of whether the issuing system still accepts the token.
What do iat and nbf mean in a JWT?
iat (issued at) is when the token claims it was created, and nbf (not before) is the time before which it claims it must not be accepted. Both are NumericDates in seconds since 1970 UTC, and both can include fractions of a second. The tool shows each as a UTC date and notes when nbf hasn't been reached yet or iat is in the future. The issuer's clock may differ from yours.
What is the difference between a JWT and a JWE?
A signed JWT (JWS) has three segments and its claims are readable by anyone; the signature only protects against changes. A JWE is encrypted, normally has five segments (header, encrypted key, IV, ciphertext and tag), and its contents can be read only with the recipient's key. This tool recognises JWE tokens and explains that it can't decrypt them; it never asks for a private key.
What does alg: none mean?
alg: none marks an unsecured JWT with an empty signature segment, so nothing protects it: anyone can create or change it. The tool still decodes such a token but shows a prominent warning. Servers should reject none unless they deliberately expect unsecured tokens. A token that declares none but still has a signature segment is reported as inconsistent.
Is it safe to decode a JWT here, and is my token uploaded?
Decoding happens entirely in your browser: the token isn't uploaded, logged, sent to analytics or saved in browser storage, cookies or the page address, and it disappears when you reload. Still, a JWT is often a live credential that lets whoever holds it act as you, so avoid pasting production tokens into any website you don't trust, clear the page when you're done, and remember that anything you copy stays on your clipboard.
Related network and security tools
Related guides
- 10 min readHow to Decode a JWT and Read Its Expiry (Without Trusting It)Read a JWT's header and claims, convert exp, nbf and iat to UTC dates, and see why decoding doesn't prove a token is genuine. Tested on six fictional tokens, including alg none.
- 6 min readWhat to Do If Your Password Appears in a Data BreachA found password isn't proof your account was breached, but stop using it. Change email first, then reused logins, and add a passkey or 2SV.
- 10 min readHow to Verify a Download with a SHA-256 ChecksumCompare a download's SHA-256 hash with the publisher's checksum, see what a match proves and what it doesn't, what to paste from a SHA256SUMS line, and what to do when the checksums don't match.

