Generate an RSA key pair in your browser and export it as PEM. Pick the size and whether it is for encryption or signing. The private key is created locally and never leaves the page.
Local generationKeys come from the browser secure random source.
PEM exportPublic as SPKI, private as PKCS8, copy ready.
Encrypt or signRSA-OAEP or RSASSA-PKCS1-v1_5.
2048 to 4096Choose your margin against speed.