Forgot the Wi-Fi password? Your phone remembers it.
1. Settings, then Network and internet (or Connections), then Wi-Fi.
2. Tap the gear next to the connected network (or long press it), then Share or QR code.
3. Confirm with your fingerprint or PIN. A QR code appears, and on most phones the password is shown underneath.
4. Another phone can scan the QR code with its camera to connect.
Works on Android 10 and newer. On Samsung, tap the network, then the QR code icon at the bottom.