ToolDash
JWT Decoder

JWT Decoder

Paste a JSON Web Token to see its decoded header and payload, the raw signature, and whether it has expired. Time claims are converted to readable dates in your local timezone.

  • Free, no sign-up
  • Runs in your browser — nothing is uploaded
  • Instant results, no waiting on a server

Paste a JWT token to instantly decode and inspect its header, payload, and signature.

JWT Token

0 chars

Parts: 0/3
Decoded

Paste a JWT token on the left to see the decoded header, payload, and signature.

How to decode a JWT

  1. 1Paste your token into the JWT Token panel, or click Load Sample to try it with an example.
  2. 2Check the panel footer. It shows how many of the 3 dot-separated parts were found and whether the token decoded as a valid JWT, or the reason it didn't.
  3. 3Read the badges above the output for the signing algorithm, the token type, and Expired or Active when the payload has an exp claim.
  4. 4Inspect the Header and Payload as formatted JSON, the Time Claims panel for iat, exp and nbf as local dates, and the raw Signature. Each section has its own Copy button.

What's inside a JWT

A JSON Web Token (RFC 7519) is three Base64URL-encoded segments joined by dots: header.payload.signature. The header is a small JSON object naming the signing algorithm (alg, such as HS256 or RS256) and usually the type (typ: "JWT"), sometimes with a key ID (kid) that tells the server which key to verify with. The payload is a JSON object of claims, which are statements about the user or session.

A handful of claim names are registered by the spec: iss (issuer), sub (subject, usually a user ID), aud (audience), exp (expiration time), nbf (not before), iat (issued at) and jti (a unique token ID). The three time claims are NumericDate values, meaning seconds since the Unix epoch, not milliseconds. Everything else, like roles, email or tenant IDs, is a custom claim your application defines.

The signature is computed over the first two segments. With HS256 it's an HMAC using a shared secret; with RS256 or ES256 it's an RSA or ECDSA signature that can be checked with a public key. It proves the token hasn't been modified since it was signed. It does not hide anything, because the header and payload are only encoded, not encrypted. Anyone holding the token can read every claim, so never put passwords or other secrets in a JWT payload.

Decoding and verifying are different jobs. This tool is a JWT parser, not a verifier: it shows you what the token says. It does not check the signature, so a forged token decodes just as cleanly as a real one. Your server must verify the signature with the correct key, pin the algorithms it accepts, and check exp, nbf, iss and aud before trusting any claim.

When developers reach for it

Debugging 401 errors

Check JWT expiration first, then whether the token has the wrong audience or issuer, or is missing the claim your API expects.

Inspecting identity provider tokens

Decode JWT access and ID tokens from Auth0, Cognito, Okta or Keycloak to see exactly which claims and scopes they carry.

Checking token lifetimes

Read iat and exp as real dates to confirm your access and refresh token expiry settings are what you think they are.

Reviewing what a token exposes

Use it as a JWT viewer to make sure your tokens aren't leaking personal data or internal IDs, since anyone with the token can read the payload.

Frequently asked questions

Does decoding a JWT verify it?

+

No. Decoding only Base64URL-decodes the header and payload. This tool does not check the signature, so treat the output as unverified until your server validates it with the right key.

Is it safe to run a JWT decode online with a production token?

+

With this tool, decoding happens entirely in your browser and the token is never sent anywhere. Still, a valid token is a live credential, so avoid sharing it in screenshots or chat.

Why does my token show as Expired?

+

Its exp claim is earlier than your computer's current time. If the token should still be valid, check for clock skew or a server that sets exp too short.

What do iat, exp and nbf mean?

+

iat is when the token was issued, exp is when it stops being valid, and nbf is the earliest time it may be used. All three are Unix timestamps in seconds.

Why isn't the signature decoded into text?

+

The signature is raw binary output from HMAC, RSA or ECDSA, not JSON, so it's shown as its original Base64URL string.

Can it decode encrypted tokens (JWE)?

+

No. Encrypted JWTs have five segments and need the decryption key. This JSON Web Token decoder handles signed tokens (JWS) with three segments.