Generate Ed25519 signing keys
Modern elliptic-curve signing keys — small, fast, side-channel resistant. Exports raw, hex, and PEM (SPKI / PKCS#8). Runs entirely in your browser.
Click Generate keys to mint a fresh Ed25519 key pair. The browser uses Web Crypto's native generator — no external dependencies.
Ed25519 keys are 32 bytes public, 32 bytes private — much smaller than RSA at equivalent security.
Requires a recent Chromium- or Firefox-based browser. If you see an error, your browser is too old.
Click Generate to mint a key pair
How to generate an Ed25519 key pair
Ed25519 is the modern default for SSH keys, signed JWTs (EdDSA), and many APIs. Tiny, fast, and side-channel resistant.
- 01
Click Generate
Web Crypto mints a fresh pair without leaving your browser.
Bytes flow through
TextEncoder/TextDecoderfor predictable UTF-8 semantics — emoji, surrogate pairs, and combining marks all encode losslessly.generateUTF-8TextEncoderlosslesslivealg · raw bytesEd25519 · UTF-8generate pair
loaded · UTF-8MIME · ready - 02
Export formats
Raw bytes (32 B), hex, PEM (SPKI for public, PKCS#8 for private).
Hash and signature operations call
crypto.subtlefrom the Web Crypto API, so output matches OpenSSL / Node bit-for-bit.formatWeb Cryptosubtledeterministicliveout · optionsPEM · live-----BEGIN PUBLIC KEY-----
options applied · livelive - 03
Save the private key
Treat it like a password — never commit, never share.
Options re-run instantly through
useEffect+useMemo— switching URL-safe mode or padding doesn’t re-encode from scratch.securememoisedoptionsinstantreactivesecret · encodedstore · readyvault.set("…")encoded · livelossless - 04
Share the public key
Publish to authorized_keys, JWKS endpoints, or PGP-style fingerprints.
Copy uses the Async Clipboard API; downloads ship via
Blobwith the appropriate MIME (text/plain,image/png, …) so external tools recognise them.exportclipboardblobMIME-correctclient-sideok · copiedready · doneCopied public PEM
shipped · ready to shipsuccess
Encoding without surprises
Always UTF-8 first
Use TextEncoder / TextDecoder for bytes ↔ string conversion. btoa alone breaks on non-ASCII.
URL-safe vs standard Base64
Standard uses +, /, =; URL-safe swaps to -, _, no padding. Don’t mix them.
Hashes aren’t passwords
SHA-256 is fast; that’s good for fingerprints, bad for passwords. Use bcrypt / argon2 for credentials.
Watch padding rules
Some decoders are strict about = padding, others auto-pad. If round-trips fail at exactly 1 or 2 bytes, check padding.
Use Web Crypto for keys
Generate cryptographic keys via crypto.subtle, never Math.random. The latter is predictable.
JWT decode ≠ verify
Decoding a JWT just splits and base64-decodes. Verification needs the issuer’s public key / shared secret.
When to use Ed25519
SSH, signed JWTs (EdDSA), modern protocols.
SSH host & user keys
Default for new SSH installations since 2014. Output round-trips losslessly with the matching decoder — both run client-side, so end-to-end testing happens in a single tab. Encoding flows through TextEncoder for predictable UTF-8 semantics.
RFC-compliantJWT signing (EdDSA)
Lighter than RSA, faster than ECDSA. Web Crypto's subtle.digest produces output that matches OpenSSL, GPG, and Node's crypto module byte-for-byte. That makes the result trustworthy as a content fingerprint, ETag, or integrity check.
OpenSSL-matchedCode signing
Sign binaries, releases, and provenance records. Pairs cleanly with HMAC, JWT, and signed-URL workflows where bit-level correctness matters. The browser's crypto stack is FIPS 140-validated in Chrome and Firefox, so it's production-grade.
losslessCryptocurrency wallets
Many chains (Solana, Stellar) use Ed25519. Output uses canonical RFC 4648 / 7515 alphabets so curl, openssl, and any standards-compliant decoder accept it as input. URL-safe variants drop padding for tokens that travel in query strings.
byte-identicalTLS 1.3 certs
Optional EdDSA certificates. Heavy hashing runs through useMemo so large inputs don't block typing. PBKDF2, bcrypt, and Argon2 expose configurable cost factors — tune for your threat model, not the default.
spec-gradeAge / encryption identity
Used by the age file encryption tool. Same input plus same options always yields identical bytes. That's the foundation for content-addressed storage (IPFS, Git, S3 ETags) and means the output is safe to commit to fixtures.
production-readyFrequently asked questions
Something missing?
Tell us what you need. We ship the top requests every two weeks.