JWT Decoder — Inspect Token Header & Payload
Decode JWT tokens instantly to see header, payload, and expiry. Learn why the payload is not encrypted. Client-side only—no server.
Decoded entirely in your browser. Tokens never leave your device.
You're on 7BusyBoss — 300+ free tools that run instantly in your browser. No signup, nothing uploaded.
Decoding a JWT is not verifying it
A JWT has three base64url-encoded segments: header, payload, and signature. The header and payload are encoded, not encrypted — anyone with the token can read every claim. This tool decodes and displays both. But decoding is not verification. Checking the signature requires the issuer's key. This tool shows the signature but does not verify it.
What you see when you decode a JWT
When you paste a JWT, this tool base64url-decodes each segment and displays the header and payload as JSON. The header contains the algorithm and token type. The payload contains user ID, roles, email, expiry time, and custom claims — all readable to anyone. Never store passwords, card numbers, or personal data in a JWT.
If the payload has exp (expiration time), the tool converts it to a readable date and flags whether the token is valid or expired. The iat (issued-at) timestamp is shown.
Why the payload is not secret
Developers assume the JWT payload is protected because it is used for authentication. It is not. Base64url encoding is for transport, not security. Anyone with the token can decode it in seconds.
Two critical consequences:
- Never put confidential data in a JWT payload.
- Never trust a decoded token for authorization. Anyone can craft a JWT claiming
"role": "admin". Only server-side signature verification with the issuer's key proves a claim is real.
What this tool does and does not do
This tool decodes JWTs in your browser — no token leaves your device. It splits the token, decodes each segment, parses the JSON, and displays the results. Malformed tokens show an error. Expired tokens are flagged in red.
What it does not do: verify the signature, validate the issuer, check the key, or perform any cryptographic operation. To verify a JWT, use a library on your backend with the issuer's key. This tool is for inspection only. See the Base64 Decoder to understand why base64 is not encryption.
How to use the JWT Decoder
Takes about a minute. No signup, no download, your data stays in your browser.
- 1Open the tool. Scroll up to the JWT Decoder above — it loads instantly in your browser, no install needed.
- 2Enter your values. The fields come pre-filled with realistic defaults so you can see how it works — replace them with your own numbers.
- 3Read the result. The output updates instantly. Copy or share it — nothing is uploaded to a server, everything stays on your device.
Frequently asked questions
Common questions about the JWT Decoder.
Is a JWT encrypted?
No. A JWT is three base64url-encoded segments, not encrypted. The header and payload are readable to anyone with the token — base64url is encoding for size and transport, not encryption. Only the signature requires the issuer's key to verify.
Can anyone read my JWT?
Yes. The header and payload are not secret — anyone with the token can decode them in seconds. This tool does exactly that. Never put passwords, card numbers, or personal data in a JWT payload. The payload is visible to every bearer of the token.
How do I verify a JWT signature?
You need the issuer's secret or public key, which must be on your backend only. Use a JWT library in your server code. A web tool cannot safely perform signature verification — the key must never leave your backend, and a live token pasted into any web page is already compromised.
Is it safe to paste a JWT into a website?
No. Never paste production JWTs into any web tool, even a client-side one. A JWT is a live credential that can be used immediately by anyone with it. If you must test a token, use an expired one or one generated in a lab environment, never a real token from production.
Community rating
Discussion (0)
No comments yet. Start the discussion.
Keep exploring
Related tools across 7BusyBoss — all free, all instant.
More in Encoders & Decoders
- URL Encoder & Decoder
- Base64 Encoder & Decoder
- Image to Base64 Converter
- HTML Encoder & Decoder
- Hash Generator (SHA family)