JWT Decoder
JWT Decoder
Decode and inspect JWT tokens. The signature is not verified — this tool is for inspection only. No data leaves your browser.
About the JWT Decoder
A JSON Web Token (JWT) is a compact, URL-safe token made of three Base64URL-encoded parts separated by dots: a header describing the signing algorithm, a payload of claims about the user or session, and a signature that proves the first two parts were not altered. JWTs are the standard format for OAuth 2.0 access tokens and OpenID Connect ID tokens.
The JWT decoder splits a token into its parts and shows the header and payload as formatted JSON. It also reads the standard time claims and tells you whether the token has expired and when. Everything happens in your browser. The signature is shown for reference but not verified, because verification needs the issuer's key.
Common uses
- Checking which claims, scopes and roles an identity provider put in a token.
- Finding out why an API rejects a token — expired, wrong audience or wrong issuer.
- Inspecting tokens from Auth0, Azure AD / Entra ID, Keycloak, Cognito or Firebase.
- Learning how JWTs are structured.
How to use it
- Paste the token (starting with
eyJ) into the JWT Token box. Remove anyBearerprefix. - Press Decode.
- Read the header, the payload claims and the expiry status.
Example
The payload of a typical access token:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFsaWNlIiwiaWF0IjoxNzAwMDAwMDAwfQ.<signature>
Header: { "alg": "HS256", "typ": "JWT" }
Payload: { "sub": "1234567890", "name": "Alice", "iat": 1700000000 }
Tips and common pitfalls
- The payload is encoded, not encrypted. Anyone holding the token can read it, so never put passwords or sensitive personal data in claims.
- Standard claims:
iss(issuer),sub(subject/user),aud(audience),exp(expiry),nbf(not before) andiat(issued at). Times are Unix timestamps in seconds. - A server must always verify the signature and check
exp,issandaudbefore trusting any claim. Reject tokens with"alg": "none". - Treat real tokens like passwords: anyone who copies a valid token can use it until it expires.
Frequently asked questions
Why doesn't the decoder verify the signature?
Verification requires the secret (for HS256) or the issuer's public key (for RS256/ES256). This tool is for inspection; verify signatures in your application with a well-tested JWT library.
Is it safe to paste a token here?
Decoding happens entirely in your browser and nothing is sent to a server. Even so, prefer test tokens or expired ones over live production tokens.
What is the difference between HS256 and RS256?
HS256 uses one shared secret to sign and verify. RS256 signs with a private key and verifies with a public key, so services can verify tokens without being able to create them.
How do I convert the exp value to a date?
The decoder shows it for you. You can also paste the number into the Timestamp Converter.