- All dev tools
- JWT decoder
JWT decoder and verifier
Paste a JSON Web Token to see its header and payload, when it was issued and when it expires. Add the secret or public key to check the signature.
How to use the jWT decoder and verifier
- Paste the token. A "Bearer " prefix is fine.
- Read the header, the payload and the expiry status.
- To check the signature, paste the HMAC secret or the PEM public key and select Verify.
Questions
Does decoding prove the token is genuine?
No. Anyone can read a JWT; the payload is only encoded, not encrypted. Only a valid signature proves who issued it. Decoding never checks the signature; Verify does, if you give it the secret or public key.
Is it safe to paste a real token here?
The token is decoded and verified in your browser and never sent anywhere. Even so, treat live production tokens like passwords: prefer expired or test tokens, and never paste them into tools that upload them.
Which algorithms can it verify?
HS256, HS384 and HS512 with a shared secret; RS256/384/512 and PS256/384/512 with an RSA public key; ES256, ES384 and ES512 with an EC public key. Keys must be PEM (-----BEGIN PUBLIC KEY-----).
Is my data sent anywhere?
No. Everything runs in your browser with JavaScript. What you paste is never sent to a server, and the site's security policy stops the page from connecting to any other website. That matters for tokens, keys and customer data, which people paste into tools like this every day.
Related tools
- Base64 encode and decodeText and files to and from Base64.
- Unix timestamp converterEpoch time to dates and back.
- Hash generatorMD5, SHA-1, SHA-256, SHA-512.
More developer tools
- JSON formatterFormat, validate and minify JSON.
- JSON to CSVTurn JSON arrays into a spreadsheet.
- CSV to JSONTurn a spreadsheet into JSON.
- URL encode and decodePercent-encode text for URLs.
- Regex testerTest regular expressions live.
- Diff checkerCompare two texts line by line.
- Case convertercamelCase, snake_case, Title Case…
- Lorem ipsum generatorPlaceholder text on demand.
- Cron expression explainerCron schedules in plain English.
- UUID generatorRandom v4 and time-ordered v7 UUIDs.