Technical Overview
The JWT Decoder & Encoder follows the JSON Web Token specification (RFC 7519) to split, decode, and generate tokens. A JWT consists of three Base64URL-encoded parts separated by periods.
JWT Structure
Each token is divided into header, payload, and signature components:
xxxxx.yyyyy.zzzzz
The header and payload are JSON objects encoded using Base64URL encoding.
Decoding Process
- Header: Decoded to reveal algorithm and token type
- Payload: Decoded to show claims and custom data
- Signature: Displayed for inspection but not decrypted
Encoding Process
When encoding, the tool Base64URL-encodes the header and payload, then signs them using the selected algorithm and secret or key to produce the signature.
All processing happens locally in your browser, ensuring accuracy while following JWT standards.
Leave a Comment
We'd love to hear from you