JWT Decoder
Decode JSON Web Tokens to inspect the header and payload, with human-readable expiry, and optional HS256 signature verification.
About the JWT Decoder
Decode a JSON Web Token to inspect its header and payload, see human-readable expiry, and optionally verify HMAC signatures — all locally in your browser.
What this tool does
Paste a JWT and the tool splits it into header, payload, and signature, decodes the base64url segments, and pretty-prints the JSON. Time claims like exp, iat, and nbf are shown as readable dates, and expired tokens are flagged.
Signature verification
For HMAC algorithms (HS256, HS384, HS512) you can paste the secret to check whether the signature is valid. The check runs in your browser using the Web Crypto API. Asymmetric algorithms (RS, ES, PS) rely on public/private key pairs and are not verified here.
- Green check: the secret matches and the token is authentic.
- Red cross: the secret is wrong or the token was tampered with.
- Decoding a JWT does not require the secret — only verification does.
Security note
A JWT payload is only base64-encoded, not encrypted — anyone can read it. Never store secrets or sensitive data in a JWT payload, and always verify the signature server-side before trusting a token.
FAQ
Is my token sent to a server?
Can it verify RS256 tokens?
Why can I read the payload without a key?
What does 'expired' mean?
Related tools
Pro tip: pair this tool with Upside Down Text Generator and Text Similarity Checker for a faster SEO workflow.