SwiftToolpad

Decode a JWT locally

Inspect a JSON Web Token header, payload claims, and timestamps locally without verifying signatures.

Loading workspace…

How it works

Decodes Base64URL header and payload segments as UTF-8 JSON inside your browser. Numeric iat, nbf, and exp claims are converted to UTC ISO timestamps. Signatures are never verified and no key lookup or network request is made.

Example · Decoding a three-part JWT displays its header algorithm, payload claims, and UTC expiration time while marking the signature unverified.

How to use this tool

  1. Paste a three-part JWT string (header.payload.signature) into the input box.
  2. Select Decode JWT to inspect the decoded JSON header, payload claims, and formatted UTC timestamps for iat, nbf, and exp.
  3. Copy the decoded payload JSON if needed, keeping in mind that signature verification is intentionally not performed here.

Common questions

Does this tool verify whether a JWT signature is authentic?

No. Signature verification requires your secret or public key and must happen in a trusted backend or dedicated verifier. This page decodes the readable header and payload only.

Why does it reject a token with two parts?

Compact signed JWS tokens require three dot-separated segments. Tokens with missing segments or invalid Base64URL characters are rejected with a clear message.

Is my token sent to any server or key endpoint?

No. Decoding happens completely offline in browser memory with zero network requests and no storage of pasted tokens.