Skip to content
ZeroServer.tools

RSA Key Pair Generator

Generate RSA public/private key pairs in PEM format using your browser's Web Crypto API — keys never leave your device.

Key size:
Click Generate Key Pair to create a new RSA key pair. Keys are generated locally and never transmitted.

About RSA key generation in the browser

This tool uses the browser's built-in crypto.subtle.generateKey API (Web Crypto) with RSASSA-PKCS1-v1_5 and SHA-256. Keys are exported in standard SPKI (public) and PKCS#8 (private) formats, then PEM-encoded. 2048-bit keys are recommended for most use cases; 4096-bit offers stronger security at the cost of speed. 1024-bit is considered weak and should only be used for testing.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Cryptography & Security tools