Base64 Encoder / Decoder
Encode and decode Base64 strings instantly in your browser.
Debugging authentication flows, inspecting API tokens, or verifying claims in a JSON Web Token requires decoding its Base64URL-encoded parts. This free tool instantly decodes the header and payload of any JWT, checks expiration status, and lets you build new tokens — all entirely in your browser. Your tokens never leave your machine.
exp and nbf claims.A JSON Web Token (JWT, pronounced "jot") is a compact, URL-safe format for securely transmitting information between parties as a JSON object. JWTs are the backbone of modern authentication and authorization systems, used by OAuth 2.0, OpenID Connect, and countless APIs to pass identity information and access permissions without requiring server-side session storage. A JWT consists of three Base64URL-encoded segments separated by dots: the header, the payload, and the signature.
The header typically contains two fields: the signing algorithm (such as HS256 or RS256) and the token type (usually "JWT"). The payload carries the claims — pieces of information about the user or session, such as a user ID, email address, roles, and expiration time. Standard claims like iss (issuer), sub (subject), exp (expiration), and iat (issued at) are defined by the JWT specification, but applications can add any custom claims they need.
The signature is created by combining the encoded header and payload with a secret key (for HMAC algorithms) or a private key (for RSA or ECDSA). This signature allows the receiving party to verify that the token has not been tampered with. It is important to understand that the header and payload of a standard JWT (JWS) are encoded, not encrypted — anyone with the token can decode and read the claims. This is why sensitive information should never be stored in a JWT payload, and why you should always use HTTPS when transmitting tokens.
exp claim. However, verifying the cryptographic signature requires the secret key (for HMAC algorithms) or the public key (for RSA/ECDSA), which should never be pasted into a web tool. Signature verification should be performed server-side in your application.iss (issuer — who created the token), sub (subject — who the token is about), aud (audience — who the token is intended for), exp (expiration time as a Unix timestamp), nbf (not before — token is not valid before this time), iat (issued at — when the token was created), and jti (JWT ID — a unique identifier for the token). Applications can also define custom claims for roles, permissions, and other user data.