Skip to content
XigQR

QR Code Guides

How to Create a Wi-Fi QR Code for Your Home or Business

Let guests join your Wi-Fi with one scan. Learn how a Wi-Fi QR code works, how to create one, what to do about special characters in passwords, and how to keep it secure.

By XigQR Team · Published

Reading a long Wi-Fi password aloud, or watching a guest mistype it three times, is a small daily annoyance in homes, cafés, offices and hotels. A Wi-Fi QR code replaces it with a single scan. This guide explains how the code works, how to make one, and how to use it without weakening your network's security.

How a Wi-Fi QR code works

A Wi-Fi QR code contains a short piece of text in a standard format that phone cameras recognize:

WIFI:T:WPA;S:NetworkName;P:YourPassword;H:false;;

  • T is the security type: WPA (which covers WPA2 and WPA3 networks on most phones), WEP, or nopass for an open network.
  • S is the network name (SSID).
  • P is the password.
  • H says whether the network is hidden.

When someone scans the code with a supported camera, the phone offers to join that network. Nothing is sent to us or anyone else at scan time: the information is inside the code.

Step by step: create a Wi-Fi QR code

  1. Open the Wi-Fi QR code template.
  2. Enter the network name exactly as it appears on a device, including capital letters and spaces.
  3. Enter the password, again exactly. If you are not sure of the security type, check your router settings; WPA/WPA2 is the usual answer for home and small business networks.
  4. Select the encryption type. For an open network, choose None; no password is stored in that case.
  5. Generate and preview the code.
  6. Test it: scan with a phone that is not yet connected, and confirm that the correct network is offered. Then check that it connects.

Special characters in passwords

The Wi-Fi format uses semicolons, colons, commas, quotes and backslashes as separators. If your network name or password contains one of these, it must be escaped with a backslash, or the code will either fail or encode the wrong password. For example, a password a;b must be written a\;b inside the code.

XigQR's Wi-Fi template does this escaping for you, so you can type the real password. If you build the text yourself or use another tool, check for this: it is the most common reason a Wi-Fi QR code "scans but will not connect". Testing with a fresh phone, as in step 6, catches it.

Use a guest network, not your main one

A Wi-Fi QR code contains the password in a form anyone with the code can decode. Printing it on a wall, table card or window means everyone who sees it has the password. This is fine for a deliberately shared guest network, and a poor idea for the network your computers, cameras or payment terminals use.

  • Create a separate guest network on your router. Most business and many home routers support this.
  • Isolate it from your main network so guests cannot reach internal devices.
  • Choose a password you are comfortable sharing, and change it periodically.

When you change the password, the code must change too. A static code cannot be edited, so create a new one and replace the printed copies. Keeping a small stock of printed cards makes this painless.

A note on what is stored

When you create a code on XigQR, the content of the code, including a Wi-Fi password, is stored on our servers so that your download and, if you have an account, your history work. For a guest network that is usually acceptable. If you would rather not have a password stored by any online tool, use a throwaway guest password and rotate it. Our article on free QR code safety and privacy goes into what to ask of any generator.

Print it so people can actually use it

  • Size: at least about 3 cm square for a table card or router sticker. Larger for wall signs.
  • Contrast and background: dark code on a light background, with a clear white margin.
  • A text fallback: print the network name next to the code, and the password too if you are happy for it to be visible. Older phones and some laptops cannot scan Wi-Fi codes.
  • A label: "Scan to join Wi-Fi" removes any doubt about what the code does.
  • Durability: laminate or use a holder if it will be handled or wiped down.

For print files, use a vector SVG or PDF where possible. Free downloads are PNG with a small XigQR footer; a one-time payment unlocks watermark-free PNG, SVG and PDF for that code (see pricing). The printing guide covers sizes and formats.

Where Wi-Fi codes are useful

SettingWhere to put itExtra tip
HomeFridge, guest room, entry shelfKeep one in a drawer for visitors
Café or restaurantTable cards, counterSee QR codes for restaurants
OfficeReception, meeting roomsSeparate visitor network
Hotel or guesthouseRoom desk, lobbySee QR codes for hotels
EventsRegistration, signageConfirm the password with the venue first

Troubleshooting

  • The phone does not offer to join: some older devices need a scanner app. Provide the details in text as a fallback.
  • It offers to join but fails: check the password and the escaping of special characters; regenerate and test again.
  • Hidden network: the standard template creates codes for visible networks. If your network is hidden, test the code carefully on your devices.
  • Router uses WPA3 only: most modern phones handle it; very old ones may not.

Frequently asked questions

Does the QR code stop working if I change the router?

It keeps working if the network name, password and security type are unchanged. If any of them change, create a new code.

Can I update a Wi-Fi QR code later?

No. Wi-Fi codes are static, so a new password means a new code.

Is it safe to put a Wi-Fi QR code on a wall?

It is safe for a guest network you intend to share. Do not display your main network's code publicly.

Do I need an account?

No. You can create and download a Wi-Fi code without one.

Is it free?

Creating, previewing and downloading a PNG with a small XigQR footer is free. Watermark-free files are a one-time payment per QR code.

Make your Wi-Fi QR code

Open the Wi-Fi template, enter your guest network details, and test the code before you print it.

Creating and previewing QR codes is free. Free downloads are PNG files with a small XigQR frame and footer. A one-time payment (from $1 per QR code, with credit packs for more) unlocks watermark-free PNG, SVG and PDF exports of that QR code. No subscription.

Create your QR code

Preview it free in seconds. Download with XigQR branding, or unlock watermark-free files with a one-time payment.

Related tools and pages

More articles