Skip to content

Development Tools

JWT Decoder

Decode JWT header and payload data locally without claiming to verify the token signature.

Tool workspace

Ready when you are.

Enter the requested information below. The result panel will explain the output or any honest technical limitation.

Preparing JWT Decoder Loading only the code required for this tool…

Privacy first: uploaded files are processed in your browser unless the tool clearly identifies a live server check.

Use FreeProKit’s JWT Decoder to read the header and payload of a JSON Web Token locally in your browser. It is useful for debugging access tokens, inspecting issuer, audience, expiration, issued-at time, or custom claims, and checking whether an authentication system is emitting the values you expect. The tool explicitly does not claim to verify the JWT signature, so decoding should never be treated as proof that a token is authentic, trusted, unmodified, or acceptable to an application. JavaScript is required.

What Is a JWT Decoder?

A JWT decoder turns the encoded sections of a JSON Web Token into readable JSON. For the common signed JWT format, this lets you inspect the JOSE header and the claims payload without writing code.

FreeProKit keeps decoding and verification separate. The tool is designed to show you what the token claims; it does not prove that those claims came from a trusted issuer.

How to Decode a JWT

  1. Paste the JWT into the input area shown by the live tool.
  2. Run the decoder and review the parsed header and payload.
  3. Inspect header fields such as alg, typ, or kid when present.
  4. Check claims such as iss, sub, aud, exp, nbf, iat, jti, scopes, roles, or other application-specific values.
  5. Convert time claims to readable dates when needed.
  6. Verify the token separately with a trusted JWT library before any security decision is made.

How a JWT Is Structured

A common signed JWT uses three dot-separated parts:

header.payload.signature

The header and payload are Base64URL-encoded JSON. The signature is the cryptographic part a real verifier uses to check integrity and authenticity with trusted keys and allowed algorithms.

JWT can also be represented as encrypted JWE data. Encrypted or nested tokens can require decryption keys and additional cryptographic processing, so a basic header-and-payload decoder should not be assumed to handle every JWT representation.

Decoding a JWT Does Not Verify It

A token can decode perfectly and still be forged or invalid. Decoding only reveals what the token says. Verification determines whether the token was cryptographically protected with a trusted key and whether the application should accept its claims.

Secure JWT validation should enforce an application-controlled list of acceptable algorithms, use the correct trusted key, validate the issuer and audience where required, evaluate expiration or not-before times, and reject the token when any mandatory check fails.

Why the JWT Payload Is Readable Without a Secret

The header and payload of a typical signed JWT are encoded with Base64URL. Encoding is not encryption. It makes the token compact and URL-safe, but anyone who has the token can usually decode those sections.

Do not place passwords, private keys, API secrets, or confidential data in a normal signed JWT payload merely because the token looks scrambled.

Understanding Common JWT Header Fields

alg

Names the algorithm indicated by the token. A secure verifier must still enforce its own allowed algorithm list.

typ

Can identify the token type, commonly JWT.

kid

Can identify a key for lookup, but it remains untrusted input that the application must handle safely.

Understanding Common JWT Claims

iss – Issuer

Identifies who issued the token.

sub – Subject

Identifies the subject of the token.

aud – Audience

Identifies the intended recipient or recipients.

exp – Expiration Time

Specifies when the token expires under the applicable validation rules.

nbf – Not Before

Specifies the time before which the token should not be accepted.

iat – Issued At

Records when the token was issued.

jti – JWT ID

Provides a unique identifier that can support token tracking or replay-related designs.

Seeing these claims does not make them trustworthy. The receiving application must validate the values it depends on.

Convert exp, nbf, and iat to Readable Dates

Time-based JWT claims commonly use Unix-style NumericDate values. Use FreeProKit’s Unix Timestamp Converter to turn seconds or milliseconds into readable dates. Check the unit carefully, because JWT NumericDate values are normally expressed in seconds.

Base64URL Is Not Exactly the Same as Base64

JWT compact serialization uses Base64URL, a URL-safe variation of Base64. It uses URL-safe characters and often omits padding. That is why a JWT segment may not look exactly like a normal Base64 string.

For ordinary Base64 troubleshooting, use the Base64 Decoder. For a complete token, the JWT Decoder is the better fit because it understands the JWT’s segmented structure.

Useful JWT Debugging Workflows

  • Inspect an access token to check whether the expected audience or scopes are present.
  • Read an ID token to inspect issuer, subject, authentication-time, or profile-related claims.
  • Check an exp timestamp while debugging token-lifetime behavior.
  • Compare custom claims from two environments to find configuration differences.
  • Review alg and kid before handing the token to a proper validation library.

Inspect the Decoded JSON

If the decoded header or payload is large, copy it into the JSON Viewer to validate, format, minify, and inspect the JSON.

When comparing payloads, JSON Sort & Normalize can recursively sort object keys and produce normalized pretty or compact JSON.

Do Not Use a Decoder as a JWT Validator

A decoder cannot tell you whether the cryptographic signature is valid, whether the signing key is trusted, whether the audience is correct, whether the token has been revoked, or whether a particular API should authorize the request.

Use a mature JWT/JWS library in application code. Manual hashing or HMAC generation can be useful for learning or isolated tests, but it is not a substitute for complete JWT verification and claims validation.

Privacy and Token Safety

FreeProKit identifies JWT Decoder as a JavaScript browser tool and describes the decoding as local. That reduces unnecessary server exposure, but bearer tokens should still be treated like credentials.

Use sanitized test tokens whenever possible. Avoid pasting live production tokens into screenshots, issue trackers, chat messages, public documentation, or any environment where another person could copy and reuse them.

Limitations

  • Decoding does not verify the signature.
  • Decoded claims remain untrusted until a proper verifier accepts the token.
  • JWE-encrypted or nested tokens can require decryption keys and extra processing.
  • Malformed JWTs or invalid Base64URL/JSON can fail to decode cleanly.
  • The decoder cannot check revocation, session state, server authorization rules, or live identity-provider status.
  • The current live tool interface is the authority for exact error messages and result fields.

Frequently Asked Questions

What does FreeProKit’s JWT Decoder do?

It decodes the JWT header and payload into readable data locally in the browser. The live FreeProKit page explicitly says it does not claim to verify the token signature. Use it for inspection and debugging, not as proof that a token is authentic, trusted, unmodified, or acceptable to your application.

Does decoding a JWT verify its signature?

No. Decoding and verification are different operations. Decoding only reads the encoded header and claims. Verification uses trusted cryptographic keys, allowed algorithms, and application validation rules to determine whether the token should be accepted. A token can decode perfectly and still be forged, expired, misaddressed, or otherwise invalid.

Why can I read a JWT payload without the secret key?

The header and payload of a typical signed JWT are Base64URL encoded, not encrypted. Encoding makes the data safe for compact transfer but does not make it confidential. The secret or private key is used for signing or verification, not for hiding the normal JWS payload. Do not put secrets in a signed JWT payload simply because the token looks encoded.

What do exp, iat, and nbf mean in a JWT?

exp is the expiration time, iat is the issued-at time, and nbf is the not-before time. These claims commonly use Unix-style NumericDate values measured in seconds from the epoch. Decode the token to read the value, then convert the timestamp to a human-readable date when needed. A verifier must still apply the correct validation rules.

What do iss, sub, and aud mean?

iss identifies the token issuer, sub identifies the subject, and aud identifies the intended audience or recipients. These values are only useful when the receiving application validates them against its own trusted configuration. Simply seeing a familiar issuer or audience in a decoded payload does not prove the claim is authentic.

Is Base64URL the same as Base64?

They are closely related but not identical. JWT compact serialization uses Base64URL, which is designed to be safe in URLs and filenames and commonly omits padding. That is why JWT segments can differ from ordinary Base64 strings. For a complete JWT, use a JWT-aware decoder rather than treating the whole token as one Base64 value.

Can this tool decode encrypted JWTs?

FreeProKit describes the tool as decoding JWT header and payload data and does not claim JWE decryption. Encrypted JWTs use JSON Web Encryption and require the appropriate cryptographic keys and algorithms. If a token is a JWE or a nested token, a simple decoder may not be able to show the protected claims.

Is it safe to paste a real access token into a JWT decoder?

Treat access tokens as credentials. FreeProKit says this tool processes locally in the browser, which reduces unnecessary server exposure, but good security practice is still to use test or sanitized tokens whenever possible. Avoid placing production bearer tokens in screenshots, public tickets, chats, documents, or any environment where they could be copied.

Useful tools should be clear, fast, and free.

Explore all tools →