Skip to main content

JWT Decoder

Decode the header and payload of a JWT. The signature is not verified.

  • Runs in your browser
  • No sign-in needed

Paste a JWT

The signature is NOT verified. Use this for payload inspection only.

* marks required fields.

Decoded token

Paste a JWT and press [Decode] — the header and payload appear here.

How to use JWT Decoder

When to use

Use when building or debugging login and API integrations to quickly inspect a JWT's header (alg, etc.) and payload claims (sub, roles, expiry, and so on).

What to input

Paste a JWT made of three parts (header.payload.signature) and press [Decode]. If you copied it from an Authorization header, you can paste it with the leading "Bearer " - it and any surrounding whitespace are removed automatically.

Usage example

e.g. A token starting with eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 decodes to the header {"alg": "HS256", "typ": "JWT"}, and payload iat, nbf, and exp values are also shown as issued-at, not-before, and expiry dates in your device's time zone.

Things to check

The signature is not verified, so a cleanly decoded token is not proof that it is genuine or untampered, and expiry is not checked - compare the exp time yourself. Tokens are processed only in your browser, but a valid token is itself a login credential, so keep it out of screen shares and screenshots.

Related tools

  • Encode text to Base64 or decode Base64 back to text (UTF-8 safe).

    No sign-in neededRuns in your browser

  • Convert between Unix timestamps (sec/ms auto-detected) and dates.

    No sign-in neededRuns in your browser

  • Pretty-print or minify JSON and check for syntax errors.

    No sign-in neededRuns in your browser

Your input is processed only in this browser and is never sent to a server.