The JWT Parser makes a JSON Web Token readable: header and payload appear as formatted JSON, and time claims such as exp, nbf and iat as dates. It also shows whether the token is currently valid, expired or not yet valid according to its time claims. Optionally, you can verify an HS256, HS384 or HS512 signature with your own secret. The token and the secret stay in your browser tab and are never sent, stored or put into the link.
Paste the token into the input field. It is decoded instantly, and header and payload appear as JSON. A leading “Bearer ”, quotation marks and line breaks are removed by the tool.
Decoding and signature calculation run in your browser. The token and secret are never sent, stored or added to the URL. Even so, you should generally avoid pasting real production tokens into third-party sites.
No. The status only reflects the time claims and uses your device’s clock. Only the signature shows whether the content is genuine and unchanged.
No, they are only Base64url-encoded. Anyone who holds the token can read them. That is why secrets such as passwords do not belong in the payload.
They are seconds since 1970-01-01 UTC. exp is the time from which the token is invalid, nbf is the time before which it is not yet valid, and iat is the time of issue.
HS256, HS384 and HS512 (HMAC) using the shared secret. RS, PS, ES and EdDSA tokens need the issuer’s public key and are not verified here. Header and payload remain readable anyway.
Possible reasons are a wrong secret, an altered token, or a secret that is encoded differently. If the secret itself is Base64url-encoded, use the matching switch.
A JWT with five parts is an encrypted token (JWE). Its contents cannot be read without the key, and the tool reports this accordingly.
A JSON Web Token (JWT, RFC 7519) carries statements, called claims, in a compact form. It consists of three parts separated by dots: header, payload and signature. Each part is Base64url-encoded without padding. The header names the signing algorithm in the alg field, the payload holds the claims, and the signature protects both.
A JWT is typically used as proof of login. After sign-in the server issues a token, and the client sends it with every request, often in the Authorization: Bearer header. The server verifies the signature and the time claims without having to store session state.
The difference between reading and verifying is important. Header and payload are only encoded, not encrypted. Anyone holding the token can read the contents, as this tool does. Only the signature decides whether the content is genuine. Encrypted tokens (JWE, RFC 7516) have five parts and cannot be read without the key.
Registered claims include iss (issuer), sub (subject, often a user ID), aud (audience), jti (unique token ID) and the time claims exp, nbf and iat. These times are NumericDate values: seconds since 1 January 1970 UTC, not milliseconds. Servers often allow a small tolerance to compensate for clock differences.
There are two families of signing algorithms. HS256, HS384 and HS512 are HMAC schemes: issuer and verifier share a secret, so whoever can verify can also forge. RS, PS, ES and EdDSA use a key pair, signing with the private key and verifying with the public key.
Typical security mistakes include accepting alg “none” (an unsigned token), taking the algorithm from the token instead of the server configuration (RS256/HS256 confusion), weak secrets, a missing exp, loading keys from header fields such as jku or jwk, and tokens in URLs or logs. The parser points out several of these issues and can test a token against a list of common default secrets. This is a warning test, not cracking.
A JSON Web Token (RFC 7519) carries statements (“claims”) as three Base64url parts: header (algorithm), payload (content), signature (authenticity). Typically a login proof: the server issues it after sign-in, the client sends it with every request (Authorization: Bearer …).
Header and payload are only encoded, not encrypted — anyone holding the token can read them, as here. Only the signature tells whether the content is genuine. So never put secrets (passwords, card data) into the payload.
Times are seconds since 1970-01-01 UTC (not milliseconds). exp = invalid from then on, nbf = invalid before, iat = time of issue. The display uses this device’s clock; servers often allow a few seconds of tolerance (“leeway”).
HS256/384/512 are HMAC schemes: issuer and verifier share a secret — whoever can verify can also forge. RS/PS/ES/EdDSA use a key pair: signing is private, verifying is public. This tool verifies HS signatures; the others need the public key.
Accepting “alg: none” · taking the algorithm from the token instead of the server config (RS256↔HS256 confusion) · weak secrets · no exp · loading keys from header fields like jku/jwk · tokens in URLs or logs.
Decoding and the HMAC calculation (SHA-256/384/512, hand-written and tested against node:crypto) run in your browser, even over http without Web Crypto. The token and the secret are never sent, never stored and never appear in the link. Still, avoid pasting real production tokens into third-party sites.
Pasting is enough — it decodes instantly. “Bearer ”, quotes and line breaks are removed automatically. Tab jumps to the copy buttons. The times run live.
Die Werkzeuge auf dieser Website werden als kostenloses Hobbyangebot bereitgestellt und dienen ausschließlich zur Information und privaten Nutzung. Für die Richtigkeit, Vollständigkeit oder Eignung der Ergebnisse für einen bestimmten Zweck wird keine Gewähr übernommen. Vor Verwendung der Ergebnisse — insbesondere bei finanziellen, rechtlichen oder sicherheitsrelevanten Entscheidungen — sind diese eigenverantwortlich zu prüfen. Eine Haftung für Schäden aus der Nutzung ist ausgeschlossen, soweit dies gesetzlich zulässig ist.