JWT Decoder

Decode a JWT header and payload, and optionally verify it.

jwt-decoder.local

How to use it

  1. Paste a JWT.
  2. Read the decoded header and payload.
  3. To check an HS256 signature, enter the secret and click Verify.

About this tool

The JWT decoder splits a token and base64url decodes the header and payload to readable JSON, and shows the signature. Decoding does not check the signature, so treat decoded contents as unverified until checked. For HS256 tokens you can paste the secret and verify the signature locally with Web Crypto. Everything runs in your browser, so only paste secrets on a device you trust.

Examples

InputA standard JWT
OutputDecoded header and payload as JSON
InputAn HS256 token plus its secret
OutputSignature valid or invalid

Common uses

  • Inspect the claims inside a JWT
  • Check a token expiry or subject
  • Debug an authentication flow
  • Verify an HS256 signature locally

FAQ

Is the token sent anywhere?
No. Decoding and verification run entirely in your browser. The token and secret never leave your device.
Does decoding verify the token?
No. Decoding only reads the contents. Use the optional HS256 verify to check that the signature matches a secret.
Which algorithms can it verify?
HS256 only, using Web Crypto HMAC. Other algorithms are decoded but not verified here.

Related tools

Embed this tool

Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.

<iframe src="https://tooldok.com/embed/jwt-decoder/" title="JWT Decoder by Tooldok" width="100%" height="560" style="border:1px solid #16130d;border-radius:16px;max-width:720px" loading="lazy"></iframe> <p style="font:13px sans-serif"><a href="https://tooldok.com/tools/jwt-decoder/" target="_blank" rel="noopener">JWT Decoder</a> by <a href="https://tooldok.com/" target="_blank" rel="noopener">Tooldok</a></p>