Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

JWT Decoder

  • Free
  • Runs in your browser
  • No account needed

A JWT decoder reads a compact token by decoding its Base64URL sections. FreeToolr runs this process in your browser, so nothing typed is uploaded. For example, a three-part token exposes readable header and claims without verifying its signature.

JWT Decoder runs in your browser. Your text is never uploaded or stored.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About JWT Decoder

A JWT decoder turns a compact JSON Web Token into readable data. Developers use it to inspect authentication tokens, check claim names, and troubleshoot API requests. You can paste a JWT into FreeToolr, choose Decode, and copy the output with one click.

The tool runs in your browser. Nothing you type is uploaded, which helps reduce exposure when you inspect test tokens. A signed JWT commonly contains three dot-separated parts: a header, a claims payload, and a signature. The header and payload use Base64URL encoding, so you can read them without a secret key. Decoding does not prove that a token is genuine or safe to accept.

FreeToolr keeps the task focused. It provides a browser-based decode option and a quick way to copy the result, without adding secret keys, public keys, verification settings, or token sharing features.

How to use it

  1. 1Paste a compact JWT into the text field.
  2. 2Choose Decode.
  3. 3Read the decoded result.
  4. 4Click Copy result to copy the output.
Advertisement

Worked example

Input: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKb2huIERvZSIsInN1YiI6IjEyMzQ1Njc4OTAiLCJuYW1lIjoiSm9obiBEb2UiLCJpYXQiOjE1MTYyMzkwMjJ9.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Decoded header: {"alg":"HS256","typ":"JWT"} Decoded payload: {"iss":"John Doe","sub":"1234567890","name":"John Doe","iat":1516239022} The third segment is the signature. Decoding it does not verify the signature.

How it works

Compact JWS decoding method: Split on `.`Base64URL-decode the encoded segmentsDecode JSON as UTF-8Parse the header and claims payloadTreat the signature as bytes; do not interpret it as text. JWS compact formula: BASE64URL(UTF8(header)) + "." + BASE64URL(payload) + "." + BASE64URL(signature)

Source: RFC 7519: JSON Web TokenRFC 7515: JSON Web SignatureRFC 4648: Base64URL encoding. Last checked 4 November 2026.

What it is good for

  • Runs in your browser, with nothing typed uploaded.
  • Decodes readable JWT sections without a secret.
  • Copies the output with one click.
  • Decoding does not verify the signature, issuer, audience, or time claims.
  • The tool does not decrypt encrypted JWE tokens or validate them with keys.
Advertisement

Questions people ask

What is a JWT decoder?

It converts the encoded parts of a JSON Web Token into readable data. A compact signed JWT usually contains a header, payload, and signature separated by periods. Reading those parts does not confirm who issued the token.

Can I decode a JWT without the secret?

Yes. The header and payload are usually encoded, not encrypted. You need the correct secret or public key to verify a signature, not to read those sections.

Does decoding verify a JWT?

No. Verification checks the signature with an approved algorithm and key. Your application should also check claims such as `iss`, `aud`, `exp`, and `nbf` when they apply.

What do `iss`, `sub`, and `aud` mean?

`iss` identifies the issuer, `sub` identifies the subject, and `aud` names the intended audience. A service should compare these values with its expected settings.

How do I check if a JWT is expired?

Look for the `exp` claim, which uses Unix time in seconds. Compare it with the current Unix time, while following your application's clock-skew rules. FreeToolr decodes the claim but does not validate it.

Is it safe to paste a production JWT into an online decoder?

Prefer a local or browser-only tool and avoid sharing live bearer tokens. Anyone who obtains an active token may use it until it expires or gets revoked, and browser screens or extensions may expose pasted data.

Can a JWT decoder decrypt a JWE?

No. An encrypted JWT needs the required decryption key. A decoder that reads signed JWS parts cannot recover JWE plaintext.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement