JWT Decoder

Read a JWT's header, payload and time claims. Decode only.

This tool only decodes. It does not verify the signature, so a decoded token is not proof that it is genuine.

Header
HS256
Signature part
present (not checked)
Payload
{
  "sub": "1234567890",
  "name": "John Doe",
  "iat": 1516239022
}
Time claims (UTC)
2018-01-18T01:30:22.000Z
iat
2018-01-18T01:30:22.000Z

Do not paste live production tokens into any website. This page decodes them in your browser and sends nothing, but treat tokens like passwords.

About this tool

A JSON Web Token, or JWT, is a compact string used by many websites and APIs to carry login information. It has three parts separated by dots: a header, a payload and a signature. The first two are just Base64URL-encoded JSON, so anyone can read them, which is useful when you are debugging why a login fails or what a token claims. This tool decodes the header and payload and shows them as formatted JSON. It also turns the standard time claims iat, nbf and exp, which are stored as seconds since 1970, into readable UTC dates. It does not verify the signature, and it says so on the page, because verifying needs a secret or a public key. That means a decoded token is not proof that the token is genuine or unexpired on the server. Decoding runs in your browser, but tokens act like passwords, so avoid pasting live production tokens into any website.

How to use it

  1. Paste the full token, including both dots, into the box.
  2. Read the header, which usually shows the signing algorithm.
  3. Read the payload to see the claims inside the token.
  4. Check the time claims for the issued, not-before and expiry dates.
  5. Remember that the signature is not checked.

How it works

The token is split at the dots. The first two parts are Base64URL decoded (the characters - and _ replace + and /, and padding is optional) into UTF-8 text and parsed as JSON. Time claims iat, nbf and exp are numbers of seconds since 1 January 1970 UTC and are shown as ISO dates. The third part, the signature, is only reported as present or missing.

Example: The widely used sample token starting eyJhbGciOiJIUzI1NiIs decodes to the header {"alg":"HS256","typ":"JWT"} and a payload with sub 1234567890, name John Doe and iat 1516239022, which is 18 January 2018 at 01:30:22 UTC.

Common uses

  • Checking which user and permissions a token claims while debugging an API.
  • Finding out when a token expires.
  • Learning how JWTs are structured.

Frequently asked questions

Does this tool verify the token?
No. It only decodes. Verifying a signature needs the secret or public key and should be done by your server.
Is it safe to paste my token?
The decoding happens in your browser and nothing is sent, but tokens work like passwords. Use test tokens where possible and never share live ones.
Why can anyone read my token?
The header and payload are only encoded, not encrypted. Never put secrets in a JWT payload.
What do iat, nbf and exp mean?
Issued at, not valid before, and expiry time, each as seconds since 1 January 1970 UTC.
Can it decode encrypted tokens?
No. Encrypted tokens (JWE) have five parts and cannot be read without the key.

Last reviewed 2026-11-01. Browse all tools