Skip to main content

JWT Decoder (100% Client-Side)

Paste any `Bearer` or three-part JWT to inspect its Header, Payload claims, and human-readable `exp` / `iat` timestamps — tokens never leave your browser.

Processed locally · 0 bytes uploaded
Paste a token to inspect locally

Encoded JWT Token

Decoded Header & Payload

Why Developers Decode JWTs in a Local-Only Sandbox

Production authentication tokens (Authorization: Bearer eyJ...) grant live access to user accounts and internal APIs until their exp timestamp passes. Pasting a live JWT into a server-logged website is a classic security incident. Pocketful decodes the Base64URL segments strictly in memory inside your browser tab with zero network calls.

What This Tool Inspects

  • JOSE Header: Algorithm (alg such as RS256, ES256, or HS256), key ID (kid), and token type.
  • Payload Claims: Subject (sub), issuer (iss), scopes/roles, and pretty-printed custom claims.
  • Automatic Epoch Conversion: Converts numeric iat (Issued At), nbf (Not Before), and exp (Expiration Time) into both ISO-8601 UTC and your local timezone, flagging expired tokens immediately.

Specs

Supported formats
Input: Compact JWS / JWT tokens (with optional Bearer prefix) · Output: Decoded Header, UTF-8 Payload & exp/iat/nbf status
File & batch limits
Decodes standard 3-part and 2-part JWTs locally without transmitting secrets or tokens over the network
AI model download
None (0 MB — zero external dependencies)
Browsers & devices
Chrome, Edge, Safari & Firefox on desktop and mobile
Offline support
Yes — works 100% offline immediately after loading

FAQ

Does decoding a JWT verify its cryptographic signature?

Decoding reveals the unencrypted Base64URL header and payload claims; signature verification requires your issuer's secret or public key in backend code.

Can I paste a string that still starts with 'Bearer '?

Yes. Leading 'Bearer ' prefixes and surrounding whitespace are trimmed automatically.

Are tokens stored in cookies or analytics?

Never. Token text stays exclusively in the textarea DOM of your current tab and is cleared when you close the tab.

Share this tool: