JWT Token Decoder

A professional tool for decoding and analyzing JSON Web Tokens

Decoded: Shows the header and payload parts of the JWT in JSON format

Raw Data: Shows the original Base64 encoded data of the JWT

JWT Token Input
0characters0parts0lines

JWT Structure

JWT Format
header.payload.signature:
header.payload.signature
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Parts
Header:
{ "alg": "HS256", "typ": "JWT" }
Payload:
{ "sub": "1234567890", "name": "John Doe", "iat": 1516239022 }

About JWT

What is JWT?

  • • JSON Web Token - for secure data transmission
  • • Consists of 3 parts: Header.Payload.Signature
  • • Encoded in Base64 format
  • • Can be digitally signed

Standard Fields

  • • iss - Issuer (who issued)
  • • sub - Subject (what about)
  • • exp - Expiration time
  • • iat - Issued at time

Security

  • • Data is verified through Signature
  • • Always check Expiration time
  • • Keep Secret key confidential
  • • Transmit via HTTPS