Tool overview
What is a Key Pair Generator?
A key pair generator creates public/private cryptographic keys (RSA, Ed25519) for signing, TLS experiments, and local crypto workflows.
Why use this Key Pair Generator?
Generate PEM keys in-browser with Web Crypto so private keys never hit a remote keygen service.
Key Features
RSA and Ed25519, PEM export, Web Crypto generation, and zero server exposure of private keys.
How to Use
Follow these steps to get accurate results from the tool interface above.
- Select RSA-OAEP (2048-bit) or Ed25519 from generator options.
- Click Generate to create a key pair exported as JWK JSON.
- Copy keys into your app config or pipe into encrypt/decrypt workflows.
- Regenerate for rotation—nothing is stored server-side.
Key Pair Format Reference
JWK fields produced by the Web Crypto export path.
| Token Type | Valid Standard Format | Malformed Input |
|---|---|---|
| RSA-OAEP JWK | { "kty":"RSA", "n":"…", "e":"AQAB" } | { "kty":"RSA", "n":"!!!" }Invalid base64url modulus breaks importKey in consuming apps. |
| Ed25519 JWK | { "kty":"OKP", "crv":"Ed25519", "x":"…" } | { "crv":"Ed25519" }Ed25519 public keys require crv and x coordinates in JWK form. |
| Private key handling | Copy once, store in HSM/vault | Commit private JWK to gitTreat private keys as secrets—this tool displays them in memory only. |
Security Profile
Keys are generated with window.crypto.subtle.generateKey and exported in-process. No key material is logged or transmitted. Clear your screen and clipboard after copying private components.
Frequently Asked Questions
Expandable answers for common debugging bottlenecks and data privacy questions.
Related tools
Explore other related utilities that complement this tool.
Official Documentation & References
Authoritative specifications and platform documentation for this utility.