WiFi QR Codes, Explained

A WiFi QR code holds your network name and password as text. Your phone can make one in its WiFi settings. Our generator makes the web link code beside it, such as a guest welcome page.

Quick Facts

Best Size

2" x 2" (5cm) for wall mounting

Recommended Format

Screenshot of your phone share screen, printed sharp

Error Correction

Set by the app that makes the code

Why Use This?

No Typing

Guests join without typing a long password. Any QR reader can still show it.

One Scan to Join

One scan and the phone offers to join your network.

Built Into Phones

iPhone and Android can both show a WiFi QR code from their own settings.

Count every scan

Make QR codes for your TrimLink short links and see how many scans each one gets, by country and device. The Free plan includes 5 QR codes a month.

Generate Your QR Code

Configure options and click Generate

Enter any URL to generate a QR code

PNG or SVG format

Higher resolution for print

Higher levels work better if QR code gets damaged

How to Create a Wi-Fi QR Code

  1. 1

    Get your WiFi details

    Find your network name (SSID) and password from your router settings.

  2. 2

    Open your phone share screen

    On iPhone, open the Passwords app, choose the network and tap Show Network QR Code. On Android, open Settings, Network & internet, Internet, tap the network and choose Share.

  3. 3

    Screenshot the code

    Screenshot the code your phone shows and print it. Our generator only encodes web links, so it cannot make this code.

  4. 4

    Display prominently

    Print and place where guests can easily scan.

Tips for Best Results

Create a guest network

For security, set up a separate guest WiFi network instead of sharing your main network.

Include network name

Print the network name next to the QR code in case manual entry is needed.

Update when password changes

Remember to regenerate the QR code if you change your WiFi password.

What a Wi-Fi QR code actually contains

A Wi-Fi QR code is not a web link. It holds a short text string that phone cameras can recognise as network settings. The common format is documented by the open-source ZXing barcode project:

WIFI:T:WPA;S:Cafe Guest;P:espresso-2026;;
  • T is the security type. ZXing lists WEP, WPA, WPA2-EAP, or nopass for an open network.
  • S is the network name (SSID). It is the only required field.
  • P is the password. Leave it out when T is nopass.
  • H:true marks a hidden network. Leave it out otherwise.
  • The string ends with two semicolons.

Escape special characters or the code fails

If your network name or password contains a backslash, semicolon, comma, double quote or colon, each one must have a backslash in front of it. A network called Cafe;Guest is written S:Cafe\;Guest. Forgetting this is the most common reason a Wi-Fi code scans but then fails to join. The phone reads the semicolon as the end of the field and sends the wrong name or password.

Remember that the password sits in the code as plain text. Any QR reader app shows it to whoever scans. Put the code on a guest network, never on the network your till, printers or office computers use. When you change the guest password, the old printed codes stop working, so reprint them the same day.

The easiest way to make one: your phone already can

You do not need a website to make a Wi-Fi code. On an iPhone, Apple's Passwords app shows the code: open the Wi-Fi network there and tap Show Network QR Code. On Android, Google's help pages describe the route: Settings, then Network & internet, then Internet, tap your network and choose Share. The phone draws the code on screen. You can screenshot it and print the screenshot.

Both routes build the string for you with the escaping done correctly, which avoids the special-character problem above.

Before you print, test the code on one iPhone and one Android phone. Join the network, tell the phone to forget it, and scan again to be sure. Print the network name and password in plain text under the code as well, for guests whose device cannot scan it.

Why the TrimLink generator does not make Wi-Fi codes

Our QR tool only encodes web addresses that start with http:// or https:// and point to a public site. We tested it on 19 November 2026: pasting a WIFI: string returns an error that only http and https are allowed. Every address is also checked against Google Safe Browsing first. That rule exists so the tool cannot be used to print codes for unsafe or hidden destinations, and it means Wi-Fi strings are out of scope.

Where the generator does help is the code next to your Wi-Fi sign. Hotels, rentals and cafes often pair the Wi-Fi code with a second code that opens a welcome page: house rules, check-out time, the menu or a review link. Make that one here as a normal web link code. Label both codes clearly so guests know which does what.

Frequently Asked Questions

What is the text format inside a Wi-Fi QR code?▼
It is a plain text string that starts with WIFI: and lists the settings as short fields. T is the security type, S the network name, P the password and H:true marks a hidden network. Each field ends with a semicolon, and the whole string ends with two. This is the format documented by the open-source ZXing barcode project.
Why does my Wi-Fi QR code scan but not connect?▼
The usual cause is an unescaped special character. A backslash, semicolon, comma, double quote or colon in the network name or password must have a backslash in front of it. Also check that the security type matches the router and that the password has not changed since you printed the code.
Can I make a Wi-Fi QR code from my phone?▼
Yes. On iPhone, open the Passwords app, choose the Wi-Fi network and tap Show Network QR Code. On Android, go to Settings, Network & internet, Internet, tap your network and choose Share. Google notes that some of these steps work only on Android 12 and up, and menu names can differ by phone maker.
Can I paste a WIFI: string into the TrimLink QR generator?▼
No. The TrimLink generator only accepts http and https web addresses, and it rejects WIFI: strings with an error. Use your phone's built-in share screen for the Wi-Fi code, and use TrimLink for web link codes such as a guest welcome page.
Is it safe to put a Wi-Fi password in a QR code?▼
Only for a guest network. The password is stored as plain text in the code, and any QR reader app shows it. Keep payment terminals and work computers on a separate network, and reprint the code whenever you change the guest password.

Want to Track QR Code Scans?

Create a free TrimLink account to make QR codes for your short links. See how many scans each code gets, on which days, and from which countries.

More QR code generators

Keep reading

Guides that go deeper than this page.