JWT Decoder - Decode JSON Web Tokens Online

Inspect the header and claims inside any JSON Web Token right inside your browser. Converts Base64URL segments into formatted JSON, translates exp, iat, and nbf Unix timestamps into readable dates, and clearly flags whether the token is expired.

JWT Decoder

How to use the JWT Decoder

  1. 1Paste your encoded JWT string (three dot-separated Base64URL segments) into the Encoded JWT textarea.
  2. 2Review the amber notice at the top confirming that browser decoding inspects claims only and does NOT verify the cryptographic signature.
  3. 3Inspect the formatted Header JSON and Payload JSON panels as well as the Issued At (iat), Not Before (nbf), and Expires (exp) timestamp cards.
  4. 4Click Copy above Header JSON or Payload JSON to copy either decoded JSON block, or click Clear to reset.

What the JWT Decoder does

JWT Decoder parses compact JWT tokens locally inside your browser and turns numeric Unix claims into readable timestamps:

  • Validates that the pasted token splits cleanly into three dot-separated segments and decodes Base64URL header and payload text into pretty-printed 2-space JSON.
  • Detects numeric iat (Issued At), nbf (Not Before), and exp (Expires) claims inside the payload and renders them using your local date and time format.
  • Compares the numeric exp timestamp against your current browser clock to display a clear Active or Expired status indicator.
  • Surfaces explicit error alerts when parts are missing or when Base64URL or JSON parsing fails, and keeps all token inspection completely offline.

Example

Sample JWT payload segment decoded
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFsZXggUmVlZCIsImlhdCI6MTcwMDAwMDAwMCwiZXhwIjoxOTAwMDAwMDAwfQ.signature
Decoded Header & Payload
Header: { "alg": "HS256", "typ": "JWT" }
Payload: { "sub": "1234567890", "name": "Alex Reed", "iat": 1700000000, "exp": 1900000000 }

Timestamp cards render formatted dates for iat and exp automatically alongside an Active or Expired badge, while reminding you that signature verification must always occur on your server.

Frequently asked questions

Does decoding a JWT verify its signature?

No. The decoder clearly notes that it does NOT verify the cryptographic signature against any secret or public key. Anyone can build or alter a decoded payload unless the receiving server validates the signature.

Is it safe to paste a JWT token into this decoder?

Decoding happens 100% locally in your browser without sending the token to any server. Still, as a basic security habit, avoid pasting live production tokens or credentials in shared environments.

What do the exp, iat, and nbf claims mean?

exp (Expiration Time) is the Unix timestamp after which the token expires, iat (Issued At) records when the token was created, and nbf (Not Before) marks the earliest time the token becomes valid.

Why does my token require three dot-separated parts?

A compact JWS token consists of Header, Payload, and Signature separated by two dots. If a string does not have three parts, the decoder displays a clear structure error message.

Related tools

View All Tools