RandomKeygen
Free · Private · Client-sideGenerated locally — never transmitted

Ed25519 Key Pair Generator (PEM, JWK, OpenSSH & Raw)

Generate real Ed25519 (RFC 8032) public and private key pairs locally in your browser. Export as OpenSSL PEM (RFC 8410), EdDSA JWK (RFC 8037), OpenSSH, or raw 32-byte Hex/Base64.

Specs & Sizes

RFC 8032 · 32 B pub · 32 B seed · 64 B sig

Generated Ed25519 key pairEd25519 · 256-bit

Live Ed25519 Sign & Verify Test

Ed25519 produces deterministic 64-byte signatures without needing a per-signature nonce.

Generate Locally with OpenSSL & SSH

Generate Ed25519 PKCS#8 private key (OpenSSL)

$openssl genpkey -algorithm ED25519 -out ed25519-private.pem

Extract SPKI public key

$openssl pkey -in ed25519-private.pem -pubout -out ed25519-public.pem

Generate OpenSSH Ed25519 key pair with passphrase

$ssh-keygen -t ed25519 -C "you@example.com"
eddsa-jwt.ts (jose)
import { importPKCS8, SignJWT } from 'jose'

const privateKey = await importPKCS8(process.env.ED25519_PRIVATE_PEM!, 'EdDSA')
const jwt = await new SignJWT({ sub: 'user_42' })
  .setProtectedHeader({ alg: 'EdDSA' })
  .setIssuedAt()
  .setExpirationTime('15m')
  .sign(privateKey)

Related Signing & Post-Quantum Tools

Classical elliptic-curve note & post-quantum roadmap

Ed25519 is fast, deterministic, and widely required today for SSH, Git commit signing, JWT EdDSA, and libsodium. However, like all 256-bit elliptic curves, it is a classical signature scheme—not quantum-resistant. For long-lived roots of trust or NSA CNSA 2.0 compliance, use ML-DSA-87 (FIPS 204) or SLH-DSA (FIPS 205).