JWK Generator
Generate RSA, EC, and Ed25519 JSON Web Keys (JWK) in your browser, or convert existing PEM keys to JWK format with RFC 7638 thumbprints.
4096-bit RSA keys may take a few seconds.
Keep this private key secret — never share it or commit it to source control.
FAQ
What is a JSON Web Key (JWK)?
A JSON Web Key (JWK) is a JSON data structure that represents a cryptographic key. Defined in RFC 7517, JWKs are widely used in OAuth 2.0, OpenID Connect, and financial APIs (like FAPI) to distribute public keys for token signing and encryption.
What is an RFC 7638 thumbprint?
An RFC 7638 thumbprint is a hash of the canonical form of a JWK public key, used as a stable key identifier (kid). It is computed by SHA-256-hashing the JSON serialization of the required key members in lexicographic order, then base64url-encoding the result.
How do I convert a PEM key to JWK?
Paste your PEM key (starting with -----BEGIN...) into the "Convert PEM to JWK" section, select whether it is a public or private key, and click Convert. The tool supports RSA, EC (P-256/P-384/P-521), and Ed25519 keys.
Is key generation secure?
Yes. All key generation uses the browser's built-in Web Crypto API (crypto.subtle), which is implemented by the browser using native cryptographic primitives. No keys are ever sent to any server.