Generate an RSA public and private key pair, 2048, 3072 or 4096 bits, as PEM files that OpenSSL, Java, Node.js, Python, PHP and Go read directly. Choose whether the key is for signing (RS256 or PS256) or encryption (OAEP), then copy or download the keys, or switch to JWK or OpenSSH. Keys are made by your browser's Web Crypto API and never leave your device.
Helps you tell keys apart in GitHub or authorized_keys.
Key generation runs in your browser. What you type never leaves this device.
2048, 3072 or 4096-bit RSA keys with public exponent 65537
For signing with PKCS#1 v1.5 (RS256) or PSS (PS256), or for OAEP encryption
Public key as PEM SPKI (BEGIN PUBLIC KEY)
Private key as PEM PKCS#8 (BEGIN PRIVATE KEY)
JWK and OpenSSH formats from the same key
Runs in your browser: no upload, nothing stored
Sign tokens with the private key and publish the public key (or its JWK) so other services can verify them.
Several Indian payment, banking and government APIs ask you to upload an RSA public key to verify your signed requests or to encrypt data for you. Check the size and format they ask for.
With OAEP, encrypt a short value, such as an AES key, with someone's public key.
Make throwaway keys for a test environment or a unit test.
BEGIN PUBLIC KEY (SPKI) and BEGIN PRIVATE KEY (PKCS#8) are the standard forms today. If a system asks for the older PKCS#1 form (BEGIN RSA PRIVATE KEY), convert with openssl pkey -in private.pem -traditional -out rsa-private.pem; for the public key, openssl rsa -pubin -in public.pem -RSAPublicKey_out.
Web Crypto ties each key to one use. Pick Signing for JWTs and request signatures, and Encryption (OAEP) only when a partner asks you to encrypt with RSA. The key material is the same RSA key either way, so other software can use it for both, but keeping separate keys for signing and encryption is good practice.
The private key is not password-protected. Add a passphrase with openssl pkey -in private.pem -aes256 -out private-enc.pem, or store it in your secrets manager. Never email it or commit it to Git.
Key Pair Generator
Ed25519, RSA and ECDSA key pairs as PEM, JWK or OpenSSH
SSH Key Generator
id_ed25519 and id_rsa key pairs ready for ~/.ssh and GitHub
JWT Generator
Sign JWTs with HS256, RS256, PS256, ES256 or EdDSA in your browser
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.