JWT decoder

All decoding happens in your browser. util.work does not send your JWT to a server.

JWT

Header

Payload

iat: 2024-05-01 10:40:00 UTC (1714560000)
exp: 2033-05-18 03:33:19 UTC (1999999999)

Signature

Signature verification requires the issuer's secret or public key, so this tool does not validate it.

What this JWT tool does

This page decodes a JSON Web Token in your browser and shows the header and payload as readable JSON, with human-readable timestamps for the iat, nbf, and exp claims and an expiration status badge.

If you searched for terms like JWT decoder, decode JWT online, JWT inspector, or JWT expiration check, this tool is built to give you a quick answer with a simple interface and no server round trip.

What is a JWT

A JWT (JSON Web Token) is a compact, URL-safe token format that carries claims between systems. It has three parts separated by dots: a base64url-encoded header, a base64url-encoded payload, and a signature. The header and payload are JSON objects; the signature protects them from tampering.

How JWT decoding works

Decoding a JWT means splitting it on the dots, base64url-decoding the first two segments, and parsing each as JSON. The signature segment is left as base64url because it is binary data. Decoding does not require the signing key, while verifying the signature does.

Decoding versus verification

This tool decodes a JWT so you can read its claims, but it does not verify the signature. Verification requires the secret (for HMAC algorithms like HS256) or the public key (for RSA and ECDSA algorithms like RS256 and ES256). For inspection and debugging, decoding alone is usually enough.

Common JWT claims

JWT payloads usually contain a mix of registered claims defined by the JWT standard and custom claims defined by the issuer. The table below lists the most common registered claims.

ClaimMeaning
issIssuer that produced the token
subSubject the token is about (often a user id)
audAudience the token is intended for
expExpiration time as a Unix timestamp in seconds
nbfNot-before time the token starts being valid
iatIssued-at time the token was created
jtiUnique identifier for the token

Reading exp, nbf, and iat

The exp, nbf, and iat claims are Unix timestamps measured in seconds since 1970-01-01 UTC. This tool converts them to a readable UTC time so you can quickly see when a token was issued, when it becomes valid, and when it expires.

Common JWT use cases

JWTs appear in many parts of modern applications. They are popular because they are compact, self-contained, and easy to pass through systems that expect text.

  • Authentication tokens between a frontend and an API
  • OAuth and OpenID Connect ID tokens
  • Service-to-service authorization in microservices
  • Short-lived signed links and password reset tokens

Privacy

All decoding happens locally in your browser. The token you paste is not sent to util.work and is not stored on the server. Even so, avoid pasting production tokens into any online tool you do not control yourself.