Instantly decode JWT tokens, inspect headers and payloads, and check token expiration securely inside your browser.
Paste your Base64URL encoded JSON Web Token string into the JWT decoder input box.
Our JWT debugger automatically parses the Header, Payload, and Signature in real time.
Verify user roles, issued-at (iat), and expiration (exp) timestamps securely.
A JWT token (JSON Web Token) is an open standard (RFC 7519) used to securely transmit information between parties as a JSON object. Developers commonly use a JWT decoder or JWT debugger during API development and authentication troubleshooting (such as OAuth 2.0 and OpenID Connect) to quickly decode JWT strings and inspect their contents.
Every standard JWT consists of three parts separated by dots (.): the Header (signing algorithm and token type), the Payload (claims such as user ID, permissions, and expiration time), and the Signature (used to verify token integrity). Because our tool runs 100% client-side in your browser, you can safely decode JWT tokens without exposing sensitive session data to external servers.
Every JWT token consists of three Base64URL-encoded sections separated by dots (.). When you decode JWT token strings using our online JWT debugger and JWT decoder, you can inspect each segment individually:
Contains metadata about the JWT token, specifically the token type (JWT) and the signing algorithm being used, such as HMAC SHA256 or RSA.
Contains the actual claims or user data. When you decode JWT strings using a JWT decoder, this is where you inspect user IDs, roles, and permissions.
Created by taking the encoded header, encoded payload, and a secret key. It ensures the JWT token hasn't been altered in transit during verification in a JWT debugger.
When you decode JWT token payloads in a JWT debugger, you will often encounter standard registered claim names. Use this quick reference to understand what each claim means in a JWT token:
| Claim | Full Name | Description |
|---|---|---|
| iss | Issuer | Identifies the server or principal that issued the JWT token. |
| sub | Subject | Identifies the user or entity the token represents, usually a unique User ID. |
| aud | Audience | Identifies the recipients or APIs that the JWT token is intended for. |
| exp | Expiration Time | The Unix timestamp after which the token is no longer valid. Our JWT decoder automatically checks this for you whenever you decode JWT data. |
| iat | Issued At | The exact Unix timestamp when the JWT token was generated. |
| nbf | Not Before | The time before which the token must not be accepted for processing by the server. |
| jti | JWT ID | A unique identifier for the JWT token, commonly used to prevent replay attacks. |
When you inspect the Header in a JWT debugger, the alg claim defines the cryptographic algorithm used to sign the JWT token. Here are the three most widely supported algorithms you will encounter when you decode JWT token headers:
A symmetric algorithm that uses a single shared secret key to both sign and verify the JWT token. Ideal for monolithic architectures where the issuer and verifier share the same secret.
An asymmetric algorithm using a public and private key pair. Commonly used in OAuth 2.0 and OpenID Connect so external services can verify a JWT token without holding the private signing key.
Uses Elliptic Curve Cryptography, offering strong security with smaller key sizes, shorter signatures, and faster performance compared to RSA.
Keep in mind that while any online JWT decoder can instantly decode JWT headers and payloads, decoding does not prove authenticity.
To cryptographically verify the signature of a JWT token, your backend server or JWT debugger must have the corresponding shared secret (for HS256) or public key (for RS256 / ES256).
Authentication bugs are easier to fix when you can inspect the raw claims. Paste your failing JWT token into our JWT debugger to decode JWT payloads and pinpoint these four common errors:
Occurs when the JWT token does not have three parts separated by two dots (.) or contains invalid Base64URL characters, extra whitespace, or a missing Bearer prefix split.
exp) Error
Happens when the current server time exceeds the exp claim in the payload. Use our JWT decoder to instantly decode JWT timestamps and inspect the human-readable expiration date.
Means the JWT token payload was modified in transit, or the wrong secret or public key is being used on the backend server to verify the signature.
alg header.
Occurs when iat (Issued At) or nbf (Not Before) timestamps fail validation because the client and server system clocks are slightly out of sync.
Anyone can decode JWT token payloads without a secret key because they are only Base64URL encoded, not encrypted. Never put passwords, credit card numbers, or private keys inside a JWT token.
Keep the exp claim short (e.g., 15–30 minutes) to minimize the impact of a leaked token, and use securely stored Refresh Tokens for long-lived user sessions.
Never trust the decoded data from a JWT decoder alone. Your backend must cryptographically verify the signature of every incoming JWT token on every protected API request.
none AlgorithmEnsure your backend authentication library explicitly enforces an allowlist of signing algorithms and rejects tokens containing "alg": "none" to prevent authentication bypass attacks.