Pure Frontend · Tree Visualization · Real-time Decode · Algorithm Detection · Expiry Alert
Zero Dependencies · Works OfflineThe JWT Visualizer Decoder is a pure frontend online tool for real-time decoding and visualizing the three components of a JWT (JSON Web Token): Header, Payload, and Signature. It supports switching between tree view and raw JSON view, automatically identifies algorithm types, parses standard claim fields (iat/exp/nbf/sub) with readable times and expiration status, and supports HS256 signature verification. All decoding is performed locally in your browser—no token data is ever uploaded to any server.
Step 1: Paste a JWT Token string (format: xxx.yyy.zzz) in the input box, or click "Load Example" for a demo.
Step 2: Click "Decode" or press Ctrl+Enter to automatically parse Header, Payload, and Signature.
Step 3: Switch between tree view and raw JSON view. Click toggle icons to expand/collapse nested fields.
Step 4: To verify HS256 signatures, enter the secret key in the signature section and click "Verify Signature".
Quickly decode OAuth2/JWT access tokens to view user ID, roles, permissions, and expiration time for authentication troubleshooting.
Check if JWTs use weak algorithms (like none/HS256), verify signature correctness, and discover token leakage risks.
Compare server-generated JWTs with client-received tokens to troubleshoot encoding/signing issues.
Visually understand JWT composition through tree structure, learning the meaning and purpose of each standard claim.
A JWT consists of three parts joined by .: Header (algorithm and type), Payload (set of claims), and Signature. Base64Url encoding differs from standard Base64 by replacing +/ with -_ and removing padding =. Standard claims include: iss (issuer), sub (subject), aud (audience), exp (expiration), nbf (not before), iat (issued at), jti (unique ID). RS256 and other asymmetric algorithms are recommended over HS256 due to lower key leakage risk.
Supports identification of HS256/HS384/HS512, RS256/RS384/RS512, ES256/ES384/ES512, PS256/PS384/PS512 and other common algorithms with highlighted display.
No. All JWT decoding and visualization is performed locally in your browser. Token content never leaves your device.
The tool primarily decodes and visualizes. For HS256, you can verify signatures by entering the secret key. RS256 and other asymmetric algorithms require a public key.
Currently only JWS (signed JWT) decoding and visualization is supported. JWE (encrypted JWT) decryption is not yet available.
Tree view displays nested fields in a collapsible hierarchy. Raw view shows formatted JSON text. You can switch between them at any time.
Automatically parses the exp field, calculates and displays time remaining until expiration or how long it's been expired, along with a readable date/time.