JWT Decoder
Paste or drop your data here, or open a file.
New to Bracely?
Everything stays in your browser.
Output appears here
Paste or open your data in the input box. It never leaves your browser.
JWT Decoder
Paste a JSON Web Token, even with Bearer or Authorization: in front of it, to see its header, payload and every claim explained on one page, with expiry checked. Add the secret or public key and the signature is verified right there. You can also sign new tokens.
How do I use the JWT Decoder?
- Paste the token, as it comes: Bearer prefix, quotes and line breaks are cleaned up.
- Read the header, the payload and what each claim means.
- To check the signature, put the shared secret or the public key (PEM, certificate, JWK or JWKS) in Secret or key.
What does the JWT Decoder do?
- Header, payload, claims and signature on one page, with exp, iat and nbf checked against the clock
- Verifies HS256/384/512, RS, PS and ES 256/384/512 and EdDSA signatures
- Reads PEM public keys, X.509 certificates, JWKs and JWKS key sets (picked by kid)
- Warns about HMAC secrets shorter than RFC 7518 allows
- Signs new tokens with a secret or a private key, with your own header
- Secrets and keys are never saved or put in share links
Frequently asked questions
- Is it safe to paste a production JWT?
- The token is decoded on your device and never sent anywhere. Even so, treat live tokens with care.
- Can it verify the signature?
- Yes. Enter the shared secret, or the issuer's public key as PEM, a certificate, a JWK or the JWKS from its /.well-known/jwks.json, and the result shows at once.
- Can I paste the whole Authorization header?
- Yes. Bearer, Authorization:, quotes, line breaks and callback URLs with id_token= are stripped before decoding.
- Why does my token show as expired?
- The exp claim is in the past. Bracely shows the exact expiry time next to it.
More JSON tools
Bracely has 108 JSON tools in one page. Related ones:
- JSON Escape
- Base64 to JSON
- Certificate decoder
- Unescape JSON
- URL encode / decode
- HTML entity encoder
- GZIP decompress
- JSON Stringify
- Slug generator
- QR code generator
- Webhook signature
- JSON to Base64
- Protobuf decoder
- Mask JSON data
- JSON PII scanner
- JSON stats
- JSON field explorer
- JSON Formatter
- JSON Validator
- JSON Viewer
- JSON Repair
- JSON Diff
- JSON to YAML
- JSON to CSV
- jq Playground
Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut · About · Privacy policy
Last updated · Version 6.7 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram