RSA Key Pair Generator
Generate RSA key pairs (2048/4096-bit) using the Web Crypto API. Export public and private keys as PEM strings. All client-side, no server uploads.
How to Use the RSA Key Pair Generator
Similar Tools You Might Need
See allSSH Key Generator
Generate SSH key pairs (ed25519/RSA) with copy-ready public and private parts. Set up server access in a minute — local Web Crypto, free, no signup.
API Key Generator
Generate secure API keys with configurable length, character set, and optional prefix. Use with any authentication scheme.
Random Token Generator
Generate random tokens in hex, base64, or alphanumeric formats for secrets and sessions. Hex and base64 draw from Web Crypto (alphanumeric uses Math.random — see format notes). The API-key preset mints 64-char secrets in one click — local generation, free, no signup.
PGP Key Generator
Generate PGP key pairs with OpenPGP.js — public for sharing, private stays local. Encrypt mail like it's 1991 but working — local crypto, unlimited saves.
Photo Editor
Full photo editor in your browser: crop, rotate, flip, resize, tune brightness/contrast/saturation/warmth, auto-fix, annotate with text/shapes/draw/blur, HEIC input, shrink-to-target-size, metadata-strip toggle, and PNG/JPG/WebP export. Parametric undo, hold-to-compare — free, no signup, nothing uploads.
Frequently Asked Questions
What key sizes are supported?
2048-bit and 4096-bit RSA keys. 2048-bit is standard for most applications; 4096-bit provides stronger security for sensitive use cases.
What format are the keys exported in?
PEM format (Base64-encoded DER) with standard headers (-----BEGIN PUBLIC KEY-----, etc.). Ready for use with OpenSSL, SSH, and most cryptographic libraries.
Is the key generation secure?
Yes. Keys are generated using the Web Crypto API's cryptographically secure random number generator (CSPRNG) in your browser.
Can I use these keys for SSH?
The generated PEM keys can be converted to SSH format using OpenSSL commands. The tool exports standard keys compatible with SSH key generation tools.
Are my keys uploaded?
No. All key generation happens locally in your browser using the Web Crypto API. No keys are transmitted to any server.
What can the generated keys be used for?
Encrypt and decrypt only: the pair is generated as RSA-OAEP with SHA-256 and usages encrypt plus decrypt (no signing), publicExponent [1, 0, 1]. PEM wraps base64 at 64 characters per line (SPKI public, PKCS8 private), and the details panel echoes algorithm, bit length and usages after each run.
Related Developer Tools
AES Encrypt
Encrypt text using AES symmetric encryption with a passphrase. Generate ciphertext that can be safely transmitted or stored. Code never leaves your device — formatting and validation run locally in your browser.
SSH Key Generator
Generate SSH key pairs (ed25519/RSA) with copy-ready public and private parts. Set up server access in a minute — local Web Crypto, free, no signup.
Last updated October 2026