Skip to content
NordSecure

What is a VPN code?

The phrase covers four different things — an activation key, a config file, a WireGuard key pair, or a setup QR code. Here is how to tell which one you have.

Four different things go by that name

“VPN code” is not a single technical term, which is why searching for it returns such a mess. In practice it means one of four things, and the right next step depends entirely on which one you are holding.

  • An activation or redemption key — a string like XXXX-XXXX-XXXX that turns a paid subscription on. This is the most common meaning.
  • A configuration file — an .ovpn or .conf file containing the server address, protocol and certificates. Not really a code, but often called one.
  • A cryptographic key pair — in WireGuard, a public and private key that identify your device to the server. These are genuinely codes, and the private one is a secret.
  • A setup QR code — the same configuration encoded as an image, so a phone can import it by scanning instead of typing.

Activation keys: what they are and are not

An activation key is a licence, not a security credential. It tells the provider that a subscription has been paid for, and it is redeemed once inside the app or on the provider's website. It does not encrypt anything and it is not what secures your connection.

Two practical points follow. First, treat a key from an unofficial reseller with suspicion: heavily discounted keys on marketplaces are frequently either refunded stolen-card purchases that get revoked later, or shared across many people until the provider disables them. Second, the key is usually tied to an account, so it identifies you to the provider even if the connection itself is encrypted.

That second point is the one most people miss. A VPN moves the question of who can see your traffic from your network operator to your VPN provider. It does not remove the question.

Config files and WireGuard keys

A configuration file is a set of instructions: which server to reach, over which protocol and port, using which certificates. With OpenVPN this is an .ovpn file you import into a client. Nothing needs to be typed, and the file itself often contains embedded credentials — which is why it should be treated as sensitive and not emailed around casually.

WireGuard works differently and is where the word 'code' is most literally accurate. Each device generates a key pair: a public key given to the server, and a private key that never leaves the device. If your provider hands you a pre-generated private key rather than letting your device create one, they have had a copy of it, which defeats a meaningful part of the design.

Setup QR codes are simply a config encoded as an image. Scanning is far less error-prone than typing a long key on a phone, which is the entire reason they exist.

The eSIM QR code is a different thing entirely

This causes real confusion, so it is worth separating clearly. An eSIM activation QR code looks similar and is scanned in a similar way, but it is not a VPN code and does nothing related to a VPN.

An eSIM QR carries an LPA string — an address for the server that holds your mobile subscriber profile, plus a one-time matching code. Scanning it downloads a carrier profile onto your phone, which is what gives you mobile data. It replaces a plastic SIM card, not a VPN client.

You can absolutely use both at once: an eSIM provides the connection, a VPN encrypts the traffic travelling over it. They operate at different layers and neither substitutes for the other.

Do you actually need a VPN?

We do not sell a VPN, so this section is easier for us to write honestly than it is for most sites ranking for this query.

A VPN is genuinely useful for a narrow set of things: stopping the network you are connected to from seeing which sites you visit, hiding your IP address from those sites, and reaching services as though you were somewhere else. On a hostile or untrusted network, that is worth having.

It is much weaker than the marketing suggests for everything else. It does not stop websites identifying you through browser fingerprinting, cookies or your logged-in accounts. It does not stop your phone's operating system reporting back. It does not make you anonymous — it shifts trust to the VPN provider, who by definition can see the traffic your network operator no longer can.

For most people asking about privacy, the larger wins are elsewhere: the device not leaking identifiers in the first place, and the connection not being registered to their name. That is what we build, and where a VPN fits alongside it rather than instead of it.

VPN code questions

What is a VPN code?
Usually an activation or redemption key that turns on a paid subscription. The phrase is also used for configuration files, WireGuard key pairs, and setup QR codes — four different things that need different handling.
Where do I find my VPN activation code?
It normally arrives in the order confirmation email from the provider, or appears in your account area under subscription or billing. If you bought through an app store, the subscription is tied to that store account and there may be no separate code at all.
Is a VPN code the same as an eSIM QR code?
No. An eSIM QR code carries an LPA string that installs a mobile carrier profile on your phone, giving you data. A VPN code activates or configures VPN software. They look similar and are scanned similarly, but they do unrelated jobs.
Are cheap VPN keys from marketplaces safe?
Often not. Heavily discounted keys are commonly either purchased with stolen cards and revoked once the chargeback lands, or shared among many users until the provider disables them. You also have no idea what account details the key is attached to.
Does a VPN make me anonymous?
No. It stops your network operator seeing which sites you visit and hides your IP from those sites, but it moves that visibility to the VPN provider rather than removing it. Browser fingerprinting, cookies and any account you sign into identify you regardless.
Do I need a VPN if I use an anonymous eSIM?
They solve different problems. An anonymous eSIM means the connection is not registered to your identity; a VPN encrypts traffic travelling over whatever connection you have. Using both is reasonable, and neither replaces the other.

If privacy is the actual goal

We don't sell a VPN. These are the parts of the problem we do solve, plus a free tool for working out which you need.