Note: Every iPhone which is supporting iOS 16 and iPad which is also supporting iPadOS 16 are capable of viewing the Wi-Fi password. 

How to View WiFi Password on iPhone and iPad?

With the release of iOS 16, you can view the Wi-Fi password on your iPhone and iPad easily. So if you are IS is not updated to the latest version of IIS 16, updated it right away to get the feature. Note: This technique only works if you are connected to that network. This slideshow requires JavaScript.

View Wifi Password by accessing the router

iOS 15 and older versions of iOS users should use this method to view the Wi-Fi password. This method is actually very simple, visit your router settings through a browser> visit the security tab and view the password. It actually works across all devices including Mac, Windows, Linux, and Chrome OS. This slideshow requires JavaScript.

Conclusion:

It is always better to use the built-in features of iOS to accomplish your goal. In case of viewing the Wi-Fi password, you must be using iOS 16 however in older versions of iOS, access the router settings and view the password. Here is How you can find out the Wifi Password on Android easily too.