Code & web

JWT decoder

Read the header and payload of a JWT, with its expiry date. Nothing is sent anywhere.

Embed this calculator on your website

Copy this code and paste it into your page (WordPress, Wix, Webflow, HTML…). It's free: please keep the link to HOD Calc.

How it works

A JWT = header.payload.signature, each part Base64URL-encoded. Decoding does not verify the signature.

Results are for guidance only and do not replace professional advice.

Worked example

With the default values:

  • JWT tokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmFtZSI6IkhPRCBDYWxjIiwiaWF0Ij…

you get:

  • Header{"alg":"HS256","typ":"JWT"}
  • Expires17/03/2030, 18:46:40 (in 1,233 days)
  • Issued at21/09/2026, 16:13:20
  • SignatureNot verified (requires the secret key)

Frequently asked questions

How does the “JWT decoder” tool work?

A JWT = header.payload.signature, each part Base64URL-encoded. Decoding does not verify the signature.

What do I need to enter?

Just fill in: jwt token. The result updates as you type.

Can you give an example?

JWT token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmFtZSI6IkhPRCBDYWxjIiwiaWF0Ij… → Header: {"alg":"HS256","typ":"JWT"}; Expires: 17/03/2030, 18:46:40 (in 1,233 days).

Is this calculator free, and is my data private?

Yes. HOD Calc is completely free with no sign-up. The calculation runs in your browser: nothing you type is sent or stored.