Skip to content
TabKiwiTabKiwi

Key Pair Generator

Public/private key pairs for Ed25519, ECDSA (P-256/384/521) and RSA as PEM, JWK and OpenSSH.

SecurityRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

One place to create asymmetric keys for signing tokens, testing TLS code or configuring services. Choose the algorithm, then copy the result as PEM, as JSON Web Keys or as OpenSSH lines; every format describes the same key pair. Keys are produced by WebCrypto inside your browser.

How to use Key Pair Generator

  1. Choose an algorithm such as Ed25519 or ECDSA P-256.
  2. Click Generate key pair.
  3. Open the tab for the format you need: PEM, JWK or OpenSSH.
  4. Copy or download the public and private parts.

Frequently asked questions

Which algorithm matches ES256, ES384 or EdDSA in JWTs?

ES256 uses ECDSA P-256, ES384 uses P-384, ES512 uses P-521 and EdDSA uses Ed25519.

Why is Ed25519 greyed out?

A few older browsers lack Ed25519 in WebCrypto. Update the browser or pick ECDSA instead.

Can I share the public key?

Yes, the public key is meant to be shared. Keep the private key secret.

More Security tools

View all 20 →