JWT Decoder
Decode JSON Web Tokens instantly: inspect the header, payload and standard claims, check expiry, and verify HMAC (HS256/HS384/HS512) signatures.
Encoded Token
🔒 Your token never leaves your browser. Decoding and signature verification run locally using JavaScript and the Web Crypto API — nothing is sent to any server or logged.
Decoded
HEADER · algorithm & token type
PAYLOAD · data & claims
SIGNATURE
Claims
| Claim | Value | Meaning |
|---|---|---|
| Paste a token to see its claims. | ||
Verify Signature (optional · HS256 / HS384 / HS512)
Algorithm from header: —
Asymmetric algorithms (RS*, ES*, PS*, EdDSA) need a public key and are not verified here.
How to Use the JWT Decoder
Decoding
- Paste a JWT into Encoded Token — it is decoded as you type
- The token is split into colored header, payload and signature parts
- Read the Claims table for explanations and human-readable dates
- The badge shows whether the token is valid, expired or not yet valid
Verifying
- For HS256 / HS384 / HS512 tokens, enter the shared secret
- Tick Base64 encoded if your secret is stored that way
- Click Verify (or press Ctrl+Enter) to check the HMAC signature
- Try Load Example Token — it is signed with
your-256-bit-secret
What is a JWT?
A JSON Web Token (JWT, RFC 7519) is a compact, URL-safe token made of three Base64url-encoded parts separated by dots: a header (algorithm and type), a payload (claims such as user ID and expiry) and a signature that proves the token was issued by someone holding the key. The payload is only encoded, not encrypted — anyone can read it, so never put secrets in a JWT. Decoding does not prove authenticity; always verify the signature on your server.
Privacy & Security: Tokens and secrets are processed entirely in your browser using the Web Crypto API. Nothing is sent to any server, stored or logged.