I just did this the other day using the newest version (6.4.4) of LibreOffice Writer. It has a QR Code generator built in.<p>As mentioned by someone else it uses the form of:<p><pre><code> WIFI:T:WPA;S:{ssid};P:{password};;
</code></pre>
Wikipedia has information on this <a href="https://en.wikipedia.org/wiki/QR_code#Joining_a_Wi%E2%80%91Fi_network" rel="nofollow">https://en.wikipedia.org/wiki/QR_code#Joining_a_Wi%E2%80%91F...</a><p>Section of the Wikipedia article:<p><i>Joining a Wi‑Fi network</i><p>By specifying the SSID, encryption type, password/passphrase, and if the SSID is hidden or not, mobile device users can quickly scan and join networks without having to manually enter the data. Note that this technique is valid for specifying only static SSID passwords (i.e. PSK); dynamic user credentials (i.e. Enterprise/802.1x) cannot be encoded in this manner.<p>The format of the encoded string is:<p><pre><code> WIFI:S:<SSID>;T:<WPA|WEP|>;P:<password>;H:<true|false|>;
</code></pre>
Order of fields does not matter. Special characters """ (quotation mark), ";" (semicolon), "," (comma), ":" (colon) and "\" (backslash) should be escaped with a backslash ("\") as in MECARD encoding. For example, if an SSID were "foo;bar\baz", with quotation marks part of the literal SSID name itself, this would be encoded as: WIFI:S:\"foo\;bar\\baz\";;<p>As of January 2018, iPhones have this feature built into the camera app under iOS 11.x. Android users may have the feature built into one of the device's stock apps (e.g. Samsung Galaxy S8/S8+/Note8 users can launch the stock browser, tap the browser's 3-dot menu, then choose "Scan QR code") or can install one of several available free apps such as "Barcode Scanner" or "QR Droid" to perform the QR Wi-Fi join.