Now click on the “ show password” option.Next, search and open the WiFi network for which you want to unveil the password.On your Mac, open Spotlight search (Cmd+Space), type in “ Keychain Access” and press enter.To do so, follow the procedure given below: Now that we are done with the setup, we can proceed to view the saved WiFi passwords. Now, on your Mac, connect to your iPhone’s personal hotspot.Next, head back to Settings and turn on Personal Hotspot.
If you’re using Windows, you should give this method a pass. Note: Obviously, this procedure requires a Mac.