JWT Decoder
Paste a JWT to decode and inspect its header, payload, signature, registered claims and timestamps. Decoding is 100% client-side — your token never leaves your browser. This tool decodes JWTs; it does not verify signatures.
Read the guide: How to decode a JWTJWTs are encoded, not encrypted.
Decoding a JWT does not verify its signature or prove that the token is authentic. Do not paste production secrets, passwords or sensitive tokens into third-party tools unless you understand the privacy implications.
Paste JWT
Decoded JWT
Your JWT is processed locally in your browser and is not included in analytics.
How the JWT Decoder works
- The token is split into three dot-separated sections: header, payload and signature.
- The header and payload are Base64URL-decoded (handling the URL-safe alphabet and missing padding) and parsed as UTF-8 JSON.
- Registered claims (iss, sub, aud, exp, nbf, iat, jti) are recognised and explained. Timestamp claims are interpreted as JWT NumericDate values in seconds.
- The signature is displayed as-is without verification. The tool never requests secret keys, private keys or certificates.
See also: Base64 Encoder & Decoder, JSON Validator, JSON Formatter and URL Encoder & Decoder.
Examples
HS256 token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkphbmUgRG9lZSIsImlhdCI6MTcyODAwMDAwMCwiZXhwIjoxNzI4MDAzNjAwfQ.s6BpfK2fQ3GZq3GZq3GZq3GZq3GZq3GZq3GZq3GZq3G
Useful tips
- Decoding does not verify the signature. Never trust a decoded token's contents without separate verification.
- Do not paste production authentication tokens into tools you do not trust.
- JWT NumericDate values are seconds, not milliseconds — the tool interprets them correctly.
- Use the Claim Inspector to understand what each registered claim means.
Frequently asked questions
What is a JWT Decoder?+
A JWT decoder extracts the Base64URL-encoded header and payload from a JSON Web Token and displays them as readable JSON. It also shows the signature segment and interprets common registered claims such as iss, sub, exp, iat and nbf.
How do I decode a JWT?+
Paste your JWT into the input field and click Decode JWT. The tool splits the token into its three sections, Base64URL-decodes the header and payload, and displays the formatted JSON, signature, claim meanings and timestamps.
Can anyone decode a JWT?+
Yes. The header and payload of a standard JWT are only Base64URL-encoded, not encrypted. Anyone who has the token can decode them without a key. This is why you should never put sensitive information in a JWT payload unless your design specifically provides confidentiality.
Is decoding a JWT secure?+
Decoding itself is safe — it only reverses an encoding. However, the contents of a JWT may include user IDs, email addresses, roles or session information. Avoid pasting production tokens into tools you do not trust. This tool processes JWTs entirely in your browser.
Does decoding a JWT verify the signature?+
No. Decoding does not verify the signature. Verification requires the signing algorithm and a secret or public key to cryptographically confirm the token has not been altered. This tool is a decoder only — it never claims a signature is valid.
Is a JWT encrypted?+
Not by default. Standard JWT signing provides integrity and authentication, not confidentiality. The payload is encoded as Base64URL, which anyone can reverse. If you need confidentiality, use an encrypted token format such as JWE, or encrypt the payload before placing it in a JWT.
What is the JWT header?+
The header is a JSON object that describes the token. It typically contains the signing algorithm (alg), the token type (typ) and an optional key ID (kid). The header is metadata about the token, not a verified claim.
What is the JWT payload?+
The payload is a JSON object containing claims — statements about an entity (usually the user) and additional data. Claims include registered names defined by the JWT specification (iss, sub, exp, iat, nbf, jti) and custom private claims specific to an application.
What does the exp claim mean?+
exp (Expiration Time) is a registered claim that identifies the time after which the JWT must not be accepted for processing. The value is a JWT NumericDate: seconds since the Unix epoch.
What does the iat claim mean?+
iat (Issued At) is a registered claim that identifies the time at which the JWT was issued. The value is a JWT NumericDate: seconds since the Unix epoch.
What does nbf mean?+
nbf (Not Before) is a registered claim that identifies the time before which the JWT must not be accepted for processing. The value is a JWT NumericDate: seconds since the Unix epoch.
What is the difference between JWT decoding and JWT verification?+
Decoding reverses the Base64URL encoding to reveal the header and payload. Verification uses the signing algorithm and a secret or public key to cryptographically confirm that the signature matches the header and payload and that the token has not been altered. Decoding requires no key; verification requires the correct key.
Should I paste a production JWT into an online decoder?+
Only if you understand the privacy implications. A JWT payload can contain user IDs, email addresses, roles, permissions or session information. This tool processes tokens locally in your browser, but you should still avoid pasting production authentication tokens into tools you do not fully trust. Consider decoding in your own environment or redacting sensitive claims first.
Related guides
How to format and validate JSON
JSON is the lingua franca of the modern web, but a single stray comma can break an entire API response. This guide shows you how to format and validate JSON quickly, what the most common errors look like, and how to fix them — all using a free tool that runs entirely in your browser.
How to convert JSON to CSV
JSON is great for APIs, but spreadsheets still rule for analysis. This guide explains how to turn JSON into a clean CSV file, how nested values are handled, and the common pitfalls to avoid — all using a free tool that runs entirely in your browser.
How to validate JSON
A single stray comma can break an entire API response. This guide explains what JSON validation is, the most common syntax errors and how to fix them — all using a free tool that runs entirely in your browser.
How to minify JSON
Minified JSON is smaller, faster to transfer and just as valid as the formatted original. This guide explains what minification does, how it differs from compression, and why your data stays exactly the same — all using a free tool that runs entirely in your browser.
What would you like to do next?
Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 to text and files. Fast Base64 encoder and decoder with file support, validation, copy and download.
JSON Validator
Validate JSON online, find syntax errors, format and minify JSON with clear error messages and line and column information.
JSON Formatter
Format, validate and minify JSON instantly — all in your browser.
URL Encoder & Decoder
Encode and decode URLs, query parameters and special characters online. Percent-encode URL components with accurate UTF-8 support.