JWT Decoder
See the header, payload and signature of any JWT in readable, color-coded JSON. Base64URL decoding, including UTF-8 text, is handled for you.
Decode and debug JSON Web Tokens online. See the header, payload and signature, read every claim, check the expiration time live, run security checks and verify the signature with your secret or public key. Free, no signup, and your token never leaves your browser.
Good to know: decoding a JWT only reads it. Anyone can do that, because the header and payload are encoded, not encrypted. A token is trustworthy only after its signature is verified and its claims, such as expiry, issuer and audience, are checked by your server. Treat real tokens like passwords: this tool works fully in your browser and sends nothing anywhere, but you should still avoid pasting live production tokens into tools you do not control.
| Claim | Value | Meaning |
|---|
Decoding, verification and token creation all run in your browser. Your token, secret and keys are never sent to our server.
Paste the JWT, with or without the Bearer prefix. It is decoded instantly as you paste.
Check the header, the payload, every claim and the live expiration status, and review the security checks.
Enter your secret or public key to confirm that the token was signed by the right party and not changed.
A JSON Web Token, or JWT, is the compact token that many login systems, APIs and single sign-on services use to prove who you are. When something goes wrong, such as a 401 error, a token that expires too soon or a signature that will not verify, you need to look inside the token. Our free JWT Inspector is a JWT decoder and debugger that does exactly that. Paste a token and you instantly see the decoded header and payload, every claim with a plain-English explanation, the issued, not-before and expiration times in your local time with a live countdown, and a list of security checks. You can also verify the JWT signature with an HMAC secret or with an RSA, RSA-PSS or ECDSA public key, and create HS256 test tokens. It works fully in your browser, so your token is not uploaded anywhere, and it needs no signup and no installation.
Whether you search for a JWT decoder, a JWT debugger, a JWT parser or a JWT verifier, this page does it in one place. Developers use it to fix 401 and 403 errors, check why a token expires too early, compare claims between environments, test OAuth 2.0 and OpenID Connect flows and confirm that a signature matches a public key or a secret. It runs in your browser on Windows, Mac, Linux, Android and iPhone, so tokens, secrets and keys are not uploaded.
See the header, payload and signature of any JWT in readable, color-coded JSON. Base64URL decoding, including UTF-8 text, is handled for you.
The exp, nbf and iat claims are shown in local and UTC time with a live status: active, expired or not valid yet, plus the total lifetime of the token.
Verify HS256, HS384 and HS512 with a secret, RS256, RS384 and RS512, PS256, PS384 and PS512 and ES256, ES384 and ES512 with a public key in PEM, JWK or JWKS format.
Standard claims such as iss, sub, aud, exp, nbf, iat and jti, and common ones like scope, roles and email, come with a short explanation next to each value.
Get warnings for unsigned tokens (alg none), missing expiration, very long lifetimes, risky header parameters and sensitive-looking data in the payload.
Everything runs in your browser using the Web Crypto API. Your tokens, secrets and keys stay on your device, and you can use the tool as often as you like.
To experiment, use the Create test JWT tab to build an HS256, HS384 or HS512 token from your own header and payload, then open it in the inspector.
A JWT is an open standard (RFC 7519) for passing claims between two parties in a compact, URL-safe format. In its most common form, a signed token called a JWS, it consists of three Base64URL-encoded parts separated by dots: header.payload.signature. For example, a token looks like eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjMifQ.signature. The first two parts are JSON documents. The last part is the signature that proves the token was created by someone who holds the key, and that it has not been changed.
| Part | What it contains |
|---|---|
| Header | Metadata about the token: the signing algorithm (alg), the token type (typ) and often a key ID (kid). |
| Payload | The claims: statements about the user or client and about the token itself, such as who issued it and when it expires. |
| Signature | A cryptographic signature over the header and payload, created with a secret or a private key. |
Another form, the JWE (JSON Web Encryption), has five parts and encrypts its content. This inspector reads signed tokens (JWS). It can show the header of a JWE, but the content of an encrypted token cannot be read without the decryption key.
The payload contains claims. A few of them are registered in the JWT standard and have a fixed meaning:
| Claim | Name | Meaning |
|---|---|---|
| iss | Issuer | Who created and signed the token, often the URL of the login server. |
| sub | Subject | Who the token is about, usually a user ID. |
| aud | Audience | Who the token is for, such as an API or an application. The receiver should check that it is in this list. |
| exp | Expiration time | The time after which the token must not be accepted, as a Unix timestamp in seconds. |
| nbf | Not before | The time before which the token must not be accepted. |
| iat | Issued at | When the token was created. |
| jti | JWT ID | A unique identifier for the token, useful to prevent replays or to revoke a token. |
Tokens often also carry custom or provider-specific claims, such as scope, roles, email, name or tenant IDs. The inspector lists all of them, with explanations for the common ones.
| Algorithm | Type | Key used | Verified by this tool |
|---|---|---|---|
| HS256, HS384, HS512 | HMAC with SHA-2 (symmetric) | One shared secret signs and verifies. | Yes |
| RS256, RS384, RS512 | RSA PKCS#1 v1.5 (asymmetric) | Private key signs, public key verifies. | Yes |
| PS256, PS384, PS512 | RSA-PSS (asymmetric) | Private key signs, public key verifies. | Yes |
| ES256, ES384, ES512 | ECDSA on P-256, P-384, P-521 (asymmetric) | Private key signs, public key verifies. | Yes |
| EdDSA, ES256K | Edwards-curve and secp256k1 signatures | Private key signs, public key verifies. | No, not supported in browsers |
| none | Unsecured token | No signature at all. | Nothing to verify. Never accept these as proof of identity. |
Symmetric algorithms (HS) are simple, but everyone who can verify a token can also create one. Asymmetric algorithms (RS, PS, ES) let you share only a public key with the services that verify tokens, which is why identity providers usually use them.
Many identity services issue JWTs, including Auth0, Firebase Authentication and Amazon Cognito. In the Laravel world, Laravel Passport issues JWT access tokens, and packages such as tymon/jwt-auth create JWTs for API authentication.
Decoding only converts the Base64URL text back into JSON. It needs no key, and anyone who holds the token can do it. Verifying checks the signature with the correct secret or public key, and proves two things: the token was issued by someone who holds the key, and the header and payload were not changed. A token that decodes perfectly can still be forged or modified, so always verify on your server before you trust a claim. Verification also has a second step: validating the claims, which means checking that the token has not expired, is already valid, and has the issuer and audience you expect. This inspector verifies signatures and shows the claims, but your server must enforce the rules.
Decoding is not secret by design, because the payload of a JWT is only encoded and not encrypted. The risk is the token itself: anyone who obtains a valid token can use it until it expires. For that reason treat tokens like passwords. This tool runs completely in your browser, it does not call any server or API and it does not store your input. Even so, as a general habit, do not paste live production tokens, real secrets or private keys into online tools you do not control. If a token or a signing secret may have been exposed, revoke it and rotate the key. For testing, use sample tokens or tokens from a development environment.
| Error | Likely cause | How to fix it |
|---|---|---|
| jwt expired / token expired | The current time is after the exp claim. | Request a new token or use the refresh flow. Check the lifetime and your server clock. |
| invalid signature | Wrong secret or key, a changed token or the wrong algorithm. | Verify with the exact secret or public key your server uses, and make sure the token was not altered or copied with missing characters. |
| jwt malformed / invalid token | The token does not have three parts, or contains spaces, quotes or line breaks. | Copy the complete token without the Bearer prefix quotes. Check for truncated logs. |
| jwt not active (nbf) | The token is used before its nbf time, often because of clock differences. | Synchronize clocks and allow a small clock skew of a few seconds. |
| invalid audience or issuer | The aud or iss claim does not match what the API expects. | Request the token for the correct audience from the correct issuer. |
| algorithm mismatch | The server expects a different algorithm than the token uses. | Configure the allowed algorithm explicitly and use the matching key type. |
| no matching key (kid) | The key ID in the header is not in the key set you use. | Fetch the current JWKS from your identity provider, because keys are rotated. |
The inspector decodes signed JWTs (JWS), explains their claims, checks the expiration against your device clock, runs simple security checks and verifies signatures for HS, RS, PS and ES algorithms using the Web Crypto API of your browser. It cannot decrypt encrypted tokens (JWE), cannot verify EdDSA or ES256K signatures, does not fetch keys from URLs such as a JWKS endpoint (you paste the key or key set yourself) and does not validate the issuer or audience for you. Time-based results depend on the clock of your device. Treat its findings as a debugging aid and keep the real checks on your server.
Our online JWT debugger works in any modern browser on Windows, Mac, Linux, Android and iPhone. There is no extension to install and no account to create. Signature verification requires a secure (HTTPS) connection, which this website uses.
After you paste a token, the inspector shows readable JSON for each part. This is a simplified example.
// Header
{ "alg": "RS256", "typ": "JWT", "kid": "key-2026-01" }
// Payload
{
"iss": "https://login.example.com",
"sub": "user_8421",
"aud": "api.example.com",
"scope": "read:profile",
"iat": 1735689600,
"exp": 1735693200
}
From the header you see the algorithm and the key ID. From the payload you see who issued the token, who it is for, what it allows and when it expires. The summary adds the lifetime, here one hour, and a live countdown.
| Method | Where state lives | Good for | Watch out for |
|---|---|---|---|
| JWT | In the token itself, signed by the issuer. | APIs, mobile apps, single sign-on and microservices. | Hard to revoke before expiry. Keep lifetimes short. |
| Session cookie | On the server, with an ID in the cookie. | Traditional websites that render pages on the server. | Needs shared session storage when you scale servers. |
| API key | On the server, matched against a stored key. | Server-to-server access and simple public APIs. | Long-lived secrets that must never appear in front-end code. |
| Problem | Likely cause | How to fix it |
|---|---|---|
| Invalid token format | The token does not have three parts separated by dots. | Copy the full token. Remove quotes, spaces and the word Bearer if they remain. |
| Decoding fails | The text was cut off or contains a character that is not valid in Base64URL. | Paste the token again from its original source. |
| Signature does not verify (HS) | Wrong secret, or the secret is Base64URL-encoded but the option is off. | Check the secret and the Base64URL setting. |
| Signature does not verify (RS, PS, ES) | Wrong public key, wrong format or the wrong key from a JWKS. | Use the key that matches the kid in the header, in PEM, JWK or JWKS format. |
| Key and algorithm mismatch | The key type does not fit the alg in the header, for example an RSA key for an ES256 token. | Use a key of the type that the alg in the header requires. |
| Token shows as expired | The exp time has passed, or the clocks differ. | Request a new token and check the time on your servers. |
| Cannot read the payload | The token is encrypted (JWE) and not just signed. | Decrypt it with the right key in your own system. |
The JWT inspector runs in your web browser, so you can decode, verify and debug JSON Web Tokens online on Android, iPhone, Windows, Mac and Linux. Whether you search for a JWT debugger for Chrome, a JWT verifier for RS256 tokens or a quick way to check a token from your phone, the steps are the same: open the page, paste the token and read the result.
You may also find these free tools from the same website useful:
A JWT inspector, also called a JWT decoder or debugger, reads a JSON Web Token and shows its header, payload and signature in a readable form. This one also explains the claims, shows the expiration status, runs security checks and can verify the signature with your secret or public key.
The tool runs entirely in your browser and does not send your token, secret or keys to any server or API. Even so, treat real tokens like passwords and avoid pasting live production tokens or private keys into tools you do not control. If a token may have been exposed, revoke it.
Yes. The header and payload are only Base64URL-encoded, so anyone can read them without a key. The secret or public key is needed only to verify that the signature is valid.
Decoding only reads the contents. Verifying checks the signature to prove that the token was issued by the holder of the key and was not changed. Your server must also validate claims such as exp, iss and aud before it trusts a token.
HS256, HS384 and HS512 with a secret, RS256, RS384 and RS512, PS256, PS384 and PS512, and ES256, ES384 and ES512 with a public key in PEM, JWK or JWKS format. EdDSA and ES256K are not supported by browsers, and encrypted tokens (JWE) cannot be decoded.
The tool compares the exp claim, a Unix timestamp in seconds, with the current time of your device. If the current time is later, the token is expired. Check the lifetime of your token and also check that the clock of your device and server are correct.
No. A normal signed JWT is encoded, not encrypted, so anyone who has the token can read its payload. The signature protects the token from being changed, not from being read. Do not put secrets or sensitive personal data in the payload.
Inspect and verify a JWT, decode a JSON Web Token, format JSON or encode and decode Base64 in seconds. Explore free developer tools to format, convert and debug your data in one place.
Explore All Developer Tools →