Data tools

We never see your dataFree, no sign-up

JWT decoder

Paste a JWT or a Bearer token to read its header, claims and expiry. It's decoded in your browser and never sent anywhere.

Guide

How to decode a JWT

  1. Paste the token

    A three-part JWT, or the whole Authorization header with Bearer in front.

  2. Read the claims

    The payload, the algorithm, and exp, nbf and iat in your own time zone.

  3. Copy the JSON

    Copy the payload or header for a ticket or your editor.

Know-how

Good to know

Updated

What's inside a JWT

A JWT is three pieces of Base64URL joined by dots: a header that names the algorithm, a payload of claims (who it's for, who issued it, when it expires) and a signature.

The header and payload are only encoded, not encrypted, so anyone holding the token can read them. Keep tokens out of chats and tickets for that reason.

Reading is not trusting

The signature proves the token came from whoever holds the key. Checking it needs that key, so a decoder can only tell you what the token says, not whether it's genuine.

Before your app acts on a token, verify the signature and check exp, nbf, iss and aud with your own library.

Questions

Not here? Email us.