Developer Tools
JWT Decoder
Read a JSON Web Token header and payload locally. Decoding does not verify the signature.
Decoding Is Not Verifying
A JSON Web Token is three Base64URL parts: header, payload, signature. Decoding exposes the claims — subject, expiry, issuer — but says nothing about authenticity. Anyone can craft a token with any payload; only the signature, checked with the issuer's key, proves it. This tool deliberately decodes and stops: signature verification requires the secret or public key and belongs in your backend.
The most common production bug hides in the exp claim: it counts seconds since epoch, not milliseconds. Reading a decoded exp of 1,800,000,000 as "expired" when your library compares in milliseconds — or the reverse — produces auth loops that look like clock skew.
How the Tool Works
- Paste a JSON Web Token — the three dot-separated base64url sections (header.payload.signature).
- The header is decoded to show the signing algorithm (alg) and token type (typ).
- The payload is decoded into a readable JSON object where standard claims such as iss, sub, exp, and iat are highlighted.
- Expiration/issued-at timestamps are converted to human-readable local time so you can judge validity at a glance.
Example Input & Output
Common Questions
Does this tool verify the signature?
No. The signature cannot be verified without the secret key or public key. This tool only decodes the header and payload — treat any data you paste as readable by anyone.
Is it dangerous to paste a token here?
The decode happens locally and nothing is transmitted, but you should still avoid pasting live production tokens out of habit: JWTs are not encrypted, only signed.
What is base64url?
Base64 with URL-safe characters (- and _ instead of + and /) and no padding. It is the encoding JWT parts use so they fit safely in URLs and headers.
Related Developer Tools
JSON Formatter & Validator
Professional developer utility to format, validate, and minify JSON with precise line/column syntax error detection and payload size statistics.
Unix Timestamp Converter
Translate epoch timestamps and ISO dates while showing UTC and local browser time.
Regex Tester & Debugger
Experiment with regular expressions, inspect every matched occurrence and named capture group, and test replacements with zero server transmission.