← Crypto and Encoding UniCybers Labs
Crypto & Encoding • RSA

RSA Key Pair Generator

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.

Key profile

Modulus2048, 3072 or 4096 bits
Exponent65537
HashSHA-256
PublicSPKI, PEM
PrivatePKCS8, PEM, unencrypted

Needs HTTPS for Web Crypto. For production keys, generate in a hardened tool and protect the private key with a passphrase.

RSA 2048 4096 SPKI PKCS8 PEM

Choose a purpose and size, then generate. Larger sizes take longer, 4096 may need a few seconds.

Purpose
Key size
UniCybers Labs • RSA Key Pair Generator Keys are generated locally in your browser.