JWT Encoder & Decoder
Inspect, decode, and debug JSON Web Tokens (JWT) in real-time. Verify signatures using HMAC SHA-256, SHA-384, or SHA-512, or generate custom signed tokens with claim timestamps and expiration validation.
Signature Verification
Header: Algorithm & Token Type
Payload: Data & Claims
Standard Claims Validation
Signature Configuration
Generated Signed Token
CLI & JSON API Endpoint
Decode or verify JWT tokens directly from the shell or backend applications:
curl -s -X POST "https://encoder.cpanelcentral.com/jwt.php" \ -d "action=decode" \ -d "token=YOUR_JWT_HERE" | jq .data.payload
JSON Web Token (JWT) Security & Mechanics
Specifies the cryptographic algorithm (alg) used to sign the token (e.g. HS256) and the token type (typ: JWT).
Contains identity claims such as subject (sub), expiration (exp), and arbitrary user data.
Computed by hashing Base64URL(Header) + "." + Base64URL(Payload) using your private secret key to prevent client tampering.
JWT payloads are Base64URL encoded, not encrypted. Anyone with access to the token string can read its contents. Never place sensitive plaintext credentials, passwords, or credit card numbers inside JWT payload claims.