JWT Decoder & Inspector: Decode & Decrypt JSON Web Tokens Instantly.
/ DOCS & FAQ
How to Use the JWT Decoder
The JSON Forge JWT Decoder is a fast, client-side utility built for developers who need to inspect JSON Web Tokens without leaving the browser. Whether you are debugging an authentication flow, auditing the claims issued by an identity provider, or simply trying to understand what a token contains before trusting it, this jwt decode tool gives you a clear, readable view of the token's structure in milliseconds. Paste a token into the input above and the header and payload sections update instantly — no buttons to press, no round-trip to a server.
Quick Guide: JWT Token Decode in Three Steps
- Paste your token into the input field. A JWT is a single string of three base64url-encoded segments separated by dots, in the form header.payload.signature.
- Read the decoded output. The tool performs a jwt token decode in your browser, rendering the JSON header (which declares the algorithm and token type) and the JSON payload (the claims) side by side, using the same formatting engine that powers the main JSON formatter.
- Copy what you need. Use the COPY buttons on each panel to grab the pretty-printed header or payload, or load the SAMPLE token to see a realistic example before pasting your own.
The iat (issued-at) and exp(expiry) timestamps from the payload are converted to a readable UTC date so you can tell at a glance whether a token is still valid. The signature segment is displayed verbatim but is never verified — jwt token decrypt here means decoding and inspecting the contents, not cryptographically validating the token.
What Is a JSON Web Token?
A JSON Web Token (JWT) is a compact, URL-safe standard (defined in RFC 7519) for passing claims between parties. It is the backbone of most modern stateless authentication: after a user logs in, a server issues a signed JWT that the client attaches to subsequent requests. Because the token is self-contained, any service that holds the signing key can verify it without a database lookup — and any party can read its claims with a simple jwt decode, since only the signature is protected, not the payload itself.
A token always has three parts. The header describes the token type and the signing algorithm (for example HS256 or RS256). The payloadcarries the claims — registered ones like sub (subject), iss (issuer), aud(audience), exp (expiry), and any custom claims your application adds. The signature proves that the token was not tampered with. Each segment is base64url-encoded, which is why a raw JWT looks like an opaque string until you decode it.
JWT Decode vs. JWT Token Decrypt
It is worth clarifying a common source of confusion. JWTs are signed, not encrypted (unless you are using a JWE — JSON Web Encryption — variant). Running a jwt token decode simply base64url-decodes the header and payload so the claims become readable JSON; the payload was never secret. To jwt token decrypt in the cryptographic sense would require the recipient's private key and a JWE structure, which is a different and rarer scenario. For the overwhelming majority of tokens in the wild — those used for API authentication — decoding is all you need, and this tool does exactly that, instantly and safely.
Why a Client-Side JWT Decoder Matters
Authentication tokens are sensitive by definition. Pasting a live access token into an unknown online service is a real risk: the token could be logged, stored, or replayed. JSON Forge runs the entire jwt decode pipeline inside your browser tab — the token never leaves your device, is never transmitted over the network, and is never written to any server. There is no backend that receives your input. This makes the tool safe to use even with real credentials, though best practice is still to decode tokens that have already expired or been revoked whenever possible.
Frequently Asked Questions
Is this JWT decoder safe to use with real tokens?
Yes. All processing happens locally in your browser using JavaScript. Your token is never sent to a server, never stored, and never logged. As soon as you close or navigate away from the tab, the data is gone.
Does the tool verify the token's signature?
No. This is a read-only jwt token decode: it reveals the header and payload claims. Signature verification requires the signing key (a shared secret for HS256 or a public key for RS256) and is intentionally out of scope here. The signature is shown verbatim for reference only.
What token formats are supported?
Any standard JWT with two or three base64url-encoded segments separated by dots is supported. The decoder handles the header and payload gracefully even when a signature segment is absent (unsigned tokens).
Can I use this to decrypt an encrypted token (JWE)?
No. Encrypted JSON Web Encryption (JWE) tokens require the recipient's private key and a different decoding scheme. This tool performs a jwt decode of standard signed JWTs, not a jwt token decrypt of JWE payloads.
Do you store a history of decoded tokens?
No. Unlike the main formatter's local history, the JWT decoder keeps nothing — not in localStorage, not in a session store, nowhere. Every decode is ephemeral and lives only in the textarea while the tab is open.