Web Developer Tools

JWT Decoder

Decode and inspect JSON Web Tokens in your browser. Parse header algorithms, explore payload claims, and calculate token expiration times with 100% client-side privacy.

Encoded Token (JWS Compact Format)
. .
Cryptographic Notice: This tool performs client-side decoding of Base64URL data. Decoding a JWT reveals its claims, but does not verify the cryptographic signature or establish that the token is authentic. Never trust decoded claims without independent server-side signature verification.

                    

                    
Claim Raw Value Interpreted Value

                            
                            
Signature Verification Mechanics

The signature is generated by hashing the Base64URL-encoded header and payload with a secret or private key using the algorithm specified in the header:

HMACSHA256(base64UrlEncode(header) + "." + base64UrlEncode(payload), secret)
Total Size 0 B
Header Size 0 B
Payload Size 0 B
Signature Size 0 B
Algorithm NONE
Status -

How to Use the JWT Decoder

1
Paste Encoded Token

Paste your three-part compact JSON Web Token into the input area or select a pre-configured sample preset.

2
Inspect Header & Payload

Review the decoded JSON data, view signing algorithm parameters, and explore claims like user IDs and permissions.

3
Check Expiration & Copy

Check expiration status (exp) and issued dates (iat). Copy formatted JSON headers and payloads with 1-click.

Standard Registered Claims Reference (RFC 7519)

Claim Full Name Type Purpose & Description
iss Issuer String / URI Identifies the principal (server/auth provider) that issued the JWT.
sub Subject String Identifies the principal that is the subject of the JWT (e.g. user ID or account UUID).
aud Audience String or Array Identifies the recipients that the JWT is intended for (e.g. client ID or API endpoint).
exp Expiration Time NumericDate (seconds) Identifies the expiration time on or after which the JWT MUST NOT be accepted.
nbf Not Before NumericDate (seconds) Identifies the time before which the JWT MUST NOT be accepted for processing.
iat Issued At NumericDate (seconds) Identifies the time at which the JWT was issued by the authorization server.
jti JWT ID String Provides a unique identifier for the token to prevent replay attacks.

Frequently Asked Questions

A JSON Web Token (JWT) is an open industry standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed.

A compact JWT is formatted as header.payload.signature. The Header and Payload are Base64URL-encoded strings. The decoder replaces URL-safe characters (- and _), restores standard padding, and converts the binary bytes into a UTF-8 JSON object.

No. Decoding only reveals the encoded information. Verifying a JWT requires cryptographic hashing using the secret key (for symmetric algorithms like HS256) or the issuer's public certificate (for asymmetric algorithms like RS256/ES256) to ensure the token has not been forged or tampered with.

Yes. The Header and Payload of a standard signed JWT (JWS) are readable by design. They are encoded, not encrypted. Anyone who has the token can decode and view its claims without possessing the secret key.

  • Header: Details the token type (JWT) and signing algorithm (e.g. HS256, RS256).
  • Payload: Contains application claims such as user identifiers, roles, issue times, and expiration timestamps.
  • Signature: Cryptographic hash created by signing the encoded header and payload.

exp is the expiration timestamp in Unix epoch seconds; iat represents when the token was created; nbf (not before) specifies when the token becomes valid.

Yes. Expiration affects whether an authentication server accepts the token, but does not prevent decoding its contents. This tool compares the exp timestamp with the current time to indicate whether the token is active or expired.

No. PaceTools JWT Decoder is an educational and inspection utility that decodes token structures. It does not verify cryptographic signatures against secret keys.

No. All decoding and calculations take place 100% locally within your browser using client-side JavaScript. No tokens or payload contents are transmitted over the network or saved in server logs.

PaceTools executes completely client-side. However, as standard cybersecurity hygiene, never paste live production tokens containing confidential credentials or sensitive health/financial records into web tools.

Standard Base64 uses characters + and /, with = for padding. Base64URL replaces + with - and / with _, and removes padding characters so the string can be placed safely in URLs and HTTP headers without URL-encoding.

While a standard signed JWT (JWS) has 3 parts and has a visible payload, an encrypted JWT (JWE, RFC 7516) has 5 parts and encrypts the payload so that only parties with the private decryption key can view the claims.
Copied to clipboard!