What is WireGuard?

WireGuard is a modern, high-performance VPN (Virtual Private Network) protocol that aims to be simpler, faster, and more secure than older alternatives like OpenVPN and IPsec. Built using state-of-the-art cryptography, WireGuard operates entirely in the Linux kernel space, resulting in exceptional speed and efficiency with minimal code complexity-making it easier to audit and more secure by design.

Rather than using traditional certificate-based authentication, WireGuard relies on public-key cryptography similar to SSH. Each peer has a public and private key pair, and configuration is straightforward through simple text-based config files. Mobile clients can quickly connect by scanning QR codes containing the entire configuration, eliminating manual typing errors.

Tool description

This WireGuard QR code generator converts your WireGuard VPN configuration into a scannable QR code, perfect for quickly setting up mobile devices. Upload a WireGuard configuration file, such as wg0.conf, or paste the configuration text, and the tool instantly generates a QR code that can be scanned by the WireGuard mobile app for one-tap setup. Everything happens in your browser, so your private key is not sent anywhere.

Examples

Basic WireGuard configuration:

[Interface]
PrivateKey = yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=
Address = 10.0.0.2/32
DNS = 1.1.1.1

[Peer]
PublicKey = xTIBA5rboUvnH4htodjb6e697QjLERt1NAB4mZqp8Dg=
Endpoint = vpn.example.com:51820
AllowedIPs = 0.0.0.0/0

Generates a QR code that contains this exact configuration for instant mobile setup.

Features

  • Instant QR code generation from a .conf file or from pasted config text
  • Support for all WireGuard configuration parameters
  • Adjustable QR code size and error correction level