How to view the Wi-Fi password on your computer and router

Needing to connect a new device to a home wireless network but forgetting the password is one of the most common problems in home internet administration. Fortunately, operating systems and routers have built-in security mechanisms that not only encrypt data transmission but also store access keys for authorized clients. This allows users to easily restore network access without having to reset the router to factory settings or search for a contract with their provider.

There are several proven methods for retrieving a saved key, each depending on the type of device and operating system used. You can use the Windows graphical interface, the command line for a more professional approach, or access the router's settings. Understanding these mechanisms gives you complete control over your local network and allows you to quickly resolve connection issues with your devices.

Password recovery through Windows 10 and 11 settings

The simplest and most accessible method, which doesn't require any special programming knowledge or third-party software, relies on the standard operating system settings. If your computer is currently connected to a Wi-Fi network, Windows stores the access key in encrypted form but provides the option to display it to the administrator. This method works reliably on both Windows 10, as well as on the more recent eleventh version.

First, you need to open the Network Connections control panel. Press the key combination Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find the icon for your wireless connection, right-click it, and select "Status." Next, click "Wireless Network Properties" and go to the "Security" tab.

⚠️ Note: You need administrator rights to view the key on the security tab. If you are using a corporate computer, the system may ask for account verification or block access to these settings.

In the Security section, you will see a field called Network Security Key, where the characters are hidden by asterisks. To show passwordSimply check the box next to "Show entered characters." The system will then display a text string that you can copy or rewrite to connect other devices.

📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 7 or 8
macOS or Linux

Using the Command Prompt for Advanced Users

For those who prefer speed and accuracy, or in cases where the graphical interface isn't working correctly, using the command line is the ideal solution. This method allows you to list all saved profiles and retrieve their passwords, even if you're not connected to the network. Command line (CMD) provides direct access to system data stores.

First, launch the console as administrator. Click "Start", type cmd, right-click "Command Prompt" and select "Run as administrator." The first step is to get a list of all networks the computer has ever connected to. To do this, enter the command:

netsh wlan show profiles

Find the name of the desired network in the list. Then use the following command, replacing "Network_Name" with the exact name of your profile (note case insufficiency and spaces):

netsh wlan show profile name="Network_Name" key=clear

In the command results, find the "Security Settings" section. The "Key Contents" line will display the password you're looking for in cleartext. This method is especially useful when you need to quickly retrieve data for multiple devices or automation scripts.

☑️ Check before entering a command

Completed: 0 / 4

Viewing saved passwords on macOS

Apple computer users can also easily find saved access keys using the built-in Keychain utility. This system stores not only Wi-Fi passwords, but also website logins, certificates, and notes. Access to these keys is protected by Touch ID biometrics or an account password, providing a high level of security. data protection.

Open Keychain Access using Spotlight search (Cmd + Space) or find it in Applications → Utilities. In the left-hand list of categories, select System or Login, then enter your wireless network name in the search field. Double-click the resulting entry.

In the properties window that opens, check the "Show password" box. The system will ask you to verify your identity: enter your Mac account password or place your finger on the scanner. After successful authorization, the text field will unlock, and you can copy the desired character combination.

What to do if Keychain is empty?

If the desired network isn't listed, iCloud Keychain syncing may be disabled or the password has never been saved on this particular Mac. Try reconnecting to the network and enabling saving.

Finding an access key through the router's web interface

The most universal method, which works from any device (PC, smartphone, tablet), is to access the router's settings. This method allows you to not only view the current password but also change it, set up a guest network, or update the firmware. To access it, you'll need the default gateway IP address.

Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address is often indicated on a sticker on the bottom of the device. Enter your username and password to access the control panel (admin/admin is often used by default).

Interfaces vary greatly between manufacturers, but the search logic is the same. You need to find the section related to wireless mode. Below is a table with sample navigation paths for popular brands:

Manufacturer Menu section Subsection Password field
TP-Link Wireless Wireless Security Wireless Password
Asus Additional settings Wireless network Authentication method
D-Link Wi-Fi Security settings PSK encryption key
Keenetic My Networks and Wi-Fi Home network Wi-Fi network password
⚠️ Note: Router interfaces are constantly being updated. If you don't see the above options, look for sections labeled "WLAN," "Wireless," "Security," or "Wireless Security."

How to find out your password on Android and iOS

Mobile device owners can also access saved passwords, although functionality varies by operating system version. On modern smartphones, this feature has become standard for user convenience, allowing for quick sharing of access with friends.

On devices with Android 10 On iPhone and newer devices, the process is extremely simplified. Go to "Settings" → "Network & Internet" → "Wi-Fi." Tap the gear icon next to your active network or select "Share" (QR code). The QR code often displays a text password underneath, or it can be scanned by another phone.

Users iPhone iOS 16 and later now offer the long-awaited ability to view saved keys. Go to "Settings" → "Wi-Fi." Tap the blue "i" icon next to the network name. In the "Password" field, tap the hidden characters. The system will scan your Face ID or Touch ID, and the password will become visible and copyable.

Resetting your router as a last resort

If none of the above methods help (for example, you changed the password in the router interface but forgot it, and no devices are currently connected), the last option is a hard reset. This will restore the device to factory settings, including the default password found on the sticker.

To perform a reset, find the button on the router body. Reset (often recessed into the case). Press it with a thin object (like a paperclip) and hold it for about 10-15 seconds until the indicators flash. After rebooting, the network will operate with the factory name and password.

It's important to understand that this step will require you to reconfigure your internet connection. You'll need to re-enter your ISP credentials (PPPoE or L2TP login and password) if they aren't provided automatically. Therefore, reset settings It should only be resorted to in a desperate situation.

Is it possible to recover a password if the computer is not connected to Wi-Fi?

Yes, if you've previously connected to this network on this computer. Windows and macOS save profiles for all networks. Use the command line (for Windows) or Keychain Access (for macOS), as described in the relevant sections of this article.

What should I do if I forgot my router admin password?

If the default admin/admin settings aren't working and you didn't change them yourself, the installation wizard may have done so. Try checking your contract with your provider. If all else fails, a full reset using the Reset button will help.

Is it safe to store passwords in Windows?

Yes, they are stored in encrypted form. Only users with administrator rights on that specific computer can access them. However, if attackers gain physical access to your PC, they can extract this data.

Why isn't the "Show Password" button visible on the security tab?

This may occur if you are not a system administrator, or if the network security type does not support display (very old protocols). The button may also be disabled if the computer is connected via a guest profile or corporate security policy.