What is a JSON Web Token (JWT)?
JSON Web Token (JWT) is an open industry standard (RFC 7519) that defines a compact, self-contained way for securely transmitting information between parties as a JSON object. This information is digitally signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA. JWTs are commonly used for stateless authorization and token exchange in REST APIs, modern web frameworks, and single-sign-on (SSO) systems.
Understanding the Structure of a JWT
A JSON Web Token consists of three parts separated by periods (.):
- Header: Typically contains two parts: the type of the token (JWT) and the signing algorithm being used (such as HMAC SHA256 or RSA).
- Payload: Contains the claims or statements about an entity (typically the authenticated user) and additional metadata claims like expiration time (
exp) and issuer (iss). - Signature: Created by taking the encoded header, the encoded payload, a secret key, and signing it using the algorithm specified in the header to ensure the token has not been tampered with.
Why Choose an Offline / Local JWT Decoder?
Web security is paramount when debugging tokens. When you paste production JSON Web Tokens into online tools that run backend compilation, your security tokens are transmitted over the web and can be cached, logged, or intercepted. The RTSALL JWT Debugger operates 100% locally in your browser sandbox using JavaScript’s native atob decoding engine. No data is transmitted across network sockets, ensuring absolute privacy for development and production credentials.
Common JWT Claims Explained
Here are the standard registered claims you will find in most token payloads:
sub(Subject): The unique identifier or user ID of the authenticated user.iss(Issuer): The server or service authority that issued the token.aud(Audience): The specific recipient client or API that the token is intended for.exp(Expiration Time): The Unix timestamp after which the token is invalid.iat(Issued At): The Unix timestamp indicating when the token was created.
Frequently Asked Questions (FAQ)
Q: Does this decoder verify the token’s cryptographic signature?
A: No. Signature verification requires validating the secret key or public certificate, which should only be performed on secure backends. This tool is designed to safely decode, inspect, and parse the header and payload data blocks.
Q: Can I edit the payload inside this debugger?
A: This tool is an inspector. You can copy the decoded JSON output to write and configure custom tokens inside your development environment.
![]()