JWT Decoder
Features
- Decode JWT Tokens: Decode JSON Web Tokens (JWT) to view their header, payload, and signature.
- Base64 Decoding: Automatically decode Base64-encoded strings in the token.
- Human-Readable Format: Display the payload in a readable JSON format.
- Validation: Check the token's structure and identify common issues.
How to Use
-
Input JWT:
- Paste the JWT string into the input field.
-
Decode:
- Click the "Decode" button to view the token's header, payload, and signature.
-
Analyze:
- Review the decoded payload and header for claims, expiration, and other details.
What is a JWT?
A JSON Web Token (JWT) is a compact, URL-safe token used for securely transmitting information between parties. It consists of three parts: a header, a payload, and a signature.
Example
JWT Decoding Example
Input JWT:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Decoded Payload:
{
"sub": "1234567890",
"name": "John Doe",
"iat": 1516239022
}