JWT Decoder – Decode JSON Web Tokens

Paste a JSON Web Token to see its header, payload and expiry in readable form. Decoded locally — your token never leaves your browser.

Last updated:

Header

Payload

JWT decoder

Debugging a login, an API call or an OAuth flow? Paste the JSON Web Token and this JWT decoder splits it into its header and payload, pretty-prints the claims, and turns the iat, nbf and exp timestamps into readable dates — telling you straight away whether the token has expired. It decodes only; it doesn't verify the signature, so it never needs your secret key. Everything happens locally in your browser.

How to use it

  1. Paste the token (with or without “Bearer ”).
  2. Read the header, payload and expiry.
  3. Copy the payload JSON if you need it.

Example

The sample token's header says "alg": "HS256", and its payload holds a user ID, a name, a role and timestamps showing it was issued on 21 September 2026 and lasts 24 hours. Each part is justURL-safe Base64 of JSON — which is why sensitive data should never go in a payload. Format any JSON with the JSON formatter, or convert raw timestamps with the Unix timestamp converter.

Rate this tool

Frequently asked questions

What is a JWT?
A JSON Web Token is a compact login or access token made of three Base64URL parts separated by dots: a header (the algorithm), a payload (the “claims” such as user ID and expiry) and a signature.
Does this verify the signature?
No — it only decodes. Anyone can read a JWT’s header and payload; verifying the signature needs the server’s secret or public key. Never trust a token just because it decodes.
Is it safe to paste my token here?
Decoding happens entirely in your browser and the token is not stored or sent anywhere. Still, a live token is like a password — avoid sharing it with anyone, and prefer test or expired tokens.
What do exp, iat and nbf mean?
They are Unix timestamps: iat is when the token was issued, nbf is when it becomes valid, and exp is when it expires. The decoder converts them to your local date and time and says whether the token has expired.