security

JWT Decoder & Inspector

Decode, inspect, and verify JSON Web Tokens (JWT) locally. All operations happen inside your browser.

Signature

Verify Signature

Enter a secret or public key to verify signature

No Valid JWT Detected

Paste a token on the left. The tool will automatically parse headers, payloads, and evaluate claims in real time.

A JWT (JSON Web Token) is a compact, URL-safe token format defined by RFC 7519 that is widely used for authentication and secure information exchange between parties. This tool lets you decode and inspect any JWT instantly, right inside your browser — no server involved, no data ever transmitted.

How to Use

  1. 1

    Paste your JWT token

    Paste a raw JWT, an Authorization: Bearer header, a JSON response body, or an entire cURL command. The tool automatically extracts the token.

  2. 2

    Inspect the decoded payload

    The header, payload, and all claims are decoded and displayed instantly. You can view the algorithm, expiration (exp), issued-at (iat), and any custom claims.

  3. 3

    Verify the signature (optional)

    Enter your HMAC secret or RSA public key in PEM format to cryptographically verify the token signature and confirm it has not been tampered with.

  4. 4

    Review the security analysis

    The tool automatically flags security issues such as missing expiration, excessive token lifetime, the "none" algorithm, or privileged role claims.

Features

  • Smart Token Extraction

    Automatically extracts JWT from raw tokens, Bearer headers, JSON payloads, and cURL commands.

  • Header & Payload Decoding

    Decodes and pretty-prints the JWT header (algorithm, type) and payload (claims) with full JSON formatting.

  • Signature Verification

    Supports HS256 HMAC secret verification and RS256/ES256 RSA public key verification in PEM format.

  • Expiration Timeline

    Visualizes the token lifecycle from issued-at (iat) to expiration (exp) with a progress bar and relative time display.

  • Security Audit

    Detects common JWT vulnerabilities: missing exp claim, "none" algorithm, oversized payload, and privilege escalation claims.

  • 100% Client-Side & Secure

    All decoding and verification happens locally in your browser. Your JWT tokens are never sent to any server.

Frequently Asked Questions

Is it safe to paste my JWT token here?
Yes. This tool is 100% client-side. Your JWT token is decoded entirely within your browser using JavaScript — no data is ever sent to a server or stored remotely.
What is a JWT and how does it work?
A JSON Web Token (JWT) consists of three base64url-encoded parts separated by dots: a header (algorithm and token type), a payload (claims/data), and a signature. The signature is created by the issuer using a secret or private key and can be verified by the recipient.
Can this tool verify the JWT signature?
Yes. Enter your HMAC secret (for HS256) or RSA public key in PEM format (for RS256/ES256) to cryptographically verify the signature and confirm the token has not been tampered with.
What JWT algorithms are supported?
This tool supports decoding any JWT regardless of algorithm. Signature verification supports HS256 (HMAC-SHA256), RS256 (RSA-SHA256), and ES256 (ECDSA-SHA256).
Why does my JWT have no expiration warning?
JWTs without an "exp" claim never expire, which is a security risk. The tool flags this as a warning to encourage you to always set an expiration time on your tokens.