The conversation repeats every day in cafes, clinics, and guest houses: "What's the Wi-Fi password?" Then a member of staff spells it out letter by letter, the guest mistypes it, and the whole thing starts again.

One scannable code ends that conversation entirely. Making one is simple, but there are a few things worth understanding before sticking it on every table.

What is actually inside the code

This is the most misunderstood part, and it shapes every decision that follows.

A Wi-Fi QR code is not a link, and it is not a system that grants permission. It is plain text containing the network name and its password, arranged in a format phones recognise:

WIFI:T:WPA;S:NetworkName;P:Password;;

The phone reads it, recognises the pattern, and offers to connect. Nothing is hidden, and nothing is encrypted.

Which means anyone who photographs that code takes your password home. They can read it back months later, from anywhere. That is not a reason to avoid using one, only a reason not to use the same password as your operational network.

One thing to sort out first

Before making the code, make sure the network you are sharing is the guest network, not the one the till and the work computers use.

This is not excessive caution. A code stuck to a table is, in effect, a password displayed in public, and putting the till on the same network as that is a risk with no upside. How to do it is in the guide to separating a guest network.

If there is no guest network yet, create one first. Almost every modern router provides it, and switching it on takes under five minutes.

Making the code

Check the router first, it may already be there

Some routers and mesh systems provide a guest-network code directly in their management app, ready to print. If yours does, use that, no other tool needed.

Otherwise, generate it from a phone that is already connected

Android 10 and later offers a share button on a saved network. It is usually under Settings, Wi-Fi, then tapping the connected network (on Samsung via the gear icon) and choosing QR code or Share. The phone asks for your PIN or fingerprint first. iPhones on iOS 18 or later can do it too: open the Passwords app, go to Wi-Fi, pick the network, and tap Show Network QR Code. A screenshot of that code can go straight to the print shop.

Or assemble it yourself from the text format

Write the line as shown above, then turn it into a QR code with any code generator. Note that T is set to WPA for a password-protected network, and left empty for an open one.

Test with two different phones

One Android, one iPhone. Test from the distance someone actually sits at, not from five centimetres away, a code that is too small often fails in real use.

When the code scans but will not connect

The usual cause is not a damaged code but what is inside it. Check these before reprinting.

  • A password or network name containing a semicolon, colon, comma, quotation mark, or backslash needs a backslash in front of that character if you write the text yourself. Without it, the phone cuts the password off partway.
  • Upper and lower case matter. "Kopi_Senja" and "kopi_senja" are two different networks.
  • A hidden network (SSID not broadcast) needs H:true; added to the text. It is simpler not to hide a guest network at all.
  • ISP technicians sometimes rename the network during a repair visit. After a technician has been, scan the code yourself again.

The safe shortcut: generate the code from a phone that is already connected rather than retyping. The phone builds the text correctly, special characters included.

On online code generators

If you use an online service to make it, you are typing your Wi-Fi password into somebody else's website.

For a guest password that is going to be displayed on a table anyway, that is not a serious problem. For your operational network, do not.

One thing to watch: some services offer "dynamic" codes that actually send the scanner to their own site first. Avoid those for Wi-Fi, the code stops working if the service closes or your subscription lapses, and guests are sent to a page you do not control.

Printing and placing it

DetailWhat works in practice
Code sizeAt least 3 cm for seated distance
MaterialPaper in a small frame, not a permanent sticker
PlacementOn the table or an interior wall, not visible from outside
Alongside itThe network name and password written out underneath
ContrastBlack on white, no patterned background

The second row matters. The guest password should be changed periodically, and a permanently printed code makes you reluctant to change it. A small frame with swappable contents solves that.

Do not skip the fourth row either. Older phones, phones with a poor camera, and guests using a laptop all still need the password written out.

The Wi-Fi code and QRIS on the same counter

In Indonesia almost every till now displays a QRIS payment code. Customers are used to opening an e-wallet or mobile banking app and scanning anything that looks like a black and white square. If the Wi-Fi code is scanned from a payment app, the usual result is a message saying the code is not recognised, and the customer assumes your Wi-Fi is broken.

  • Put a large heading over each: "Free Wi-Fi, scan with your camera" and "Pay here (QRIS)".
  • Keep them apart. QRIS at the till, the Wi-Fi code on the tables or a wall in the seating area.
  • Use different frames, a different colour or shape, so even new staff do not mix them up.
  • Check once a week that no other code sticker has been placed over it. Fake codes stuck on top of real ones are a long-known trick, and a glazed frame makes it harder.

Example: a twelve-table coffee shop

A shop with one ONT from the ISP and one extra router. The till network uses a name and password only the owner knows. The guest network has an easy-to-spot name, say the shop's name plus "Tamu", with a password changed at the start of every month. The owner generates the code from their own phone, prints twelve copies at the nearest photocopy shop, and slips them into small acrylic frames. When the password changes, only the paper is reprinted, a ten-minute job.

When vouchers fit better

A QR code suits places where guests come and go within a few hours and you do not mind who connects while they are there.

It fits less well if you need to limit duration, count users, or keep guests separated from one another. For that, a voucher system is the better tool, the comparison is in the guide to setting up Wi-Fi vouchers and the guide to captive portals.

VenueUsually the better fit
Cafes and small shopsQR code
Clinics and waiting roomsQR code
Homestays and guest housesA code in each room
Boarding houses with long-term residentsNeither, individual accounts
Busy venues where guests lingerVouchers

For accommodation, a code in each room removes one of the most common guest complaints, other considerations are in the guide to Wi-Fi for homestays and villas. For a practice waiting room there is an extra consideration around patient data, covered in the guide to internet for clinics and practices.

What to do periodically

  • Change the guest password every few months, then reprint the code. This closes off access for anyone who photographed the old one.
  • Check the code is still readable. Paper that has been spilled on or has faded often fails to scan without looking damaged.
  • Confirm you are still sharing the guest network. After a router is reset or replaced, the separation sometimes disappears without anyone noticing.

If this guest Wi-Fi also forms part of how you serve customers, there are a few things to watch regarding data collection, guide to the rules on collecting customer data. And if the aim is bringing customers back, a code alone is not enough; how to go further is in the guide to Wi-Fi marketing for small businesses and the guide to internet for selling online.

Frequently asked questions

Do Wi-Fi QR codes work on every phone?

Android phones and iPhones from the last few years can read them straight from the built-in camera, with no extra app. Older phones sometimes need a scanner app, so keep the password written out as a fallback.

Can an iPhone display a Wi-Fi QR code?

Yes, since iOS 18. Open the Passwords app, go to the Wi-Fi section, pick the network, and tap Show Network QR Code. Both Android phones and other iPhones can scan it.

Can the Wi-Fi QR code sit next to the QRIS payment code?

Yes, as long as each has a large, clear label. Customers who open an e-wallet or mobile banking app to pay can scan the wrong one, and payment apps only recognise QRIS. Keep them apart, and check regularly that nothing has been stuck over either of them.

Is my password stored inside the code?

Yes, and this is the most commonly misunderstood part. The code is nothing more than ordinary text containing the network name and its password. Anyone who photographs it can read it back at any time, including long after they have left your premises.

Does the code need remaking if the password changes?

Yes. The code stores the password verbatim, so changing it stops every printed code working. This is why many businesses put the code on something cheap to replace.