What is a JWT decoder?
A JWT decoder is an online utility that splits a JSON Web Token into its Header, Payload, and Signature components, decoding the base64url data to show the claims inside.
Is it safe to decode production API tokens using this online tool?
Yes. All token splitting and decoding operations are executed client-side in local browser memory. No data is sent over the network, ensuring complete protection for sensitive credentials.
What are the three main components of a JSON Web Token?
A token consists of a Header (identifying signing algorithms), a Payload (containing user claim scopes), and a Signature (ensuring verification integrity), separated by periods.
Why do web tokens commonly start with the character sequence 'eyJ'?
This sequence is the base64url representation of the standard header JSON string: {"alg":. Since most headers start with this key, the encoded output begins with eyJ.
Can this decoder verify the cryptographic signature of my tokens?
No. Signature verification requires the private key or public certificate used to sign the token. To keep your secrets safe, we do not ask for or store keys, and therefore do not verify signatures.
What is the difference between decoding and verifying a token?
Decoding converts the base64url segments into readable JSON without checking credentials. Verifying evaluates the signature using a cryptographic key to ensure the token has not been modified.
Why does my token return a parsing error during decoding?
Ensure that you pasted the full token, including the period separators. Mismatched spaces, missing segments, or non-standard characters can cause parsing errors.
How does the tool display epoch timestamp dates in a human-readable format?
The tool parses claims like exp (expiration) and iat (issued at), multiplies the seconds by 1000, and converts them to local system time strings.
What is the difference between Base64 and Base64URL?
Base64URL replaces characters that have special meanings in URL paths, changing + and /to - and _ respectively, and omits the trailing = padding.
Does the decoder support encrypted JSON Web Encryption (JWE) tokens?
No. This tool is designed for standard signed JSON Web Tokens (JWS). Encrypted tokens require a decryption key, which is not supported by this public tool.
What are registered claims like sub, iss, and aud?
These are standardized claims: sub identifies the subject user, iss defines the token issuer server, and aud limits the intended audience API.
How do client browsers decode tokens programmatically?
Browsers split the token by periods, select the payload segment, restore the padding, and decode it: JSON.parse(atob(payload)).
Why is signature verification important for security?
Signature verification ensures that the claims in the payload have not been tampered with by a client after the token was issued.
Can I use standard keyboard shortcuts to operate the interface?
Yes. Press Ctrl + Shift + C to copy the payload claims instantly, or Ctrl + L to clear the input fields.
What does the 'typ' property represent in a JWT header?
The typ header parameter specifies the media type of the token, which is commonly set to JWT to identify standard signed tokens.