JWT Decoder
Paste any JWT token and instantly inspect its header, payload and signature. Timestamp claims are converted to readable dates. Expired tokens are flagged automatically. Nothing leaves your browser.
This tool decodes a JSON Web Token and displays its header, payload and claims in readable form, entirely in your browser. Expiry and issued-at timestamps are converted to dates. Decoding is not verification — the payload of a JWT is only Base64-encoded, so never trust its contents without checking the signature server-side.
JWT Token
Token stays entirely in your browser. Nothing is sent to any server.
Decoded
Paste a JWT token on the left
Header, payload and signature will appear here, decoded and syntax-highlighted.
About this tool
A privacy-first JWT decoder that parses and syntax-highlights all three sections of a JSON Web Token — header, payload and signature — as you type. No button needed. The structure is colour-coded (purple header · blue payload · green signature) so you can immediately identify each segment visually.
Timestamp claims (exp, iat, nbf) are automatically converted to human-readable local dates with a relative time indicator. Expired tokens trigger a prominent warning in the status bar. The tool decodes structure only — signature verification requires a key and must always be performed on your server.
How to use
Paste your JWT
Paste the full token string into the input on the left — it typically starts with 'eyJ'. Or click 'Sample' to try an example token with timestamps.
Inspect the structure
The colour-coded token preview shows the three segments at a glance. The status bar immediately tells you whether the token is valid, expired, or malformed.
Read the decoded sections
Header shows the algorithm and type. Payload shows all claims — timestamp fields are converted to readable dates with a relative time indicator (e.g. '3h from now').
Copy what you need
Use the copy buttons next to each section to copy individual JSON objects, or 'Copy all' to export the full decoded token as formatted text.
At a glance
- Displays
- Header, payload and claims in readable form
- Timestamps
- exp, iat and nbf are converted from Unix time to dates
- Critical caveat
- Decoding is not verification. A JWT payload is only Base64-encoded, so anyone can read and alter it — never trust its contents without checking the signature server-side
- Secrets
- No signing key is required or accepted; the token is only parsed
- Privacy
- The token is decoded locally and never transmitted
Sources & references
- RFC 7519 — JSON Web Token — The JWT specification, including why signature verification is mandatory
- MDN — Web Crypto API — The primitives used to verify a token signature
Related tools
Frequently asked questions
Common questions about JWT tokens, claims, algorithms, and how to use this decoder.
Last updated
