KitBench

JWT Decoder

Decode JWT headers, payloads, and exp/iat/nbf timestamps locally without storing or sending tokens.

Privacy Notice: Runs locally in your browser without uploading files to external servers or requiring an account.

Interactive Browser Workspace

Loading the interactive JWT Decoder workspace. Enable JavaScript in your browser to run calculations and conversions locally.

How to Use JWT Decoder

  1. Paste a standard 3-part JWT (header.payload.signature).
  2. Inspect decoded Header JSON, Payload JSON, and UTC timestamps for exp, iat, and nbf.
  3. Copy decoded JSON sections safely.

Methodology & Accuracy

Base64URL-decodes the first two dot-separated token segments via UTF-8 TextDecoder locally in memory without persistence or logging.

Examples

  • Inspect `exp` claim converted to ISO UTC and check whether the token timestamp is in the past.

Scope & Limitations

  • Decoding inspects readable claims only and does NOT cryptographically verify the token signature.
  • Never treat a decoded JWT as valid or authentic without verifying its signature on a trusted verifier using your secret or public key.

Frequently Asked Questions

Does decoding a JWT verify that it is authentic?

No. Anyone can Base64URL-decode a JWT header and payload; signature verification requires cryptographic key checks.

What are the three dot-separated parts of a JWT?

A JSON Web Token consists of a Base64URL-encoded Header (algorithm and token type), Payload (claims like `sub`, `iat`, `exp`), and cryptographic Signature.

Does the decoder show whether the token `exp` timestamp has expired?

Yes. Numeric date claims like `exp`, `iat`, and `nbf` are decoded into human-readable timestamps so you can spot expired tokens immediately.

Related Tools

  • Base64 Decoder - Decode standard or URL-safe Base64 strings back into readable UTF-8 text.
  • Unix Timestamp Converter - Convert Epoch timestamps (seconds or milliseconds) to ISO 8601 UTC and local time, and vice versa.
  • JSON Formatter - Pretty-print, indent (2 or 4 spaces), and inspect structured JSON payloads safely.