To find the Wi-Fi password, open Settings → Wi-Fi → Tap the i icon → copy the router address under IPV4 Address → open Safari → paste the IP address → enter the router's username and password. You'll now see the password. You can also find the Wi-Fi password on iPhone using Keychain.