Skip to main content
Developer Tool

JWT Decoder

Read the header and claims of a JSON Web Token, with its issue and expiry dates in plain time, without sending the token anywhere.

Status—
Token
Decoded

Paste a JWT token to decode it

Learn more

Decoding JWTs: the essentials

What a JWT tells you

When a login or an API call fails, the token usually explains why: it has expired (exp), is not valid yet (nbf), was issued for another audience (aud) or lacks a scope or a role. The decoder shows the header (algorithm, key id) and every claim, with timestamps turned into readable dates.

Decoding is not verifying

A JWT's header and payload are only Base64URL-encoded: anyone holding the token can read them, which is why it should never carry secrets. Checking the signature needs the secret or the public key, which doesn't belong in a web page; do it in your backend. Encrypted tokens (JWE) can't be read without their key.

How it works

JWT Decoder in 3 steps

  1. Paste your token

    Copy a JWT from your API response, authorization header, or cookie and paste it into the input field.

  2. Inspect the payload

    The header and payload are decoded and displayed as formatted JSON. Time-based claims (exp, iat, nbf) are converted to readable dates.

  3. Check expiration

    The tool automatically shows whether the token is active or expired based on the exp claim, with a clear visual indicator.

Practical guides

Get the most out of JWT decoding

How it works

JSON Web Tokens (JWT) are the standard format for transmitting authentication and authorization data in modern web applications. They are used in OAuth 2.0, OpenID Connect, and API authentication.

A JWT contains three Base64-encoded parts separated by dots: the header (algorithm), the payload (claims), and the signature. This tool decodes the first two parts so you can inspect the token contents.

Quick & easy

Privacy & security

This JWT decoder runs entirely in your browser. No token data is ever transmitted to any server — the decoding happens locally using JavaScript.

A live token is a key to an account: it is decoded in your browser and never sent over the network.

Runs in your browser
Frequently asked questions

JWT Decoder — FAQ

Everything you need to know about decoding JSON Web Tokens