JWT Visualizer Decoder

Pure Frontend · Tree Visualization · Real-time Decode · Algorithm Detection · Expiry Alert

Zero Dependencies · Works Offline
🔑 JWT Token Input
🔒All JWT decoding runs locally. Token never leaves your browser.

What Can the JWT Visualizer Do?

The 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.

Core Features

How to Use

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".

Use Cases

API Debugging

Quickly decode OAuth2/JWT access tokens to view user ID, roles, permissions, and expiration time for authentication troubleshooting.

Security Audit

Check if JWTs use weak algorithms (like none/HS256), verify signature correctness, and discover token leakage risks.

Development Debugging

Compare server-generated JWTs with client-received tokens to troubleshoot encoding/signing issues.

Learning & Understanding

Visually understand JWT composition through tree structure, learning the meaning and purpose of each standard claim.

Technical Background

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.

FAQ

Which JWT algorithms are supported?

Supports identification of HS256/HS384/HS512, RS256/RS384/RS512, ES256/ES384/ES512, PS256/PS384/PS512 and other common algorithms with highlighted display.

Is JWT data uploaded to a server?

No. All JWT decoding and visualization is performed locally in your browser. Token content never leaves your device.

Can it verify JWT signatures?

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.

Does it support JWE (encrypted JWT)?

Currently only JWS (signed JWT) decoding and visualization is supported. JWE (encrypted JWT) decryption is not yet available.

What's the difference between tree view and raw view?

Tree view displays nested fields in a collapsible hierarchy. Raw view shows formatted JSON text. You can switch between them at any time.

How is expiration time calculated?

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.

JWT Visualizer Decoder | No Signup, Client-Side · No Server Uploads

Feedback: dexshuang@google.com