Decode a JSON Web Token, or sign a new one with HS, RS, ES and PS algorithms. Everything runs locally - your tokens and keys never leave your browser.
Decoded locally in your browser. This tool does not verify the signature.
A JSON Web Token (JWT) is a compact, URL-safe token made of three Base64URL parts - a header, a payload of
claims, and a signature. Decode reads the header and payload of any token, including timestamp claims
like exp, iat and nbf. Encode signs a brand-new token with the
algorithm of your choice - HMAC (HS256/384/512) using a secret, or RSA, ECDSA and RSA-PSS (RS, ES, PS) using
a private key. All signing happens in your browser with the Web Crypto API, so secrets and keys are never
sent anywhere.