JWE Token Decoder
Decode and analyze JWE (JSON Web Encryption) token structure. Inspect protected headers, algorithms, and key IDs without decrypting the payload.
Features
🔐 Header Inspection
- Decode protected header (alg, enc, kid)
- Display all header claims
- Identify token type and content type
- Detect compression algorithm
📊 Structure Analysis
- Validate 5-part JWE format
- Show part sizes (header, key, IV, ciphertext, tag)
- Detect direct key agreement (empty encrypted key)
- Total token length summary
🔑 Algorithm Reference
- Human-readable algorithm descriptions
- Key management algorithm (alg) info
- Content encryption algorithm (enc) info
- Covers RSA-OAEP, AES-KW, ECDH-ES, GCM
JWE Reference Guide
JWE Compact Serialization
A JWE token in compact serialization consists of exactly 5 Base64url-encoded parts separated by dots:
BASE64URL(JWE Protected Header) . BASE64URL(JWE Encrypted Key) . BASE64URL(JWE Initialization Vector) . BASE64URL(JWE Ciphertext) . BASE64URL(JWE Authentication Tag)
Only the Protected Header is readable without the private key. The ciphertext (payload) remains encrypted.