[Free tools](https://muteware.com/tools/) / JWT decoder

# JWT decoder

Paste a JSON Web Token to read its header and payload and to see when it expires. A token is a key, so this page reads it in your browser and sends it nowhere.

This page has an interactive tool that runs in the browser. Open it at https://muteware.com/tools/jwt-decoder/

Sharing a log with an AI chat? [Scrub it first](https://muteware.com/scrub/). Tokens, keys and passwords become placeholders.

## How it works

### Paste the token

With or without the word Bearer in front of it.

### Read what is inside

The header says how it was signed. The payload holds the claims, such as who it is for and what they may do.

### Check the times

You see when it was issued and when it expires, in your own time zone.

## Questions

### Is it safe to paste a token here?

This page does not send it anywhere, and you can check that in the network tab of your browser. Still, treat every working token as a password. Anyone who has it can act as you until it expires. Where you can, look at an expired token or one from a test system.

### Does this check the signature?

No. Checking the signature needs the secret or the public key of the service that issued the token. This page only shows what the token says. Never trust the content of a token whose signature has not been checked by your own server.

### What do exp, iat and nbf mean?

They are times in seconds since 1 January 1970. iat is when the token was issued, nbf is the moment from which it is valid and exp is when it expires.

### Why should a token not go into an AI chat?

Because a chat is not a safe place for keys. Logs and error messages often contain tokens without you noticing. [Scrub for AI](https://muteware.com/scrub-for-ai/) recognises JWTs and replaces them with a placeholder before you paste. If one did slip through, read [what to do after pasting a key](https://muteware.com/guides/leaked-api-key-in-ai-chat/).

### Is what I type sent anywhere?

No. The check runs in JavaScript on this page, on your own computer. There is no account and nothing you type or paste is sent to us or to anyone else. You can see this in the network tab of your browser.

## More free tools

- [IBAN checker](https://muteware.com/tools/iban-checker/): Check the country, length and check digits of one IBAN or a whole list.
- [BSN checker](https://muteware.com/tools/bsn-checker/): Check a Dutch citizen service number with the 11 test.
- [Token counter](https://muteware.com/tools/token-counter/): Estimate how many tokens, words and characters a text is, and how much of a context window it fills.
- [Scrub online](https://muteware.com/scrub/): hide emails, phone numbers, IBANs and API keys in text before you paste it into an AI chat.
- [All free tools](https://muteware.com/tools/)

### Keep data like this out of your AI chats

Scrub for AI replaces IBANs, phone numbers, email addresses, API keys and tokens with placeholders before you paste, and puts them back in the answer. It runs in your browser. Free, no account.

[Add to Chrome, free](https://chromewebstore.google.com/detail/scrub-for-ai-hide-persona/madopcokggkmjlmbiifobacolinpabbg) [Firefox](https://addons.mozilla.org/firefox/addon/scrub-for-ai/) [See Scrub for AI](https://muteware.com/scrub-for-ai/)

---

Source: https://muteware.com/tools/jwt-decoder/
Summary: Decode a JSON Web Token: header, payload, issue and expiry time. The token is read in your browser and never sent to a server.
Publisher: Muteware, support@muteware.com
