Questions and answers

Is it safe to paste a token here?

The token is decoded in this browser tab and is not sent to Wayfind. A valid token can still give access to an account, so prefer expired or test tokens, and never paste a private key into any website.

Does decoding prove a token is genuine?

No. Anyone can write a token with any claims. Only a valid signature, checked with the issuer's secret or public key, shows that the issuer created the token and that nothing in it was changed.

Which signatures can it check?

HMAC (HS256, HS384, HS512) with a shared secret, and RSA (RS256 to RS512, PS256 to PS512), ECDSA (ES256, ES384, ES512) and EdDSA on the Ed25519 curve (alg EdDSA or Ed25519, in browsers that support it) with a public key in PEM or JWK form, including a JWK set searched by kid. A key marked for another use than signatures is refused. Encrypted tokens (JWE) cannot be read without the recipient's decryption key.

How are expiry times shown?

The exp, nbf and iat claims count seconds since 1 January 1970 in UTC. Each is shown in your time zone, in ISO 8601 UTC and as a distance from now, and the token counts as expired from the exp instant on.

  • Base64 Decoder Decode Base64 to text, or to a file when the data is not text, with errors shown by position.
  • JSON Formatter Format, validate and minify JSON, with the exact line and column of any error.
  • JSON Minifier Minify JSON to one line without spaces, keeping numbers and strings exactly as written.
  • JSON Validator Check whether JSON is valid and see the exact line and column of the first error.

More Developer tools