JWT Decoder

Inspect the header and payload of a JWT without sending the token to a server.

How to use it

  1. Paste the JWT.
  2. Review its header and payload.
  3. Remember that decoding does not verify the signature.

Guide & Technical Reference

The JSON Web Token (JWT) Standard (RFC 7519): A JSON Web Token is a compact, URL-safe container format utilized to transmit cryptographically verifiable claims between two parties. Defined in IETF RFC 7519, JWTs are universally adopted for stateless user authentication, OAuth 2.0 authorization flows, and single-sign-on (SSO) identity federation across modern web applications.

Structural Anatomy: Header, Payload, and Signature: A standard JWT comprises three distinct segments concatenated by periods (`.`): 1) Header: A Base64URL-encoded JSON block identifying the token type (`typ: "JWT"`) and the cryptographic signing algorithm (`alg`, such as HS256, RS256, or ES256); 2) Payload: A Base64URL-encoded JSON object containing registered claims (`sub` for subject ID, `iss` for token issuer, `aud` for audience, `iat` for issued-at timestamp, and `exp` for expiration timestamp), public claims, and custom tenant roles; 3) Signature: A cryptographic hash generated by signing the encoded header and payload using a shared symmetric secret or private key.

Decoding vs. Cryptographic Verification: It is essential to distinguish between inspecting claims and verifying token authenticity. Decoding a JWT simply reverses the Base64URL encoding to read human-readable JSON; it does not require a secret key and proves nothing about whether the token has been tampered with. True verification requires the recipient server to recompute the cryptographic signature against the token header and payload using the authoritative secret or public key.

Security Warnings: Sensitive Data & Expiration Auditing: Because the payload of a standard JWT is merely encoded and not encrypted, any entity in possession of the token can read all claims. Never store plain-text passwords, encryption keys, credit card numbers, or personally identifiable medical details in a JWT payload. Use this browser decoder to verify token expiration windows (`exp`), validate issuer domains (`iss`), and troubleshoot claims mismatches during API development.

Questions

What information does a JSON Web Token (JWT) contain and display?

A JSON Web Token consists of three base64url-encoded parts separated by periods: the Header (identifying algorithm and token type), the Payload (containing claims like user ID, issuer, roles, and expiration time), and the Signature. This tool decodes and pretty-prints the Header and Payload sections.

Does this tool verify the cryptographic signature of the decoded JWT?

No. The decoder unpacks and formats the claims in the token header and payload for inspection. Verifying cryptographic signatures requires possessing the secret signing key or public certificate, which should never be exposed in a client-side web browser for security reasons.

How does the JWT decoder help me inspect token expiration and validity?

The tool automatically inspects standard timestamp claims such as exp (expiration time), nbf (not before), and iat (issued at). It translates raw Unix epoch seconds into human-readable local dates and clearly indicates whether the token is currently active, expired, or not yet valid.

Is my authorization token or bearer credential transmitted to any server?

No. Security is paramount when inspecting sensitive authentication tokens. OrbitBoard decodes JWT strings entirely within your local browser memory using client-side base64url decoding functions. Your authorization tokens, bearer credentials, user session claims, and corporate secrets are never transmitted, logged, tracked, or stored on remote network infrastructure.

Why does my JWT appear invalid or fail to decode properly in the tool?

A valid JSON Web Token must contain exactly two period characters separating the three component sections. Ensure you have copied the entire token string without leading Bearer prefixes, extraneous whitespace, or trailing quotation marks that break the base64url encoding specification.

Can I copy individual claim values or the entire formatted payload?

Yes. You can copy specific claim properties such as user identifiers or roles directly, or use the Copy Payload button to place the entire formatted JSON object onto your clipboard for quick pasting into Postman, terminal curl commands, or code repositories.

Browse all free tools