Back to All Blog Posts
QR Code Guides

How to Share Your Wi-Fi with a QR Code

By 4 min read
A guest scanning a Wi-Fi QR code card to join a home network
Short answer

Enter your network name (SSID), password and security type (usually WPA/WPA2) in a Wi-Fi QR code generator, then print or display the code. iPhones (iOS 11 and later) and most Android phones join the network straight from the camera. For homes with many visitors and for businesses, put the code on a separate guest network so your main network and devices stay private.

Every household has the same ritual. A guest asks for the Wi-Fi, someone finds the router, turns it over, and reads out a 16-character password while the guest types it wrong twice.

A Wi-Fi QR code ends that. Guests point their camera at it, tap the prompt, and they’re on. It takes two minutes to set up.

How a Wi-Fi QR code works

The code holds a short line of text in a standard format that phones recognise, something like:

WIFI:T:WPA;S:HomeNetwork;P:your-password;;

T is the security type, S the network name and P the password. The phone reads this and offers to join. Nothing goes over the internet; the details are in the code itself, which is why a Wi-Fi code has to be a static QR code.

Which phones support it

  • iPhone and iPad: the built-in Camera app has handled Wi-Fi codes since iOS 11. A “Join network” banner appears.
  • Android: most phones from the last several years join from the camera or through Google Lens. Some brands put the option inside the Wi-Fi settings screen (“scan QR code” next to the network list).
  • Laptops: generally can’t scan, so keep the password written somewhere for them, or print it on the card.

Getting the details exactly right

Most Wi-Fi codes that “don’t work” have one detail wrong:

FieldWhat to enterCommon mistake
Network name (SSID)Exactly as it appears in the Wi-Fi listWrong capitals, missing space, using the 5 GHz name by accident
PasswordExactly, including symbolsCopying from an old sticker after it was changed
SecurityWPA/WPA2/WPA3 for nearly all routersChoosing WEP or “none” by mistake
Hidden networkTick only if the network doesn’t broadcast its nameTicking it for a normal network

Special characters like ;, :, , and quotes have to be escaped inside the code. A good generator does that for you, so type the password exactly as it is.

Routers with two network names

Some routers broadcast separate 2.4 GHz and 5 GHz networks, such as Home and Home_5G. Make the code for whichever you want guests on. The 2.4 GHz one has longer range; the 5 GHz one is faster near the router. You can make two codes if you like.

Use a guest network if you can

Anyone who scans the code has your password, and can share it, or a photo of the card, with anyone. Most routers let you create a guest network in the admin page, often under “Guest Wi-Fi” or “Guest access”. It gives visitors internet access but keeps them away from your laptops, printers and cameras. Put the QR code on the guest network and keep your main password private.

For a café, office reception or rental flat, a guest network is close to essential. Change its password every few months, then print a new code.

Ways to display it

  • Home: a small card on the fridge or in the guest room. Our Wi-Fi QR code generator can make a printable card with the network name.
  • Café or restaurant: on table tents next to the menu QR code, or at the counter.
  • Holiday rental: framed in the welcome folder, together with check-out instructions.
  • Office: at reception and in meeting rooms, for the guest network only.
Public places: you can leave the password off the printed card. Guests still join by scanning, but nobody can simply read it from across the room.

Sharing from your own phone

If you only need to share occasionally, your phone may already do it. Many Android phones show a QR code for the connected network under Wi-Fi settings (tap the network, then “Share”). iPhones can share a Wi-Fi password with nearby Apple devices in the contacts list. A printed code is still handier for regular visitors and anyone on a different phone brand.

If it doesn’t connect

  1. Check the security type.

    A WPA network saved as WEP will never connect. Regenerate the code with WPA/WPA2/WPA3.

  2. Check the password hasn’t changed.

    Routers reset after updates or repairs. Compare against the current password.

  3. Check the network name.

    Capitals and spaces matter: “Home WiFi” is not “home wifi”.

  4. Check the phone is in range.

    Scanning works anywhere, joining only works near the router.

Frequently asked questions

Is it safe to share Wi-Fi with a QR code?

It’s exactly as safe as telling someone the password, since the code contains it. For regular visitors or businesses, put the code on a separate guest network.

Do iPhones support Wi-Fi QR codes?

Yes. Since iOS 11, the iPhone Camera app recognises Wi-Fi QR codes and shows a prompt to join the network.

Will the QR code still work if I change my Wi-Fi password?

No. The password is stored inside the code, so you need to make and print a new one after changing it.

Which security type should I choose?

WPA/WPA2/WPA3 for almost every router made in the last 15 years. Choose WEP only for very old equipment and “no password” only for open networks.

Can I make a Wi-Fi QR code for a hidden network?

Yes. Enter the exact network name and tick the hidden-network option, so phones know to look for it even though it isn’t broadcast.

Make your Wi-Fi QR code

Network name, password and security type in one code, with a printable card. Created on your device.

Create a Wi-Fi QR Code
CleanPDF Team

The team behind CleanPDF’s browser-based PDF, image, QR code and calculator tools. We write these guides to solve everyday document and number problems.