RSA Key Generator
Generate 2048, 3072, or 4096-bit RSA key pairs in SPKI / PKCS#8 PEM, OpenSSH, and JWK.
Computed locally via Web Crypto. Secrets never leave this browser tab.
How to use RSA Key Generator
Choose 2048, 3072, or 4096 bits (3072-bit RSA is preselected in PEM format).
Download the SPKI public PEM and PKCS#8 private PEM, or switch tabs for OpenSSH and JWK.
Frequently asked questions
Can I paste the PKCS#8 PEM into JWT Generator?
Yes. PufferKit JWT Signer accepts -----BEGIN PRIVATE KEY----- PKCS#8 PEM keys directly for RS256/RS384/RS512/PS256.