JWT Decoder
Paste any JSON Web Token (JWT) to see the decoded header, payload, and expiration status. Everything happens in your browser — the token never leaves your device.
{
"alg": "HS256",
"typ": "JWT"
}{
"sub": "1234567890",
"name": "John Doe",
"iat": 1516239022
}Signature verification is not performed here — we don't have your signing key, and you should never paste it into a browser tool.
How to use
- 1Paste the JWT
Three base64url segments separated by dots: header.payload.signature.
- 2Read the decoded header
Algorithm (alg), token type (typ), and any custom header fields.
- 3Read the payload claims
Standard claims (iss, sub, aud, exp, iat, nbf) plus any custom claims you added.
- 4Check expiration
If exp is in the past, the token is stale. If nbf is in the future, it is not yet valid.
Examples
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmFtZSI6IkFsZXgiLCJpYXQiOjE3MzU2ODk2MDB9.abc123
Header: { "alg": "HS256", "typ": "JWT" }
Payload: { "sub": "1234", "name": "Alex", "iat": 1735689600 }eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0MiIsImV4cCI6MTcwMDAwMDAwMH0.xyz
Payload: { "sub": "42", "exp": 1700000000 }
Status: expired (2023-11-14T22:13:20Z)Frequently asked
No — verifying a signature requires the signing key, and pasting a signing key into any browser tool is a security anti-pattern. Verify signatures in your server code with a library like jose or jsonwebtoken.
The token never leaves your browser. We do not log, store, or transmit it. That said, avoid pasting production tokens into any tool — always use a scoped test token.
It shows the raw JSON of both header and payload, and specifically highlights iat (issued-at), nbf (not-before), and exp (expiration) with human-readable timestamps.
Related tools
- Base64 Encode / DecodeEncode or decode Base64 text. UTF-8 safe by default. Optional URL-safe variant.
- Hash GeneratorInstantly compute MD5 and SHA-family hashes of any text. All hashing happens in
- UUID GeneratorGenerate cryptographically-strong UUIDs in bulk. Supports v4 (random), v7 (time-
- .env File ParserParse a .env file and see it as a JSON object. Handles comments, quoted values,
- Base ConverterConvert numbers between binary, octal, decimal, and hexadecimal. Supports huge n
- Credit Card ValidatorValidate credit card numbers with the Luhn algorithm and detect the brand: Visa,