JWT decoder
Paste a JSON Web Token to read its header and claims, and see when it was issued and when it expires, in plain dates.
Your files stay on your device. Nothing is uploaded.
Step 1: Paste the token
Step 2: What the token says
Header
Payload (claims)
How to decode a JWT
-
Paste the token
Paste the token, with or without the word "Bearer" in front.
-
Read the claims
The header and payload appear as formatted JSON, with issue and expiry times turned into dates.
-
Copy what you need
Copy the payload or any date with one click.
About this tool
Decoded, not verified
Anyone can read a JWT: its first two parts are only Base64URL-encoded. Checking the signature needs the secret or public key of the system that issued it, so this tool shows the signature algorithm but does not claim the token is genuine.
Expiry in your time
The exp, iat and nbf claims are Unix timestamps. They are shown as dates in your time zone, with "in 3 hours" or "2 days ago", and the token is marked expired, not valid yet, or not expired.
Safe for real tokens
Tokens can give access to accounts, so never paste them into a site that sends them to a server. This decoder runs entirely in your browser.
Privacy
This tool runs in your browser, on your own device. Your files and text are not uploaded to our server and we cannot see them. When you close or reload this tab, they are cleared, along with the results.
Frequently asked questions
What are the three parts of a JWT?
The header (algorithm and type), the payload (the claims, such as user ID and expiry) and the signature, separated by dots.
Why does it say "encrypted token"?
A token with five parts is a JWE. Its payload is encrypted, so it cannot be read without the key.
Is my token uploaded?
No. It runs in your browser, so nothing you type or choose is sent anywhere.
Can I decode Base64 separately?
Yes, with Base64 encode and decode, which also reads URL-safe Base64.
Related tools
- Base64 Base64 encode and decode Encode text to Base64 or decode Base64 to text.
- Epoch Unix timestamp converter Turn Unix timestamps into dates and dates into timestamps.
- { JSON } JSON formatter Format, validate, minify and sort JSON.
- SHA-256 Hash generator MD5, SHA-1 and SHA-256 checksums of text or files.
- %20 URL encode and decode Percent-encode text for URLs, or decode it back.
- TS JSON to TypeScript Make TypeScript interfaces from a JSON sample.
- Secure Password generator Make strong random passwords on your device.
- v4 · v7 UUID generator Make random UUIDs (version 4 or 7), up to 100 at once.