Decode and Inspect JSON Web Tokens
Decode a JSON Web Token to read its header, payload claims, and expiry.
- No upload
- No signup
- Free
Loading tool…
Your file stays in this browser. Nothing is uploaded.
Loading tool…
Your file stays in this browser. Nothing is uploaded.
How Private JWT Debugger & Inspector works
Browser Toolset Private JWT Debugger decodes and inspects JSON Web Tokens directly inside your browser memory. Inspect header algorithms, decoded claims, and expiry status. The token is not uploaded, and the signature is not verified.
How to use this tool
- Paste your encoded JSON Web Token (JWT) into the input box.
- Read the decoded Header and Payload JSON and the raw Signature value.
- Read the claims in the Payload JSON, such as issuer (iss), subject (sub), audience (aud), and issued-at (iat), as raw values.
- Check the expiry status, which says whether the token is active or how long ago it expired.
- Copy decoded headers or claims JSON with a single click.
Common uses
- Debugging user authentication sessions and OAuth 2.0 / OIDC bearer tokens.
- Checking custom user claims, roles, and tenant permissions in frontend apps.
- Troubleshooting token expiration issues and clock skew in microservices.
- Checking the alg value in token headers (for example a "none" algorithm).
Frequently asked questions
Is it safe to paste confidential production JWT tokens into this debugger?
Decoding runs in your browser, and the token is not uploaded or saved by the tool. Treat live production tokens with care anyway: clear the box when you are done, especially on a shared computer.
Does it calculate real-time token expiration status?
Yes. The inspector reads the exp claim and compares it with your device clock when the token is pasted, showing whether the token is active or roughly how many minutes or hours ago it expired. The status does not refresh on its own.
Can this tool verify token cryptographic signatures?
No. The tool only decodes the header and payload and shows the signature as raw text. It never checks the signature, so a token that decodes is not proof that it is genuine. Verify signatures in your own backend or JWT library.
Does it support asymmetric algorithms like RS256 and ES256?
The tool decodes the header and payload of any three-part token, so HS256, RS256, ES256 and EdDSA tokens all display the same way, with the alg value visible in the header. It does not verify the signature for any algorithm.
Can I format formatted claim JSON directly?
Yes. The header and payload are shown as pretty-printed JSON with two-space indentation, each with its own Copy button. There is no syntax coloring, and values appear exactly as decoded from the token.
Details and limits
JSON Web Tokens (JWT) are the standard mechanism for stateless authentication across modern web applications, APIs, and microservices. However, debugging authentication issues can tempt developers to paste live production tokens into online debuggers that may send them to a server.
Browser Toolset Private JWT Debugger decodes tokens locally in your browser. It parses the base64url parts, checks that the header and payload are valid JSON, and shows the Header, Payload, and raw Signature separately.
An expiry check reads the exp claim and says whether the token is still active or how long ago it expired. It does not verify signatures. Inspect user roles, audience claims, and token algorithms without uploading the token.
What this tool does and does not do
The debugger decodes a JSON Web Token. It splits the token at the dots, Base64URL-decodes the header and payload in your browser, and shows them as formatted JSON. No token is sent to a server.
It does not verify the signature. There is no field for a secret or public key, so a decoded token is not proof that the token is genuine, unmodified or issued by who it claims. Anyone can write a token with any claims. Real verification must happen on your server, with the correct key.
The signature panel simply shows the third segment as it appears in the token, in its encoded text form. Even though processing is local, treat live production tokens as credentials: prefer tokens from a test environment.
Features and limits
- Header and payload are pretty-printed with two-space indentation and each has its own copy button.
- Expiry: the tool reads only the exp claim, compares it with your device clock, shows the UTC date and reports whether the token is active or expired, in rounded minutes or hours.
- Other claims such as nbf, iat, iss and aud are displayed like any other field but are not evaluated.
- The algorithm in the header can be anything, including HS256, RS256 or ES256, because decoding does not need the signature.
- Encrypted tokens (JWE, with five parts) cannot be read. Only signed tokens (JWS) whose first two parts are Base64URL JSON will decode.
- At least two dot-separated parts are required. If either part is not valid Base64URL or not valid JSON, an error message explains that decoding failed.
Common mistakes and fixes
- Paste only the token. Remove the word Bearer, surrounding quotes and any line breaks; otherwise decoding can fail.
- Do not assume the payload is secret. It is only encoded, not encrypted, so anyone holding the token can read it. Keep passwords and personal data out of claims.
- Check the header for an alg value of none. A server should never accept that.
- An unexpected expired status is often clock skew or a token copied from an old session. Compare iat and exp, and remember the check uses your own device clock.
- To convert an exp or iat number by hand, use the Unix Timestamp Converter. For the raw Base64URL parts, the Base64 Studio can help.