Open Settings
Tap Network & internet or Connections
Tap Wi-Fi
Select the connected network or saved network
Tap Share or QR code
Authenticate with PIN, pattern, fingerprint, or password
View the Wi-Fi password shown under the QR code
On some Android versions, open the QR code with another device to read the password if it is not displayed directly
If your phone does not show the password, use a file manager with root access or check the router admin page
