Online Tool Store Online Tool Store

WireGuard Config Generator

Fill in interface and peer details and get a correctly formatted wg-quick [Interface]/[Peer] WireGuard configuration file, ready to copy or download as .conf.

🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.

Generated locally in your browser. Keypairs are created with the Web Crypto API (X25519 / Curve25519) and pre-shared keys with crypto.getRandomValues(). No configuration or key material is ever sent to or stored on a server.

Server

Server takes the first host address of the subnet; clients are assigned sequentially after it.

Clients

Clients are named <prefix>-1, <prefix>-2, … 0.0.0.0/0, ::/0 routes all traffic; use a narrower range for a split tunnel.

Summary

How the WireGuard Config Generator works

  1. Enter your server details: public hostname or IP, listen port, VPN subnet, and optional DNS, MTU and persistent keepalive.
  2. Choose how many client configs you need (1 to 10) and a name prefix. Each client is assigned the next free address in the subnet.
  3. Click Generate Config. X25519 keypairs, and an optional pre-shared key per client, are created locally with the Web Crypto API and nothing is sent anywhere.
  4. Review the server config and each client card, then copy the text, download the .conf, scan the client QR code, or download every file as a ZIP.

FAQ

Does this tool generate real WireGuard keys?

Yes. Each keypair is a genuine Curve25519 (X25519) key created in your browser with the Web Crypto API, and pre-shared keys are 32 random bytes from crypto.getRandomValues(). If a browser lacks X25519 support the tool clearly labels the output as placeholder keys.

Is anything sent to a server?

No. Every field, key and config file is assembled entirely in your browser with no network request. Even so, treat downloaded client .conf files and QR codes as secrets, because each one contains a private key.

What do I do with the downloaded files?

Put wg0.conf on the server and start it with wg-quick, for example wg-quick up ./wg0.conf, then import each client .conf into the WireGuard app or scan its QR code on a phone.

Does it generate a QR code for the mobile app?

Yes. Each client card shows a QR code you can scan directly in the WireGuard mobile app to import that client's config, without transferring a file.

How many client configs can I create at once?

Between 1 and 10 in a single run. Set a name prefix and each client is automatically assigned the next free address in your VPN subnet.

How we compare

FeatureOnline Tool Storewg command-line tools
Generates real X25519 keypairs
Formats a full wg-quick config Manual
Runs entirely in the browser, no install
Server config plus one file per client Manual
QR codes and .conf or ZIP download

Use this generator to lay out a WireGuard server and its clients quickly. For long-lived production keys, many teams still prefer generating them directly on the host with wg genkey.

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.