RSA / EC KEY GENERATOR
Generate RSA and Elliptic Curve key pairs in PEM or JWK format. Everything runs entirely in your browser using the native WebCrypto API — your keys are never sent to any server.
RSA (Rivest–Shamir–Adleman) is the most widely used asymmetric encryption algorithm. RSA-2048 is the current minimum recommended key size. RSA-4096 provides extra security but requires more computation. Use RSA for JWT RS256 signing, mTLS, and legacy system compatibility.
EC (Elliptic Curve) keys offer equivalent security to RSA at much smaller sizes: P-256 (~RSA 3072), P-384 (~RSA 7680), P-521 (~RSA 15360). EC keys are preferred for modern systems — they're faster, smaller, and used in JWT ES256/ES384/ES512. P-256 is the most widely supported curve.
PEM format is the standard Base64-encoded format supported by OpenSSL, Node.js, Python, Java, and most systems. JWK (JSON Web Key) format is used by OAuth2, OIDC, and modern web authentication systems.
Privacy note: All key generation happens entirely in your browser using the
native window.crypto.subtle WebCrypto API. Your keys never leave your device.