What gets encoded
A WiFi QR code holds your SSID (network name), password, encryption type (WPA, WEP, or none), and a hidden-network flag. The standard format is WIFI:T:WPA;S:MyNetwork;P:hunter2;; — phones translate that string into a one-tap join prompt.