JWT decoder — read a token without sending it anywhere.
Paste a JSON Web Token to see its header and payload decoded, the algorithm, and whether it’s expired or not yet valid — all in your browser. Optionally paste the HS256 secret to verify the signature locally.
About this free JWT decoder.
A JSON Web Token (JWT) is three Base64URL-encoded parts
separated by dots: a header that names the signing algorithm, a
payload of claims such as the subject and expiry, and a
signature. This free JWT decoder splits a token into those parts
in your browser, shows the header and payload as formatted JSON,
and converts the exp, nbf and
iat timestamps into readable dates so you can see
at a glance whether the token is currently valid.
Because decoding is only Base64, the token never leaves your machine. If the token uses HS256 you can also paste the shared secret and the signature is verified locally with the Web Crypto API. Use it to debug login flows, inspect what an API is actually issuing, or check why a request is being rejected as expired.
Free · No signup · Runs in your browser · Last updated
- Header and payloadBoth parts decoded and pretty-printed as JSON.
- Validity checkexp, nbf and iat converted to dates, with a clear valid, expired or not-yet-valid verdict.
- Algorithm shownSee whether the token is HS256, RS256, ES256 or none.
- HS256 verificationPaste the secret and the signature is checked with Web Crypto, in your browser.
- Nothing uploadedDecoding and verification never touch a server.
How to decode a JWT in four steps.
Paste the token
Copy the full JWT from a cookie, an Authorization header or your app’s storage and paste it into the Token box.
Read the header
The header shows the algorithm and token type, so you know how the token was signed.
Inspect the payload
Claims such as sub, iss, aud and any custom fields appear as JSON, with exp, nbf and iat translated to real dates.
Verify if you can
For HS256 tokens, paste the shared secret to confirm the signature matches. RS256 and ES256 need the public key and are on the roadmap.
JWT decoder questions, answered.
Is my token safe to paste here?
Yes — decoding is base64 and happens in your browser; the token is never sent to a server. That said, a JWT is a credential: don’t paste production tokens into tools you don’t trust, including this one, on shared machines.
Why isn’t the signature verified?
Verifying needs the key. For HS256 you can paste the shared secret and the check runs locally using Web Crypto. RS256 and ES256 tokens need the public key — planned.
What do exp, nbf and iat mean?
Seconds since the Unix epoch for when the token expires, when it becomes valid, and when it was issued. The tool converts them to readable times and tells you whether the token is currently valid.
What is a JWT used for?
JWTs carry signed claims between two parties, most often between a login service and an API. After a user signs in, the server issues a token; the client sends it with each request and the API verifies the signature instead of looking up a session. They are common in OAuth 2.0 and OpenID Connect flows.
Is a decoded JWT the same as a verified JWT?
No. Anyone can decode a JWT because the header and payload are only Base64URL-encoded, not encrypted. Verification checks that the signature was produced with the expected key, which is what proves the claims have not been tampered with. This tool decodes every token and can verify HS256 tokens when you supply the secret.
Why does my token show as expired when it just got issued?
Check whether the exp claim is in seconds or milliseconds. The standard is seconds since the Unix epoch; a value with 13 digits was written in milliseconds and will be read as a date thousands of years away or as already expired, depending on the library. Clock skew between servers can also make a fresh token look invalid for a few seconds.
Also free.
JSON formatter & validator
Paste JSON to format it with two or four spaces, sort keys, minify for transport, and get a clear error with line and column when it doesn’t parse.
javascript flavourRegex tester
Type a pattern and flags, paste some text, and see every match highlighted with its capture groups as you type.
text · files · url-safeBase64 encoder / decoder
Encode text or a file to Base64, or decode Base64 back to text — with proper UTF-8 handling, an optional URL-safe alphabet, and a data-URL output for files.
v4 · v7 · bulkUUID generator
Generate random v4 UUIDs or time-ordered v7 UUIDs, in bulk, uppercase or lowercase, with or without hyphens.
unix ↔ dateTimestamp converter
Paste a Unix timestamp (seconds or milliseconds) or a date, and see it in UTC, your local zone and ISO 8601, plus relative time.
structural compareJSON diff
Paste two JSON documents and see exactly which keys were added, removed or changed — ignoring formatting and key order — as a list of paths and as a line diff of the normalised output.
Debugging auth? Monitor endpoints behind bearer tokens with uptime monitoring.
Uptime monitoring checks from 12 regions and confirms an outage from a second region before anyone is paged. $2 a monitor a month, your whole team included.