PGP Key Generator โ Create PGP Keys in Your Browser
Generate PGP-compatible RSA key pairs directly in your browser. Create public and private keys for secure email and file encryption.
PGP Key Generator
Generate an RSA key pair for encryption. Keys are generated entirely in your browser using the Web Crypto API.
Note:This generates simplified RSA key pairs in SPKI/PKCS8 format compatible with most cryptographic libraries. This is not a full OpenPGP implementation โ for production use with email encryption, use a dedicated tool like GnuPG or OpenPGP.js.
About RSA Key Pairs
RSA is an asymmetric encryption algorithm. It uses a pair of mathematically linked keys:
- Public key: Share freely. Others use it to encrypt messages to you
- Private key: Keep secret. Only you can decrypt messages encrypted with your public key
- 2048-bit keys are considered secure for most purposes today
- 4096-bit keys provide additional security margin but take longer to generate
- Keys are exported in standard SPKI (public) and PKCS8 (private) formats
For full PGP email encryption, use a dedicated tool like GnuPG or the OpenPGP.js library. This tool generates standard RSA keys suitable for learning and basic encryption tasks.