Security

JWT Decoder

Paste a JWT to see its header, payload, and signature broken down into readable JSON. Decoding happens locally; your token never leaves your device.

Did this tool save you some time? A quick testimonial helps a lot.

Share your experience

About this JWT Decoder

Paste a JWT to see its header, payload, and signature broken down into readable JSON. Decoding happens locally; your token never leaves your device. Common questions — like does this tool verify the jwt signature — are answered in the FAQ below.

Usage and privacy

How to use it

Add your input to the workspace above, review the result, then copy or download it when it's ready. No account or installation is required.

Private by design

JWT Decoder runs in your browser, so the information you enter stays on your device instead of being uploaded to a server.

JWT Decoder examples

A few worked examples so you know what to expect before you paste in your own input.

Standard HS256 example token

Input

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Output

Header: {"alg":"HS256","typ":"JWT"}
Payload: {"sub":"1234567890","name":"John Doe","iat":1516239022}
Token with an expiration claim

Input

A JWT whose payload includes "exp": 1735689600

Output

Payload shows exp: 1735689600 — compare it against the current time to see whether the token has expired.
Tampered payload still decodes

Input

A JWT whose payload was edited to add "role": "admin"

Output

Decoding only reads the payload — it does not verify the signature, so an edited token still decodes. Signature verification (done server-side, with the secret) is what would actually reject it.

Frequently Asked Questions

Related Tools