JWT Decoder
Decode JWT tokens online, inspect headers and payload claims, and check expiration details. All decoding happens locally in your browser.
Decoding is not verification
Decoding does not verify a token's signature or prove it is trustworthy. Your token is decoded in this browser and is never transmitted to a server.
Important: Decoding is not verification
This tool decodes JWT headers and payloads but does not verify signatures, issuer, audience or token authenticity. Never trust a decoded token without validating its signature on your backend.
What Is a JSON Web Token (JWT)?
JSON Web Token (JWT) is an open standard (RFC 7519) used to securely represent information between two parties. JWTs are commonly used in web applications for authentication, authorization and information exchange.
A JWT is a compact, URL-safe token containing encoded information. In its commonly used signed compact form, it consists of three sections: Header, Payload and Signature.
Header
Contains metadata such as the signing algorithm and token type.
Payload
Contains claims such as user ID, issuer, audience and expiration.
Signature
Allows the recipient to verify token integrity and authenticity using the appropriate key.
JWT structure
These three sections are separated by dots in a standard signed compact JWT.
Common JWT Claims Explained
JWT payloads contain claims that communicate information about the token and its intended use. Some claims are standardized, while others are application-specific.
| Claim | Description |
|---|---|
sub | Subject – identifies the user or entity represented by the token. |
iss | Issuer – identifies who issued the token. |
aud | Audience – identifies the intended recipient of the token. |
iat | Issued At – timestamp indicating when the token was issued. |
exp | Expiration – timestamp indicating when the token expires. |
nbf | Not Before – timestamp before which the token must not be accepted. |
These claims are not mandatory in every JWT. Their presence and validation requirements depend on the application and token issuer.
JWT Decoding vs JWT Verification
Decoding and verification are two different operations. Understanding this distinction is important when debugging authentication and authorization issues.
JWT Decoding
- Reads the header and payload.
- Does not require a secret key.
- Helps inspect claims and expiration.
- Does not establish authenticity.
JWT Verification
- Validates the cryptographic signature.
- Requires the appropriate key.
- Can validate issuer and audience.
- Can validate expiration and other claims.
How to Decode a JWT Token Online
You can inspect a JWT in a few simple steps using this online JWT decoder.
- Copy your JWT: Obtain the token from your application's authentication response, API request or debugging environment.
- Paste the token: Enter the complete token into the JWT decoder input field.
- Decode the token: Click the Decode Token button to inspect its contents.
- Inspect the claims: Review the header, payload, timestamps and other available information.
Avoid sharing production access tokens or sensitive authentication credentials. Even when decoding happens locally, the token itself may grant access to protected resources.
Is It Safe to Decode JWT Tokens Online?
JWTs may contain user identifiers, permissions and other application data. Although a signed JWT is generally readable by anyone who possesses it, its signature helps protect its integrity.
This decoder processes tokens locally in your browser without sending them to our application servers. Nevertheless, avoid using public or shared devices for inspecting sensitive production tokens.
Remember that Base64URL encoding is not encryption. Never include passwords, private keys or other confidential information in JWT payloads.
Related Developer Tools
Explore other utilities that can help with development, debugging and everyday programming tasks.