Skip to content

JWT Decoder

Decode and inspect JSON Web Tokens locally in your browser.

Runs in your browser.Input is not sent to our API.
•

Tokens are decoded locally in your browser. Tokens, claims, and payload data are never transmitted to any remote server or logged in analytics.

How to use this tool

  1. Paste your raw JSON Web Token (or an authorization header value like 'Bearer eyJ...') into the input field.
  2. Click Decode JWT, or click one of the sample buttons to test with example tokens.
  3. Inspect the token status banner for expiration details, view the claims summary, and switch between Payload, Header, and Signature tabs to review formatted JSON.

What the result means

A JSON Web Token (RFC 7519) consists of three Base64URL-encoded segments separated by periods: the header (describing the algorithm and token type), the payload (containing claim statements about an entity), and the cryptographic signature. Decoding a token extracts and formats the header and payload claims so you can verify the subject (sub), issuer (iss), audience (aud), expiration timestamp (exp), and custom application data. Unlike online decoders that transmit your sensitive tokens across the web, this tool operates strictly within your local browser.

Example

A standard token looks like eyJhbGciOi...eyJzdWIi...dBjftJe.... Decoding the first segment yields the header {"alg": "HS256", "typ": "JWT"}, while the second segment yields claims such as {"sub": "123", "exp": 1728212400}.

Limitations

Decoding a token only reveals its contents and verifies the expiration timestamp. It does not cryptographically verify the signature, because signature verification requires the private key or secret stored on your server. Never trust decoded claims on a client without prior server-side signature validation. Encrypted tokens (JWE) are also not supported by this standard JWS decoder.

Common questions

Is it safe to paste private authentication tokens here?

Yes. Decoding takes place 100% locally in your browser using standard JavaScript Base64URL and JSON parsing. No token contents or claims are ever transmitted over the network or saved in local storage.

What does the 'exp' claim mean?

The 'exp' (expiration time) claim identifies the Unix epoch timestamp (in seconds) after which the token must not be accepted for processing. This tool compares that value against your system clock to display whether the token is currently active or expired.

Does decoding verify that the token was not tampered with?

No. Decoding parses the Base64URL data to make it human-readable. Verifying that a token is authentic and untampered requires cryptographic signature validation on your backend using your HMAC secret or public key.