Pocket How
Shortcuts and automations

How to make a QR code for your Wi-Fi on iPhone

Works on iPhone and iPad. By Cihat Salik, updated .

Short answer

Run the Wi-Fi QR Code shortcut, type the network name and password, and it makes a QR code guests scan with the Camera app to join. It saves the code to Photos so you can print it.

Shortcut

Wi-Fi QR Code

6 actions ยท iPhone, iPad and Mac

Get Shortcut

Open this page in Safari on iPhone, tap Get Shortcut, open the file from Downloads, then tap Add Shortcut. Signed by Apple for anyone, 22 KB, no network calls.

See every action before you add it
  1. Ask for Text Wi-Fi network name
  2. Ask for Text Wi-Fi password
  3. Text WIFI:T:WPA;S:Network;P:Password;;
  4. Generate QR Code from Text
  5. Save to Photo Album QR Code to Recents
  6. Quick Look QR Code

Get the ready-made shortcut

  1. Open this page in Safari on your iPhone and tap Get Shortcut above.

  2. Tap Download, then open the file from the Downloads list (the arrow in the address bar).

  3. Shortcuts opens and shows Wi-Fi QR Code with every action listed. Tap Add Shortcut.

  4. Run it, enter the network name and password exactly, then save or print the code.

Build it yourself in Shortcuts

  1. Open Shortcuts, tap +, and add these actions in order from the search field at the bottom.

  2. Add two Ask for Input actions: network name and password.

  3. Add Text with `WIFI:T:WPA;S:` the name `;P:` the password `;;`.

  4. Add Generate QR Code from the Text.

  5. Add Save to Photo Album and Quick Look.

  6. Tap Done.

Good to know

Names and passwords with a semicolon, comma or backslash need a backslash before that character. For iPhone-to-iPhone, Share Wi-Fi Password works without a code.

Checked against Apple Support

Labelsmith: Exact-Size Labels

Labelsmith prints labels at an exact size, good for a Wi-Fi card.

Download on the App Store
  • Labels drawn at their real size in millimetres or inches
  • 40 templates for pantry, freezer, cables, files and shipping
  • Bluetooth label printers from NIIMBOT and Phomemo, plus AirPrint

No account and no server; designs stay on your device.

We make Labelsmith. You do not need it for the steps above.

Labelsmith website: how it works, guides and support

See every app we make

Questions people also ask

  • Does the password leave my phone?

    No. The code is made on the iPhone with no network call.

  • Does it work with Android phones?

    Yes. The WIFI: format is read by Android and iPhone cameras.

  • What about open networks?

    Change T:WPA to T:nopass and leave the password empty.

More things your iPhone can do

Labelsmith Also from us Get