Encoded
Decoded
Header
Algorithm & Token Type{}Payload
Data{}Signature
base64UrlEncode(header) + "." +
base64UrlEncode(payload),
your-256-bit-secret
)
Securely decode, verify, and generate JWTs (JSON Web Tokens) on the client side, protecting your data privacy.
{}{}JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA.
JWTs consist of three parts separated by dots (.), which are:
Paste your JWT string into the "Encoded" text box on the left. The system will automatically split it, decode it using Base64Url, and clearly display the JSON content of the Header and Payload on the right. If you know the Secret Key used for signing, you can enter it in the verification box at the bottom right. The system will calculate the signature locally and verify the validity of the Token.
The signature mechanism of JWT ensures data integrity (tamper-proof), but it is NOT encrypted by default (Base64 encoding can be decoded by anyone). Therefore, never put passwords or sensitive personal information in the JWT Payload. As long as the server's Secret Key is kept safe and a reasonable expiration time is set, JWT is highly secure for authentication and authorization scenarios.