JWT Decoder

Decode JSON Web Tokens instantly: inspect the header, payload and standard claims, check expiry, and verify HMAC (HS256/HS384/HS512) signatures.

Encoded Token

Token parts: ■ Header ■ Payload ■ Signature
The decoded token structure appears here.

🔒 Your token never leaves your browser. Decoding and signature verification run locally using JavaScript and the Web Crypto API — nothing is sent to any server or logged.

Decoded

HEADER · algorithm & token type

PAYLOAD · data & claims

SIGNATURE

Claims

ClaimValueMeaning
Paste a token to see its claims.

Verify Signature (optional · HS256 / HS384 / HS512)

Algorithm from header: —
Asymmetric algorithms (RS*, ES*, PS*, EdDSA) need a public key and are not verified here.

How to Use the JWT Decoder

Decoding

  1. Paste a JWT into Encoded Token — it is decoded as you type
  2. The token is split into colored header, payload and signature parts
  3. Read the Claims table for explanations and human-readable dates
  4. The badge shows whether the token is valid, expired or not yet valid

Verifying

  1. For HS256 / HS384 / HS512 tokens, enter the shared secret
  2. Tick Base64 encoded if your secret is stored that way
  3. Click Verify (or press Ctrl+Enter) to check the HMAC signature
  4. Try Load Example Token — it is signed with your-256-bit-secret

What is a JWT?

A JSON Web Token (JWT, RFC 7519) is a compact, URL-safe token made of three Base64url-encoded parts separated by dots: a header (algorithm and type), a payload (claims such as user ID and expiry) and a signature that proves the token was issued by someone holding the key. The payload is only encoded, not encrypted — anyone can read it, so never put secrets in a JWT. Decoding does not prove authenticity; always verify the signature on your server.

Privacy & Security: Tokens and secrets are processed entirely in your browser using the Web Crypto API. Nothing is sent to any server, stored or logged.

Send Feedback or Request