Skip to content

JWT Decoder and Signature Checker

Decode a JSON Web Token’s header and claims, see when it expires, and optionally verify its signature with your key. Runs in your browser: nothing is uploaded.

Runs in your browser

Everything happens on your device: nothing you paste or type is sent to our server or stored. What you enter here is treated as private, so it never goes into a link.

Decoding is not verifying. Anyone can write any header and claims into a token. Trust it only after its signature checks out with the issuer’s key, below or on your server.

Leeway for exp and nbf, for clocks that disagree a little. Servers often allow 30–60 seconds.

More options

Only for verifying HS256, HS384 and HS512 tokens.

Decoded. expired. Signature not verified.

Header

{
  "typ": "JWT",
  "alg": "HS256"
}

Payload (claims)

{
  "iss": "joe",
  "exp": 1300819380,
  "http://example.com/is_root": true
}

Registered claims

  • iss "joe"

    Issuer: who created and signed the token

  • exp 1300819380expired

    2011-03-22T18:43:00Z UTC

    Expires: the token must not be accepted after this time

Verify the signature (optional)

Checked in this tab with the jose library and then forgotten. Never paste a private key: verifying needs only the public one.

  • Warning: This token expired at 2011-03-22T18:43:00.000Z (UTC).
Algorithm (alg)
HS256
Type (typ)
JWT
Expires (UTC)
2011-03-22T18:43:00.000Z
Time limits
expired

Method: JWT (RFC 7519) / JWS compact serialization (RFC 7515), Base64url (RFC 4648 §5) · FindMySum decoder (no library)

The link holds your settings only: what you enter here is private and never goes into a link.

How it works

A JWT in compact form is three Base64url strings joined by dots: a header, a payload and a signature (RFC 7515 and RFC 7519). The decoder splits the token, turns each of the first two parts back into text and reads it as JSON, then lays out the registered claims and converts exp, nbf and iat, which count seconds since 1 January 1970, into dates. The token is compared with your device's clock, with an optional leeway for clocks that disagree.

Decoding uses our own code and runs in your browser as you type. Because a token can grant access to an account, it is never put in the page address, a share link, browser storage or analytics, and the input asks browsers not to spellcheck or save it.

Checking the signature is a separate, optional step. When you enter a secret or a public key, the page loads the open-source jose library and verifies the signature in your browser with the Web Crypto API: HMAC for HS256 to HS512, RSA for RS and PS, elliptic curves for ES256 to ES512, and Ed25519 for EdDSA. It was tested against the signed examples in RFC 7515 and RFC 8037. The key is used once and forgotten.

Standards this tool follows

JWT Decoder: Read a JSON Web Token and Check Its Signature

By FindMySum · Last reviewed

This JWT decoder shows what is inside a JSON Web Token: the header that names the signing algorithm, the claims about who the token is for and when it expires, and the signature. Paste a token to read it, and add the issuer's secret or public key if you want to check that the signature is genuine. Everything stays in your browser.

What a JWT is for

Most sign-in systems built on OAuth 2.0 and OpenID Connect hand out JWTs as access tokens and ID tokens. A server reads the claims to decide who you are and what you may do, without a database lookup, because the signature proves the issuer wrote them. Developers decode tokens to debug login problems: a wrong audience, a token that expired a minute ago, a clock that runs fast, or a missing scope.

How to use the tool

  1. Paste the token. A Bearer prefix copied from an Authorization header is ignored.
  2. Read the header and payload. Registered claims are listed with their meaning, and times are shown as dates.
  3. If the token looks expired or not yet valid, check the leeway setting: servers often allow 30 to 60 seconds of clock difference.
  4. To verify, paste the shared secret (HS algorithms) or the public key as PEM, a certificate, a JWK or a JWK Set from the issuer's JWKS address, and choose Verify signature.

A worked example

The example token is the one RFC 7519 uses. Its header decodes to {"typ":"JWT","alg":"HS256"}, so it is signed with HMAC-SHA256. Its payload says the issuer is joe and that it expires at 1300819380, which is 22 March 2011 at 18:43 UTC, so the decoder marks it as expired. With the example key from RFC 7515 Appendix A.1 the signature verifies; change one character of the payload and it no longer does.

Common mistakes

Trusting a decoded token. Decoding proves nothing. Only a verified signature, the expected algorithm and valid times make a token trustworthy.

Putting secrets in the payload. Anyone who holds the token can read every claim. Keep passwords, personal details and internal identifiers out of it.

Mixing up seconds and milliseconds. JWT times are in seconds. A JavaScript Date.now() value is in milliseconds and puts the expiry tens of thousands of years in the future.

Verifying with the wrong key type. HS256 needs the shared secret; RS256 needs the issuer's public key, not its private key.

To read other Base64 data, use Base64 decode and encode; to turn a timestamp into a date, use the Unix timestamp converter.

Sources

Frequently Asked Questions

Is it safe to paste a real token here?

The token is decoded on your device and never sent anywhere or saved, so this page doesn't expose it. Still, treat production tokens like passwords: anyone holding one can use it until it expires. Prefer test tokens, and never paste a private signing key into any web page.

Why does the decoder show the claims if the signature is wrong?

Because the header and payload are only Base64url-encoded, not encrypted: anyone can read them, and anyone can write new ones. That's why a server must verify the signature, check the algorithm it expects and check exp, nbf and the audience before trusting a single claim.

What does alg none mean?

An unsigned token. RFC 7519 allows it for special cases, but a server that accepts alg none lets anyone forge tokens, which has caused real breaches. RFC 8725 says to reject it unless you have deliberately chosen to allow it.

Can it decode an encrypted token (JWE)?

It recognises one, because a JWE has five parts instead of three, and shows its header, which names the encryption algorithm. The content can only be read with the recipient's private key, so it isn't decrypted here.

Spotted a wrong result or a bug? Report a problem (the link sends the page address only, never what you entered).

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy