> codebench_TOOL: HomeLOCAL-ONLY⌘K Switch

JWT Decoder

Tool guide

Decode and inspect JSON Web Tokens

Input: This tool processes input in your browser. Check in Network (opens in a new tab)

Paste a JWT token below to decode
Paste a JWT token above to decode its header, payload, and signature

Paste a JWT and instantly decode its header, payload, and signature. Timestamps are automatically converted to human-readable dates. Expiration status is shown with a clear badge. Claim descriptions help identify standard JWT fields. All processing runs entirely in your browser — zero data upload.

How to use it

  1. Paste the public demo token into the input editor. The Header, Payload, and Signature sections appear automatically.
  2. Find iat in Payload and check the UTC timestamp in the Issued At comment.
  3. Compare Header and Signature: the former names the declared algorithm; the latter shows the decoded signature bytes in hexadecimal.

Worked example

Example input
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Example output
{
  "sub": "1234567890",
  "name": "John Doe",
  "iat": 1516239022
  // Issued At: 2018-01-18T01:30:22.000Z
}

The comment is added by the display; it is not a claim in the original payload. The annotated output is for inspection, not strict JSON to feed to another parser.

What to watch for

Decoding does not verify the signature or make claims trustworthy. Paste the three dot-separated parts without an Authorization or Bearer prefix, and use a demo token instead of a live bearer credential.

Frequently asked question

Why does this demo token have no VALID badge?
It has iat (issued at) but no numeric exp (expiration). The badge checks exp against the browser clock when present; it is not a signature or trust check.

Browse Crypto / Hash tools

Further reading

> codebench $Ctrl+Enter Run