RSA Key Pair Generator

Generate an RSA public / private key pair in PEM format (PKCS#1 or PKCS#8). Useful for JWT signing keys, SSH testing, and one-off encryption — for production keys, use OpenSSL.

Use at your own risk: Production keys belong on production systems (OpenSSL, KMS). Browser-side generation is fine for testing, learning, and one-off JWT keys, but the entropy source and key handling are out of your direct control here.

Generation runs in a Web Worker pool to keep the page responsive. 4096-bit keys take 5–20 seconds depending on your machine.

All processing runs in your browser — no files or inputs are uploaded to a server.

Related tools