All Tools Store
Runs in your browser

JWT token decoder

Paste a token to read its header, payload and time claims in plain form. Decoding happens in your browser.

A leading “Bearer ” and any line breaks are stripped automatically.

The token is decoded in your browser and is never sent to a server. Even so, do not paste someone else's live token into third-party sites: a token is a credential, like a password.

How to use

  1. Copy the token. A leading Bearer is fine — the tool strips it.
  2. Paste it into the box above; decoding is instant, there is no button to press.
  3. Read the status badge: valid, expired, or not valid yet.
  4. Go through the claim table for exp, iss, sub and copy the JSON if you need it.

The three parts of a JWT

A JWT is three dot-separated parts: header.payload.signature. The first two are JSON written in Base64URL; the third is a signature computed over the first two.

PartWhat is insideWho can read it
Headeralg (signing algorithm), typ, sometimes kidAnyone
PayloadClaims: user id, permissions, timesAnyone
SignatureA verification value produced with a keyThe verifying server

Base64URL is not encryption, it is a way of writing bytes. Anyone holding the token can read the payload — which is why passwords, card numbers and secret keys never go in it.

What the standard claims mean

RFC 7519 standardises a handful of claim names. The tool shows them with a short description and converts the time claims to your local time.

ClaimStands forWhat it does
ississuerWho issued the token
subsubjectWho it is about — usually the user id
audaudienceWhich service should accept it
expexpirationWhen it stops being valid (Unix seconds)
nbfnot beforeNot accepted before this time
iatissued atWhen it was created
jtiJWT IDUnique id, used to block replay

Everything else is a private claim: fields such as scope, roles or email are defined by the service itself. The tool still lists unknown claims, only without a description line.

Signatures: HS256, RS256 and the “alg: none” trap

This page does not verify the signature: that needs the server's secret or public key, and pasting a secret into a web page means you can no longer treat it as secret. Verify on your own server, with your own library.

Handling tokens safely

When it will not decode

Glossary

JWT
JSON Web Token: a signed, three-part login ticket (RFC 7519).
Claim
A single field inside the payload, carrying an id, a time or a permission.
Base64URL
A Base64 variant that is safe in URLs: - for + and _ for /.
HS256
HMAC-SHA256 signing with a single shared secret.
RS256
RSA signing: private key signs, public key verifies.
exp
The moment the token stops being valid, in Unix seconds.
Clock skew
The small difference between server and client clocks, usually tolerated by a few seconds.
JWE
An encrypted JWT. It has five parts and cannot be read without the key.

Frequently asked questions

What is a JWT?

A JSON Web Token: a login ticket made of three dot-separated parts. The first two are Base64URL-encoded JSON (header and payload); the third is a signature the server checks to be sure nothing was altered.

Is a token encrypted, or can anyone read it?

A normal JWT (JWS) is signed, not encrypted. Base64URL is a way of writing bytes, not a way of hiding them: anyone holding the token can read its contents. That is why passwords or card numbers never belong in the payload.

Does this tool verify the signature?

No. Verification needs the server's secret (HMAC) or public key (RSA/ECDSA), and asking you for those would be wrong. This tool only makes the contents readable.

It says expired but the token still works — why?

Expiry is compared against your device clock. If that clock has drifted, the verdict misleads. Some services also allow a small tolerance (clock skew).

What do exp, iat and nbf mean?

They are Unix timestamps: seconds since 1 January 1970. The tool converts them to your local time and to readable phrases such as “in 3 days”.

What does alg: none mean?

It means an unsigned token. Old libraries that accepted such tokens caused a well-known security hole, so servers should reject them today.

Is my token stored anywhere?

No. Decoding happens in your browser; the token is never sent to a server and never saved.

Base64 Encode & DecodeConvert text and files to Base64 and backTimestamp ConverterUnix time to date and backHash GeneratorMD5, SHA-1, SHA-256 and SHA-512 digests

the Mall of Accs team Last updated:

More free tools

2FA Code GeneratorInstant codes from your secret keyPassword GeneratorStrong random passwords, one or in bulkQR Code GeneratorQR for links, text, Wi-Fi and 2FAQR Code ScannerRead a QR code from an image or cameraImage to LinkUpload an image, get a shareable linkImage CompressorCompress, resize, convert JPG/PNG/WebPImage WatermarkAdd a text watermark to images in bulkGmail Dot & Alias GeneratorHundreds of addresses from one GmailAccount Line ParserTurn messy lines into clean columnsText ToolsDedupe, sort, shuffle, find & replaceYouTube Channel IDUC channel ID from a URL or @handleFacebook UIDNumeric ID from a public profileInstagram User IDNumeric ID from a public profileTikTok User IDNumeric ID + secUid from a profileYouTube Link GeneratorTimestamp link, embed code, subscribe linkYouTube Tag ExtractorA video's tags, title and descriptionYouTube Logo & BannerDownload a channel's logo and bannerYouTube ThumbnailDownload a video cover image (HD)Earnings CalculatorYouTube/TikTok/Twitch/Spotify incomeEngagement RateEngagement % from followers + likesProfile Photo DownloaderTikTok & Instagram profile pictureWheel of NamesType names, spin the wheel, get a winnerGiveaway PickerPick a fair random winner from a listText CompareLine-by-line diff of two textsInstagram Bio Line BreakLine breaks that survive in bios and captionsFancy Text GeneratorBold, italic and fancy Unicode text stylesCharacter & Word CounterLive counts against platform limitsUTM Link BuilderAdd campaign tags to a linkBinary ConverterText ⇄ binary, decimal ⇄ hex ⇄ octalSlug GeneratorTurn a title into an SEO-friendly URLJSON FormatterFormat, minify, find errors by linePassword Strength CheckerHow long would it take to crack?User-Agent ParserBrowser, OS, device and bot detectionIP LookupIP owner, ASN and reverse DNSEmail Domain CheckerMX, disposable, SPF and DMARCOutlook / Hotmail Inbox ReaderRead the inbox of an account you boughtShort Link GeneratorShorten long links in one clickUnit ConverterLength, weight, temperature, data and moreStopwatch & TimerLaps, plus a countdown with a sound alertDiscount CalculatorPercent-off price and discount rateCurrency ConverterDollar, euro, lira and 30 currencies