Ed25519 & ECDSA Key Generator

Generate Ed25519 and ECDSA (P-256, P-384, P-521) key pairs, then sign and verify messages in your browser.

Runs in your browser — your data never leaves your device

Frequently Asked Questions

Should I use Ed25519 or ECDSA P-256?

Ed25519 is the better default for new systems: it is fast, has no curve parameters to get wrong, and signatures are deterministic. Choose P-256 when you need the widest compatibility, such as TLS certificates, WebAuthn, hardware tokens or JWT ES256.

What is the difference between raw and DER ECDSA signatures?

Web Crypto and JWT use a raw signature, the two integers r and s joined together. OpenSSL and X.509 wrap the same two integers in a DER sequence. The tool can output either and accepts both when verifying.

Why does my browser say Ed25519 is not supported?

Ed25519 in Web Crypto arrived in Chrome 137, Firefox 129 and Safari 17. On older browsers, update or use one of the ECDSA curves.

Are my keys uploaded anywhere?

No. Generation, signing and verification use the browser Web Crypto API and nothing is sent to a server. Even so, treat keys made in any browser tab as test keys, and generate production keys on the machine or HSM that will hold them.

How do I use the key with OpenSSL?

Save the private key as key.pem and sign with openssl pkeyutl -sign -inkey key.pem -rawin -in message.txt for Ed25519. For ECDSA, use openssl dgst -sha256 -sign key.pem message.txt, which produces a DER signature.