RSA Key Pair Generator
Generate RSA signing key pairs locally and export them as PEM.
The RSA Key Pair Generator creates RSASSA-PKCS1-v1_5 key pairs with SHA-256 in your browser and exports the public key in SPKI PEM format and the private key in PKCS8 PEM format. The keys never leave the device.
Key size
Keys are generated locally in your browser and never leave your device.
How to use
- Choose a modulus size of 2048, 3072 or 4096 bits.
- Generate the key pair.
- Copy or store the public and private PEM values.
Frequently asked questions
Which key type is generated?
An RSASSA-PKCS1-v1_5 signing key with SHA-256 is generated.
Where is the private key stored?
It exists only in browser memory until you export or copy it.
Can I use the keys for encryption?
This tool generates signing keys; use an RSA-OAEP tool for encryption keys.
Related tools
JSON Formatter
Format, validate and minify JSON in one place.
XML Formatter
Pretty-print and indent XML documents.
YAML Formatter
Format YAML and convert between YAML and JSON in both directions.
CSV to JSON
Convert CSV tables into JSON data.
JWT
Encode, decode and verify JSON Web Tokens locally.
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes.
Rate this tool
Your rating