JWT Decoder

Decode a JSON Web Token: header, claims, dates, and check the signature.

Result

Signature Valid ✓ Signed with HS256 using the secret you entered
Algorithm
HS256
Type
JWT
  • Decoding is not verifying: anyone can read a token. Only the signature shows whether it can be trusted, and only your server should make that decision.
  • This token has no exp (expiry) claim, so it never expires on its own.

Header

FieldValue
algHS256
typJWT

Payload (claims)

ClaimValueMeaning
sub1234567890Subject: who the token is about
nameJohn Doe
iat1516239022 → 18/01/2018 01:30:22 UTC (Thursday, 18 January 2018, 3,237 days ago)Issued at

What is a JWT and what does decoding show?

A JSON Web Token (JWT) is a compact string used to carry information, often to prove who a user is after sign-in. It has three parts separated by dots: a header, a payload of claims, and a signature. The header and payload are just JSON that has been Base64URL encoded, which is not encryption.

Decoding reads those first two parts so you can see the algorithm, the token type and claims such as sub (who it is about), iat (issued at) and exp (expiry). Decoding does not prove the token is genuine. Only checking the signature does, and this tool can do that for HS256, HS384 and HS512 when you type the shared secret.

How to use the JWT Decoder

  1. Paste the token into the JWT box.
  2. Read the algorithm and header table, then the payload claims with their dates.
  3. To check an HS256, HS384 or HS512 signature, type the shared secret.
  4. Look at the Signature result and the notes about expiry.

This tool decodes tokens and checks only HMAC signatures (HS256, HS384, HS512). It does not verify public-key signatures, does not look up keys, and does not enforce audience or issuer rules. Treat a decoded token as unverified until your server has checked it.

Real situations

When people use the JWT Decoder

  • 1

    Debug a login that keeps failing

    See whether the token has expired, whether the audience or issuer is what your server expects, and which claims it carries.

  • 2

    Check what a token exposes

    Because the payload is readable by anyone, decoding shows exactly which personal data your tokens reveal to the client.

  • 3

    Test your signing secret

    For HS256 tokens, enter the secret and see at once whether the signature matches, for example after rotating keys.

  • 4

    Learn how JWTs are built

    Paste the sample token to see the three parts, the algorithm and an issued-at date turned into a normal date.

Good to know

  • A JWT is usually signed, not encrypted, so never put secrets in its payload.

FAQ

JWT Decoder: questions answered

Is decoding a JWT the same as verifying it?

No. Anyone can decode a token because the header and payload are only encoded. Verifying means checking the signature with the right key, and only your server should make the trust decision. Never accept a token just because it decodes.

How do I check the signature here?

Paste the token and type the secret in the optional box. For HS256, HS384 and HS512 the tool shows "Valid" or "Does not match". With the sample token and the secret your-256-bit-secret, it shows Valid. A wrong secret shows "Does not match".

Can it verify RS256 or ES256 tokens?

No. Those use public-key signatures and need the issuer's public key, which this tool does not take. It still decodes the header and claims for them and tells you the signature was not checked.

What do iat, nbf and exp mean?

iat is when the token was issued, nbf is the earliest time it is valid, and exp is when it expires. All three are Unix times in seconds. The sample token's iat of 1516239022 is 18 January 2018, 01:30:22 UTC.

Why does the tool warn about alg "none"?

A token with alg none has no signature at all. If a server accepts it as proof of identity, anyone could forge a login. Servers must reject unsigned tokens, so the tool flags it.

Is it safe to paste a real token?

The decoding happens in your browser and the token is not sent anywhere. Even so, a live token can grant access until it expires, so prefer test or expired tokens and never post one in public.

Is this JWT Decoder free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way