HomeMicroes

How To Make A WiFi QR Code

Published:

I forgot to publish this a couple weeks ago, lol 🥲.


Ashamed this took me longer to figure out than it should but to make a QR code do that someone can connect to a WiFi network it needs this text:

WIFI:T:WPA;S:<ssid>;P:<password>;;

where <ssid> is the router’s broadcase name (ssid) and <password> is well… the network password.

That should do for the most part but there are some other parameters you can add which you can get from the ZXing wiki.

I tried to figure this stuff out using WPA 3.3 Spec [PDF: 520KB] and Anthropic’s Claude LLM and explain the advanced options but the ZXing wiki is better at it than me.


Know what? I’ve been doing a lot of things with QR codes lately and one thing that’s really annoying is that a lot of QR code generators are constantly trying to upsell you. This nonsense is making me want to make my own no-nonsense QR code generator, like the one by the Disenshittify Project. Given that I’ve decided to make my own QR Code generator Nayuki’s QR Code generator library. instead of rolling my own.