Skip to main content
DigiToolBay
Data and Security ToolsClient-Side Browser Processing

JWT Decoder

Inspect JWT header, payload claims, and human-readable exp/iat/nbf dates locally (not signature verification).

Loading JWT Decoder...

Decoding parses Base64URL locally and NEVER verifies cryptographic signatures or trust.

By DigiToolBay Editorial TeamPublished & verified:

About JWT Decoder: Guide & Practical Notes

Debugging OAuth2/OIDC authentication errors often starts by inspecting what `sub`, `scope`, `aud`, or `exp` claims live inside a Bearer token—without leaking active production session tokens to remote tools.

Splits and decodes the Base64URL header and JSON payload of a JWT locally inside your browser, converts numeric `iat`, `nbf`, and `exp` claims to ISO-8601 timestamps, and warns clearly if `alg: "none"` appears.

How to Use JWT Decoder Step by Step

  1. Paste a three-part JWT (`header.payload.signature`, optional `Bearer ` prefix stripped automatically).
  2. Inspect the formatted Header, Payload, Declared Algorithm, and expiration timestamps.

Worked Example

Inspect the demo token claims.

Inputs: eyJhbGci... (3 dot-separated Base64URL segments)

Result: Header `{"alg":"HS256","typ":"JWT"}`, Payload claims, and ISO dates for `iat` & `exp`.

Base64URL decodes both header and payload UTF-8 bytes locally into clean JSON.

Critical Distinction: Decoding Is NOT Signature Verification

Per RFC 7519, JWT header and payload segments are merely Base64URL-encoded—anyone holding the token can read them unless the token is encrypted (JWE). **This tool does NOT verify cryptographic signatures.** Never treat a decoded JWT payload as trusted, valid, or authentic merely because it decoded cleanly; backend servers MUST verify signatures against trusted public keys/secrets and reject unexpected `alg` headers.

Common Real-World Uses

  • Checking token expiration (`exp`) timestamps during local API debugging
  • Inspecting OAuth scopes, issuer (`iss`), and audience (`aud`) claims
  • Teaching the three-segment `header.payload.signature` JWT format

Common Mistakes to Avoid

  • Assuming a token is genuine just because a decoder parsed valid JSON inside the payload.
  • Pasting sensitive live production admin/user session tokens onto third-party remote decoders.

Supported Formats, Scope & Limitations

Does not support encrypted JWE (5-segment) tokens and performs zero cryptographic signature verification.

Privacy & Local Processing

Decodes strictly in your browser tab with zero network traffic or logging.

Frequently Asked Questions

Does decoding a JWT prove it has not been forged or tampered with?

No! Anyone can craft or edit a JWT payload and re-encode it in Base64URL. Only cryptographic verification using the issuer’s key proves authenticity.

Why does the signature segment look unreadable?

The third segment contains raw binary HMAC/RSA/ECDSA signature bytes encoded in Base64URL rather than JSON text.

Inspecting raw Base64URL strings or Unix timestamps directly? Try Base64 Encoder & Decoder or Unix Timestamp Converter.