How to view the Wi-Fi password on a connected device

It's common to need to urgently connect a new gadget to a wireless network, but the access key is lost or forgotten. Fortunately, if at least one device (laptop, tablet, or phone) is already authorized on the network, restoring access to the secret combination of characters is easy. Operating systems hide the password by default. network security key for protection purposes, but provide standard tools for viewing it to the owner.

The recovery process depends on the platform your device is running. Methods for Windows desktop computers differ significantly from those used on Android or iOS smartphones. In this article, we'll explore the technical nuances of each approach using system utilities and the command line.

It is important to understand that to perform most of the manipulations described below you will need administrator rights or biometric unlocking. This is a standard security measure that prevents data theft by intruders who gain physical access to your device.

Recovering your password on a Windows 10 or 11 computer

In the Windows operating system, wireless network data is stored in a special profile. This can be accessed through the graphical interface, which is the easiest way for the average user. First, open the network status window by entering the command ncpa.cpl in the Run dialog box (opened by pressing Win+R).

Once the list of connections appears, find your active wireless network adapter. Right-click it and select "Status." In the window that opens, click "Wireless Network Properties," then go to the "Security" tab. This is where the field you're looking for is located.

By default, the characters in the "Network Security Key" field are hidden behind asterisks. To see them, check the "Show entered characters" box. The system will immediately display them. cleartext password, which can be copied or rewritten.

⚠️ Important: If the "Security" tab is missing or the items are grayed out, your account may not have local administrator rights, or your organization's group policies may be blocking you from viewing network settings.

For more advanced users, there's an alternative method via the command line. This allows you to display information even when the graphical interface isn't working correctly. Open the command prompt (cmd) as administrator and enter the following command to display all saved profiles: netsh wlan show profiles.

Once you find the name of the desired network in the list, use the following command to get detailed information, including the key: netsh wlan show profile name="Network_Name" key=clearIn the "Security Settings" section, the "Key Contents" line will display the required access code.

📊 What operating system do you have installed?
Windows 10
Windows 11
Windows 7/8
Linux/macOS

Using the command line to export profiles

The Windows command line offers powerful tools for managing network connections. If you need to not only view but also save a password for later transfer to another computer, you can use the export function. This method is especially useful for system administrators configuring a fleet of machines.

First, export all saved profiles in XML format. Run the command: netsh wlan export profile key=clear folder=c:\wifiThe system will create profile files in the specified folder, and the access keys will be stored in them in clear text.

Open the created XML file using any text editor, such as Notepad. Find the tag keyMaterial - it will contain password textThis allows you to easily transfer network settings between devices without having to enter them manually.

☑️ Checking access rights in Windows

Completed: 0 / 4

It's important to note that proper syntax is important when working with the command line. If your network name contains spaces, it must be enclosed in quotation marks, otherwise the command will return an error. For example: name="My Home WiFi".

⚠️ Warning: XML files containing cleartext passwords pose a security risk. Be sure to delete them or move them to an encrypted archive after use.

How to find out the password on macOS (MacBook, iMac)

Apple computer users face a different data storage architecture. In macOS, all the secrets, including Wi-Fi keys, are stored in the Keychain Access system. This is a centralized password repository protected by a system-wide security layer.

To find the required code, open the Keychain Access app. You can do this using Spotlight search (Cmd+Space) or by finding the app in the Applications -> Utilities folder. In the list on the left, select the "System" or "Login" category, then find the name of your wireless network in the list of objects.

Double-click the network name. In the properties window that opens, check "Show password." The system will ask you to verify your identity: enter your Mac user password or use Touch ID. Once successfully authenticated, the password will appear in the text field.

For those who prefer the terminal, there's a command that allows you to instantly access the key. Open Terminal and enter: security find-generic-password -wa"Network_Name"The system will request permission to access the key in the keychain and, upon confirmation, will display the password in the console.

What should I do if Keychain Access won't open?

If the Keychain Access app returns an error or fails to start, try restarting the "keychainaccess" process through Activity Monitor. In rare cases, resetting the keychain from the File menu may be necessary, but this will delete all saved passwords.

View saved networks on Android

On Android mobile devices, the situation is a bit more complicated due to Google's security policy. On operating system versions prior to Android 10, viewing passwords was only possible with root rightsHowever, in modern versions (Android 10 and above), the function is built into the system.

To view the password, go to "Settings" -> "Wi-Fi" (or "Connections"). Tap the name of the network you're connected to or the gear icon next to it. Look for the "Share" button or QR code. Access often requires confirmation via fingerprint or Face ID.

After confirmation, the system will generate a QR code to quickly connect guests. A text password is often displayed underneath (or next to) this code. If there is no text, you can take a screenshot of the QR code and open it using Google Lens or any QR code scanner that recognizes the text and displays the key.

Owners of Xiaomi, Samsung, and Huawei devices may experience slightly different interfaces. For example, on Samsung devices, tapping the QR code may hide the password, requiring you to tap the eye icon to reveal it. On some MIUI versions, the password is displayed directly below the QR code.

Android version Viewing method Root required Additional actions
Android 10+ QR code / Share No Biometrics or PIN code
Android 9 and below System files Yes Access to /data/misc/wifi
Android 12+ Direct display in settings No Eye icon

iOS Features: Apple's Limitations

The iOS platform has traditionally been characterized by a closed file system and strict security restrictions. Before iOS 16, users couldn't view saved Wi-Fi passwords directly on their iPhone or iPad without using a Mac and syncing via iCloud.

Starting with iOS 16, Apple added the long-awaited password viewer feature. To use it, go to "Settings" -> "Wi-Fi." Tap the blue information icon (the letter "i" in a circle) next to the name of the network you're connected to. In the "Password" line, tap the hidden dots.

The system will perform biometric authentication (Face ID or Touch ID). Once successfully confirmed, the password will be displayed in text format and can be copied to the clipboard. This feature works on all devices supporting iOS 16 and later, including iPhone 8 and later.

For devices running older versions of the OS (iOS 15 and below), the only native method is to use iCloud Keychain on a Mac. On Windows, resetting iOS device passwords is impossible without third-party software, which often requires jailbreaking, which is not recommended for security reasons.

⚠️ Note: The password viewer feature in iOS 16+ may not work if iCloud Key sync is enabled on your device but the initial Apple ID security setup has not been completed.

Viewing via the router's web interface

If none of the connected devices can display the password (for example, the security tab is hidden on Windows, or the phone is running an older OS), the only other option is to access the router's settings. This requires the device to be connected to the network, even if the internet is down.

Open your browser and enter the IP address of your default gateway. This is most often 192.168.0.1 or 192.168.1.1The exact address can be found in the network connection properties (line "Default Gateway") or on the sticker on the bottom of the router.

Enter your username and password to access the control panel. The factory settings are also listed on the sticker (often admin/admin). After logging in, find the "Wireless" or "Wi-Fi" section. Under the "Security" or "WLAN Settings" subsections, you'll see a "Password," "Pre-Shared Key," or "Password" field.

Router interfaces vary across different manufacturers (Asus, TP-Link, D-Link, Keenetic), but the logic remains the same. Look for tabs related to wireless mode. If the password is hidden behind asterisks, there's usually a "Show" button next to it, or you can simply edit the input field to make the text visible.

This method allows you not only to view but also to change the password if you suspect unauthorized access to your network. After changing the settings, be sure to reconnect all your devices with the new key.

What to do if you forgot your router password?

If you changed your router's admin password and forgot it, you'll need to perform a factory reset. To do this, press and hold the Reset button on the router for 10-15 seconds. This will reset all settings, including the network name and ISP password.

Frequently Asked Questions (FAQ)

Can I view my Wi-Fi password if I'm not connected to the network right now?

Yes, if you've previously connected to this network from this device. Windows, macOS, and Android store profiles of all networks you've ever connected to. You can find them in the list of known networks in the corresponding OS settings.

Is it safe to use third-party password recovery programs?

Using third-party software (such as WirelessKeyView) carries certain risks. Such programs require deep system access. Download them only from the developers' official websites and verify digital signatures to avoid introducing viruses.

Why is there no "Show characters" checkbox on the Wi-Fi security tab in Windows?

This could be due to several reasons: you don't have administrator rights, your network settings are managed by your organization's Group Policy, or your wireless adapter driver isn't working properly. Try running the properties window as an administrator.

Will resetting the router work if I don't know the internet password (PPPoE)?

Resetting your router will restore it to factory settings but will not change your ISP contract details. However, if you don't know your internet connection login and password (PPPoE/L2TP), the router will be unable to connect to the internet after resetting until you re-enter these details. Make sure you have your ISP contract details handy.