JWT Generator
Generate JSON Web Tokens (JWT) with custom header, payload and signing. Supports HMAC, RSA and ECDSA algorithms.
What is a JWT?
JWT (JSON Web Token) is an open standard for securely transmitting information between parties as a JSON object. It consists of Header, Payload, and Signature separated by dots.
What algorithms are supported for JWT signing?
Common algorithms include HS256/HS384/HS512 (HMAC), RS256/RS384/RS512 (RSA), ES256/ES384/ES512 (ECDSA), and none (unsigned). HMAC uses a shared secret, while RSA and ECDSA use private/public key pairs.
Is it safe to generate JWTs in the browser?
Yes, this tool uses the Web Crypto API for all cryptographic operations. Your keys and tokens never leave your browser. No data is sent to any server.
What is the "none" algorithm?
The "none" algorithm means the JWT is unsigned. This should only be used for testing purposes, as unsigned tokens provide no integrity verification and can be tampered with.