Skip to content
⚠ TESTING ENVIRONMENT You are viewing a testing copy of Tolioo. Changes here do not affect the live website.

JWT Inspector

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.

  • 100% free
  • No Signup
  • Runs in 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.

Encoded token

    Decoded

    Paste a JWT on the left to see the decoded header and payload here.
    Your Privacy Matters

    Decoding, verification and token creation all run in your browser. Your token, secret and keys are never sent to our server.

    ADVERTISEMENT
    Demo Ad 728 x 90

    How to inspect a JWT

    1. 1

      Paste your token

      Paste the JWT, with or without the Bearer prefix. It is decoded instantly as you paste.

    2. 2

      Read the details

      Check the header, the payload, every claim and the live expiration status, and review the security checks.

    3. 3

      Verify the signature

      Enter your secret or public key to confirm that the token was signed by the right party and not changed.

    JWT INSPECTOR GUIDE

    JWT Inspector – Decode, Verify and Debug JSON Web Tokens Online for Free

    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.

    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.

    Expiration Check

    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.

    Signature Verification

    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.

    Claims Explained

    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.

    Security Checks

    Get warnings for unsigned tokens (alg none), missing expiration, very long lifetimes, risky header parameters and sensitive-looking data in the payload.

    Private and Free

    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.

    How to Decode and Verify a JWT with This Tool

    1. Paste the token: Copy the JWT from your browser storage, a request header, a log or a response and paste it into the Encoded token box. A leading "Bearer" is removed automatically.
    2. Read the decoded parts: The header and payload appear right away. The token itself is shown in color: the header, the payload and the signature each have their own color.
    3. Check the summary: See the status, the algorithm, the expiry time and the lifetime. The claims table explains every claim.
    4. Review the security checks: Errors and warnings point out problems such as alg none or a missing exp claim.
    5. Verify the signature: Enter the secret for HS algorithms or the public key for RS, PS and ES algorithms and click Verify signature.

    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.

    What Is a JWT (JSON Web Token)?

    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.

    PartWhat it contains
    HeaderMetadata about the token: the signing algorithm (alg), the token type (typ) and often a key ID (kid).
    PayloadThe claims: statements about the user or client and about the token itself, such as who issued it and when it expires.
    SignatureA 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.

    JWT Claims Explained: iss, sub, aud, exp, nbf, iat and jti

    The payload contains claims. A few of them are registered in the JWT standard and have a fixed meaning:

    ClaimNameMeaning
    issIssuerWho created and signed the token, often the URL of the login server.
    subSubjectWho the token is about, usually a user ID.
    audAudienceWho the token is for, such as an API or an application. The receiver should check that it is in this list.
    expExpiration timeThe time after which the token must not be accepted, as a Unix timestamp in seconds.
    nbfNot beforeThe time before which the token must not be accepted.
    iatIssued atWhen the token was created.
    jtiJWT IDA 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.

    JWT Header Parameters: alg, typ and kid

    • alg: the algorithm used to sign the token, such as HS256 or RS256. The receiver must decide which algorithms it accepts, and must never trust the token to choose freely.
    • typ: the type of the token, usually JWT.
    • kid: the key ID. It tells the receiver which key from a set of keys (for example a JWKS endpoint) was used to sign the token.
    • jku, jwk, x5u and x5c: parameters that point to or contain keys. They can be abused if a server blindly fetches or trusts them, so the inspector flags them for review.

    JWT Signing Algorithms: HS256, RS256, ES256 and More

    AlgorithmTypeKey usedVerified by this tool
    HS256, HS384, HS512HMAC with SHA-2 (symmetric)One shared secret signs and verifies.Yes
    RS256, RS384, RS512RSA PKCS#1 v1.5 (asymmetric)Private key signs, public key verifies.Yes
    PS256, PS384, PS512RSA-PSS (asymmetric)Private key signs, public key verifies.Yes
    ES256, ES384, ES512ECDSA on P-256, P-384, P-521 (asymmetric)Private key signs, public key verifies.Yes
    EdDSA, ES256KEdwards-curve and secp256k1 signaturesPrivate key signs, public key verifies.No, not supported in browsers
    noneUnsecured tokenNo 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.

    How JWT Authentication Works

    1. A user logs in with a password, a social account or single sign-on.
    2. The server checks the credentials and creates a JWT with claims such as the user ID and an expiration time, then signs it.
    3. The client stores the token and sends it with each request, normally in the Authorization header as "Bearer" followed by the token.
    4. The API verifies the signature, checks the claims such as exp, iss and aud, and then trusts the information in the token without looking up a session.
    5. When the token expires, the client gets a new one, usually with a refresh token.

    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 vs Verifying a JWT

    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.

    Is It Safe to Decode a JWT Online?

    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.

    Common JWT Errors and How to Fix Them

    ErrorLikely causeHow to fix it
    jwt expired / token expiredThe current time is after the exp claim.Request a new token or use the refresh flow. Check the lifetime and your server clock.
    invalid signatureWrong 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 tokenThe 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 issuerThe aud or iss claim does not match what the API expects.Request the token for the correct audience from the correct issuer.
    algorithm mismatchThe 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.

    JWT Security Best Practices

    • Always verify the signature on the server and only accept the algorithms you expect. Never accept alg none.
    • Validate the claims: check exp, nbf, iss and aud on every request.
    • Use short lifetimes for access tokens, and use refresh tokens with rotation for longer sessions.
    • Do not store sensitive data in the payload. It is readable by anyone who has the token.
    • Protect your keys: use long random secrets for HS algorithms, keep private keys out of source code and rotate keys regularly.
    • Always use HTTPS so tokens cannot be read on the network.
    • Store tokens carefully. Tokens in browser storage can be read by injected scripts, while cookies need their own protections such as the HttpOnly, Secure and SameSite attributes.
    • Plan for revocation: a JWT stays valid until it expires, so keep lifetimes short or keep a deny list of token IDs (jti) when you must revoke early.
    • Do not trust key URLs in the header such as jku, jwk or x5u unless they come from a list you control.

    What This JWT Inspector Can and Cannot Do

    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.

    Decode JWT Without Installing Software

    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.

    Example: What a Decoded JWT Looks Like

    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.

    JWT vs Session Cookie vs API Key

    Comparing common authentication methods
    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.

    Where to Find a JWT in Your Browser or App

    • Network tab: Open developer tools, select a request and look for the Authorization header that starts with Bearer.
    • Application tab: Check Local Storage, Session Storage and Cookies for keys such as token, access_token or id_token.
    • API client: Copy the token from the Authorization section of your API client or from the login response body.
    • Logs and test output: Use test tokens when you can, and avoid copying production tokens into tickets or chats.

    Troubleshooting: JWT Inspector Problems and Fixes

    Common JWT inspector problems
    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.

    Decode and Verify JWT Tokens on Mobile, Windows and Mac

    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.

    More Free Developer Tools

    You may also find these free tools from the same website useful:

    ADVERTISEMENT
    Demo Ad In-article
    COMMON QUESTIONS

    Frequently Asked Questions About JWT Decoding

    What is a JWT inspector?

    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.

    Is it safe to paste my JWT here?

    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.

    Can I decode a JWT without the secret?

    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.

    What is the difference between decoding and verifying a JWT?

    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.

    Which algorithms can this tool 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. EdDSA and ES256K are not supported by browsers, and encrypted tokens (JWE) cannot be decoded.

    Why does my token show as expired?

    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.

    Is the data inside a JWT encrypted?

    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.

    ADVERTISEMENT
    Demo Ad 970 x 250