Skip to content

WireGuard Key Generator

Generate Curve25519 key pairs for WireGuard VPN configuration. Derives the public key from a clamped private key with a pure-BigInt RFC 7748 Montgomery ladder, optionally generates a pre-shared key, and renders a ready-to-edit wg-quick config template. Everything runs 100% client-side - keys never leave your browser.

Privacy & Security
cosmodev ~/tools/wireguard-keygen-
Pre-shared key
Curve25519 · RFC 7748
…
…
…

32 CSPRNG bytes, clamped per Curve25519 · public key = private scalar × base point 9 · generated locally, never sent · keys are deliberately not encoded in the share URL.