ITT
jwt
json
developer
authentication
security
Updated 2026-02-14

JWT Decoder & Validator

Decode and inspect JSON Web Tokens (JWT) with header, payload, and claims details.

Tool Area

Instant client-side processing

Token Input

Paste your JWT to inspect its content

JWTs are decoded entirely in your browser. Sensitive data never leaves your device.

Waiting for input

Paste a JWT token on the left to see its decoded parts

## Decode and Understand JSON Web Tokens JSON Web Tokens (JWTs) are the open standard (RFC 7519) for securely transmitting information between parties as a JSON object. They are the backbone of modern stateless authentication. The **JWT Decoder** allows you to inspect the contents of a token without needing the secret key. ### Anatomy of a JWT A JWT consists of three parts separated by dots (`.`): 1. **Header**: Defines the algorithm (e.g., HS256) and token type. 2. **Payload**: Contains the "claims" (data). This is what you usually want to read. 3. **Signature**: Verifies that the sender is who they say they are. `xxxxx.yyyyy.zzzzz` ### Common Claims Cheatsheet | Claim | Name | Description | | :--- | :--- | :--- | | **sub** | Subject | Whom the token refers to (e.g., user ID). | | **iss** | Issuer | Who created the token. | | **exp** | Expiration | Timestamp when the token becomes invalid. | | **iat** | Issued At | Timestamp when the token was created. | | **aud** | Audience | Who is this token intended for? | ### Security Best Practices - **No Sensitive Data**: The payload is Base64Url encoded, **NOT encrypted**. Anyone can read it. Never put passwords or credit card info in a JWT. - **Always Use HTTPS**: Tokens are sent in HTTP headers. Without SSL, identifiers can be intercepted. - **Short Expiration**: Keep `exp` short (e.g., 15-60 min) and use Refresh Tokens for long sessions. - **Algorithm Confusion**: Ensure your backend explicitly verifies the algorithm (e.g., HS256) to prevent "None" algo attacks. ### How this Tool Works This decoder runs entirely in your browser using JavaScript. It splits the token, Base64 decodes the header and payload, and formats the JSON. **Your tokens are never sent to our servers.**

Common Questions

QWhy is the signature invalid?

This tool decodes the token but does not verify the signature because that requires your private Secret Key. We do not want you to paste your secret key here.

QHow do I invalidate a JWT?

You cannot strictly 'invalidate' a stateless JWT before its expiration. You must implement a 'blocklist' on your server or wait for it to expire.

QIs Base64 decoding the same as encryption?

No! Base64 is an encoding scheme to represent binary data as text. It provides ZERO confidentiality. Any JWT can be read by anyone who intercepts it.

QWhat is the difference between JWS and JWE?

JWS (Signed) ensures data integrity (hasn't been tampered with). JWE (Encrypted) ensures confidentiality (cannot be read). Most 'JWTs' used in web dev are actually JWS.