JWT Decoder

Decode a JSON Web Token to inspect its header, payload, and expiry times in plain English. Decoding only — nothing is verified or sent anywhere.

Inspect any JSON Web Token (JWT) in plain English right in your browser. Paste an encoded header.payload.signature token to immediately view the signing algorithm, claims, and registered timestamps (exp, iat, nbf, auth_time) converted into readable UTC dates with a clear EXPIRED warning. Decoding happens strictly offline in your tab — your auth token is never transmitted to a server.

How to use JWT Decoder

  1. Copy your JWT string (three dot-separated Base64URL segments) and paste it into the JWT input box.
  2. Read the decoded HEADER (algorithm and type) and PAYLOAD (subject, roles, scopes, and claims) that appear automatically.
  3. Check the UTC timestamps beside exp, iat, and nbf — plus the EXPIRED warning banner — to inspect the decoded claims and timestamp values.
  4. Click Copy decoded to grab the formatted breakdown for debugging or issue reports.

Who it is for

Backend, frontend, and mobile developers debugging authentication flows: verifying why an API returned 401 Unauthorized, checking whether an OAuth2 access token has expired, confirming which scopes or roles an identity provider included, or inspecting an OpenID Connect ID token during local development.

How it works

  • A standard JWT consists of three Base64URL-encoded segments separated by dots. The tool splits the string on dots, converts Base64URL characters (- and _) back to standard Base64, decodes UTF-8 bytes cleanly, and prints both the Header and Payload.
  • Unix epoch timestamps in exp, iat, nbf, and auth_time are formatted as human-readable UTC dates right beside the raw numbers, and exp is compared against your device clock to flag expired tokens immediately.
  • Everything runs locally in your browser with zero network calls — essential because a live JWT can grant access to a real user account.

What it cannot do

  • It does not verify the cryptographic signature. Checking whether a token was genuinely signed by your server requires your secret key or public JWKS certificate, which you should never paste into a third-party website anyway.
  • It cannot decrypt encrypted JWTs (JWE tokens with 5 dot-separated segments) — only standard JWS tokens (2 or 3 segments) have readable Base64URL payloads.
  • It cannot generate or re-sign a modified token; it is a read-only inspection tool.

Frequently asked questions

Is it safe to paste a real production JWT here?

Decoding runs 100% client-side in your browser tab, so the token is never sent over the network. Even so, good security hygiene is to debug with staging or short-lived tokens whenever possible.

Why can anyone read a JWT payload without the secret key?

By design, standard JWTs (JWS) are Base64URL-encoded, not encrypted. The signature proves the payload was not tampered with, not that it is secret — never store passwords or sensitive secrets inside a JWT payload.

Can this tool verify if a JWT signature is valid?

No. Decoding inspects the header and claims only, and the output explicitly notes that the signature is unverified. Always verify signatures on your backend with your secret or public key.

Why does my token show an error about dot-separated parts?

Make sure you pasted only the raw token (xxx.yyy.zzz) without a leading Bearer prefix, extra quotes, or line breaks. If it has five dot-separated segments, it is an encrypted JWE token rather than a standard JWS.