Developer Tools
JWT Decoder and Signature Verifier
Decode a JSON Web Token's header and payload, see exp and iat in local time and UTC, and verify HS256, RS256, PS256, ES256 or EdDSA signatures in your browser.
How to use JWT Decoder and Signature Verifier
Paste a token, with or without the Bearer prefix, to see its header, payload and time claims straight away. To check the signature, add the shared secret for HS algorithms, or a PEM public key or JWK for RS, PS, ES and EdDSA.
- Paste the tokenPaste a JWT starting with eyJ…; an Authorization: Bearer prefix and any line breaks are stripped automatically.
- Read the claimsCheck the decoded header and payload, the expiry status and the table of exp, nbf and iat in local time and UTC.
- Verify the signatureEnter the secret (text, Base64 or hex) or a public key; Signature then shows Valid, Invalid or why it could not be checked.
What the decoder does with your token
A JWT is three Base64URL segments separated by dots: header, payload and signature. The decoder strips any Bearer prefix and whitespace, decodes the first two segments as UTF-8 JSON and shows them formatted, so names with accents or non-Latin scripts display correctly. Time claims (exp, nbf, iat, auth_time and updated_at) are listed in local time and UTC, and the expiry status tells you whether the token is valid now, expired or not yet valid. A five-part token is a JWE, which is encrypted and cannot be read without the private key, and alg none is flagged because such tokens are unsigned.
Signature verification options
HS256, HS384 and HS512 use a shared secret; set HS secret format to Text, Base64/Base64URL or Hex to match how the secret was issued. RS256/384/512, PS256/384/512, ES256/384/512 and EdDSA need a public key, either a PEM block that starts BEGIN PUBLIC KEY or a JWK. If you paste a JWK Set, the key whose kid matches the token header is used. Private keys, PKCS#1 keys and certificates are rejected with a hint about what to paste instead. The sample token is signed with your-256-bit-secret: enter it and Signature changes to Valid.
Accuracy and data handling
Validate the result with your project's own tests and runtime rules before using it in production. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
Is it safe to paste a production JWT here?
Decoding and verification run locally in your browser, using the Web Crypto API for signatures, and the token and key are not uploaded. Even so, treat live tokens like passwords and use expired or test tokens where you can.
Why does the signature show Invalid?
Usually the secret is wrong, the secret format is wrong (a Base64 secret read as text, for instance) or the token was changed after signing. HS secrets must match exactly, including case and spaces.
Can it read an encrypted JWE?
No. A JWE has five parts and an encrypted payload, so it needs the recipient's private key. The decoder recognises five-part tokens and says so instead of showing unreadable output.
Is a token with alg none valid?
It has no signature, so anyone can forge its contents and a server should always reject it. The decoder shows a warning and will not try to verify such a token.
More Developer Tools
Related toolsConvert YAML to JSON and back, with anchors, merge keys and multiple documents
Beautify messy SQL clause by clause or squeeze it onto a single line
Pretty-print or minify XML and pinpoint errors by line and column
Convert between binary, octal, decimal, hex and bases 2–36, even for huge numbers
Turn text into ASCII codes, or decode decimal, hex and binary codes to text
Convert text to Unicode escapes for JS, Python, HTML or CSS, and decode them