JWT Decoder — Decode & Inspect JSON Web Tokens

Paste a JWT to read header, payload, and timing claims—or encode HS256 tokens for local testing. Everything stays in your browser.

Decode mode is for inspection only. Signature verification of third-party tokens must happen with trusted keys and backend validation.

Decode JWT token

Paste a JWT or Bearer token to inspect claims and token timing.

Detected parts: 0 / 3
Paste a token to start. Tip: Bearer prefixes are automatically removed.
By Muhammad Abdullah Rauf · Founder, EverydayTools.proUpdated 2026

What is a JWT decoder?

A JWT decoder splits a JSON Web Token into header, payload, and signature segments and displays the claims—decode and inspect locally without sending the token to a server.

A JWT (JSON Web Token) is three Base64url-encoded parts separated by dots: header (algorithm and type), payload (claims such as sub, exp, iat), and signature. Decoding is not encryption—anyone with the token can read the payload.

This tool decodes and inspects tokens in your browser, highlights exp/iat timing, and can sign test tokens with HS256/HS384/HS512 for development. Always verify signatures on your server before trusting claims in production.

Decode for debugging; verify signatures server-side with the real secret or public key.

Quick answers

Concise answers for common searches — definitions, steps, and comparisons.

What are the three parts of a JWT?

header.payload.signature — each segment is Base64url-encoded JSON (header and payload) or a binary signature. Example header: {"alg":"HS256","typ":"JWT"}. Payload holds claims like sub and exp.

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

For local browser tools that do not upload the token, dev tokens are usually fine. Never paste production tokens with live user data or admin roles into untrusted sites—this EverydayTools decoder runs entirely in your tab.

How to use JWT Decoder — Decode & Inspect JSON Web Tokens

  1. Paste the JWT

    Paste the full header.payload.signature string or a Bearer token from an API response or DevTools.

  2. Review header and payload

    Check alg in the header and claims in the payload—especially exp (expiration) and sub (subject).

  3. Read timing warnings

    The tool flags expired tokens, future nbf (not-before), and missing recommended claims.

  4. Verify HS256 signatures (optional)

    Enter a dev-only HMAC secret to test signature match in Encode mode or trusted backend verification in production.

Who uses JWT Decoder — Decode & Inspect JSON Web Tokens?

Common real-world scenarios where this tool saves time.

API debugging

Inspect access tokens returned by OAuth or custom login endpoints without writing a script.

Claim validation during development

Confirm exp, aud, and iss values before wiring middleware in your API.

Generate test tokens

Use Encode mode with HS256 and sample claims to test protected routes locally.

Workflow guides

Step-by-step chains that connect related tools for common tasks.

Decode and inspect a JWT

  1. Paste the JWT (the full header.payload.signature string) into the input field.
  2. The tool splits and Base64url-decodes the header and payload sections automatically.
  3. Review the claims — check exp for expiration, sub for the subject, and any custom claims.
  4. Optionally enter your secret key to verify the HS256/HS384/HS512 signature.

Reference tables

Decode vs verify

ActionWhat it doesSafe to trust claims?
Decode onlyReads header and payloadNo—anyone can decode
Verify HMAC (HS256/384/512)Checks signature with shared secretYes, if secret is correct
Verify RSA (RS256)Needs public keyNot in this browser tool—use server

Common JWT algorithms

algTypeTypical use
HS256HMAC + SHA-256Monoliths, dev tokens, internal APIs
RS256RSA signatureOAuth providers, public-key verify
ES256ECDSAModern identity platforms

Frequently Asked Questions

How do I decode a JWT to read the payload?

A JWT is three dot-separated Base64url sections: header, payload, and signature. To decode: split on '.', take the second section, add padding if needed, and Base64url-decode it to get the JSON payload. This tool does that automatically and displays the decoded header and payload in a readable format.

Can I verify a JWT signature with a browser tool?

Yes for HMAC algorithms (HS256, HS384, HS512)—the server and client share the same secret key and the browser can recompute the signature using the Web Crypto API. Asymmetric algorithms (RS256, ES256, PS256) require the server's public key, which this tool does not currently support.

What claims should every JWT have?

At minimum: exp (expiration, Unix timestamp) to prevent indefinite use, and sub (subject, usually the user ID) for identification. iss (issuer) and aud (audience) are recommended for multi-service architectures to prevent token reuse across services. iat (issued at) helps compute token age and detect replay.

Is it safe to paste a real JWT into a browser tool?

For development and debugging JWTs, yes—this tool runs entirely in your browser and the token is not sent anywhere. Avoid pasting production JWTs that carry sensitive user data or elevated privileges into any online tool as a security hygiene practice.

What is the difference between JWT decoding and JWT verification?

Decoding reads the header and payload without checking the signature—any Base64url decoder can do it. Verification checks that the signature was produced by a trusted party holding the correct secret or private key. Always verify the signature server-side before trusting any claims in a JWT.

How do I decode a JWT token online?

Paste a JWT or Bearer token and inspect header, payload, timing claims, and warnings instantly in your browser.

Can I encode and sign JWT tokens online for free?

Yes. Use Encode mode with HS256/HS384/HS512 signing through browser Web Crypto.

Does decode mode verify signatures?

No. Decode mode is inspection-only. Verification requires trusted backend key validation.

Is this JWT encoder decoder private?

Yes. Processing is local in your browser and tokens are not uploaded.

Privacy, accuracy, and trust

Privacy

JWT paste and decode run in your browser—tokens are not uploaded to EverydayTools servers.

Accuracy

Decoding follows RFC 7519 Base64url rules; HMAC signing uses Web Crypto consistent with common libraries.

For planning and development only. Production auth must verify tokens server-side with proper key management.

Part of Developer Tools

More free tools for the same workflow.

Advertisement

Reviewed by EverydayTools Editorial Team on 2026-05-20.