Encoding

How to Decode a JWT Token

Learn how to inspect JWT tokens and understand their structure using the JWT Decoder.

Tool Used

JWT Decoder

Open tool
1

Get your JWT

Copy your JWT from wherever it is stored. You will usually find it in an Authorization header, localStorage, or a cookie.

2

Open JWT Decoder

Navigate to /tools/encoding/jwt-decoder.

3

Paste the token

Paste the full JWT string (it looks like three base64-encoded strings separated by dots) into the input field.

4

Inspect the decoded parts

The tool automatically splits the token into Header, Payload, and Signature sections. The Header shows the algorithm used. The Payload shows the actual claims including user info and expiration.

5

Check expiration

The tool highlights if the token is expired based on the exp claim in the payload.

All done!

You are ready to use the JWT Decoder like a pro.

Try it now
All guides