Can I generate a Wi-Fi QR code without a password?
Yes — if the network itself has no password (an open network), a Wi-Fi QR code can encode just the network name with security set to 'none', and scanning it connects guests directly. This is common for cafés, venues and guest networks.
What you can't do is create a working Wi-Fi code for a protected network without including its password — the code has to contain the credentials it's meant to hand over. The password is embedded in the pattern (that's what makes join-by-scan work), so treat a printed Wi-Fi code like a written-down password: display it where guests are anyway.
Either way the code works fully offline — Wi-Fi credentials live inside the pattern itself, no internet needed at scan time.