Where is the Wi-Fi password saved: Search devices and routers

Forgetting the password to your wireless network is a situation many users face. This can happen after reinstalling the operating system or purchasing a new smartphone or tablet that needs to be connected to the internet. Often, access to the router settings is lost, and on the connected computer, the password is hidden deep within the operating system.

Fortunately, Windows, macOS Android and mobile platforms store data about previously connected networks in special storage. This data is encrypted, but with administrator rights or physical access to the device, it can be retrieved. In this article, we'll cover all the possible locations of your security key and how to recover it.

We'll explore the built-in operating system tools, command line capabilities, and router web interfaces. We'll also touch on security: where exactly in the file system this data is stored and how to protect it from prying eyes. The wpa_supplicant.conf system file in Android contains all saved passwords, but it can only be accessed with Root rights.

Finding a password in the Windows operating system

In the operating system Windows Wi-Fi network passwords are stored in a special security profile. If your computer or laptop is already connected to the network (or has been connected before), you can retrieve the key through the graphical interface. This is the simplest and most secure method, requiring no third-party software.

To do this, open the Network and Sharing Center. In the left pane, select Change adapter settings. Find your wireless connection, right-click it, and select Status. In the window that opens, click Wireless Network Properties.

Go to the "Security" tab. You'll see the "Network Security Key" field, where the characters are hidden behind asterisks. Check the "Show entered characters" box. The system will ask you to confirm administrator rights, and then the password will become visible.

  • 🔑 This method only works if the device has previously successfully connected to this network.
  • 🛡️ Local administrator rights on your computer are required to view.
  • 💻 The method is relevant for Windows 7, 8, 10 and 11.
📊 How do you usually restore Wi-Fi access?
Through Windows settings
I'm looking at the router's sticker.
I use a phone
I'm resetting the router

An alternative method is to use the command line. This is useful if the graphical interface isn't working correctly or you prefer quick commands. Open the command line as administrator and enter the command netsh wlan show profilesYou will see a list of all saved profiles.

Then use the command netsh wlan show profile name="Network_Name" key=clearIn the "Security Settings" section, the key will be displayed in the "Key Contents" field. This method allows you to quickly copy the password if the console is open.

Why does Windows hide the password?

The operating system hides passwords with asterisks by default to protect against over-the-shoulder snooping. However, this isn't a serious security measure, as anyone with physical access to an unlocked PC can see it with a couple of clicks. For security, it's important to use complex passwords and restrict physical access to administrator devices.

Extracting the key on macOS and Linux

Computer users Apple can also find saved passwords. In macOS This information is stored in the iCloud Keychain or the local keychain. Access is provided through the Keychain Access utility.

Launch the utility via Spotlight or find it in the Applications → Utilities folder. Select the "System" or "iCloud" category in the list on the left, then find your Wi-Fi network name in the list. Double-click the network name to open the properties window. Check the "Show password" box.

The system will prompt you to enter your Mac user account password or use Touch ID. After confirmation, the code you're looking for will appear in the text field. On Linux distributions with a graphical user interface (GNOME, KDE), the process is similar: you can view connection details and save the password in the network settings.

  • 🍏 On macOS, the password is stored encrypted in the keychain.
  • 🐧 On Linux, configuration files are often located in /etc/NetworkManager/system-connections/.
  • 🔐 User authorization is always required to view.
⚠️ Attention: On Linux, you will need root privileges to view NetworkManager configuration files. Use the command sudo cat to view the contents of the network configuration file.

Where is the password stored on Android and iPhone?

With mobile devices the situation is more complicated due to security policies. iPhone (iOS) Passwords are synced via iCloud Keychain. If you have another Apple device (Mac or iPad) connected to the same iCloud, you can find the password in the Wi-Fi settings on either device.

On devices with Android The situation depends on the operating system version. Starting with Android 10, the system allows you to share your password via QR code. Go to Wi-Fi settings, tap the gear icon next to your active network, and select "Share" or "QR code." The password itself is often written in small print below the QR code.

For older versions of Android or if the QR code does not display text, you will need permissions Root. File /data/misc/wifi/wpa_supplicant.conf Contains a list of all networks and passwords in plaintext. Access to this file is restricted without superuser privileges.

  • 📱 iOS: The password is available via iCloud Keychain on other Apple devices.
  • 🤖 Android 10+: Use the Share feature to generate a QR code.
  • 🔓 Root rights: Grants full access to the wpa_supplicant.conf file.
⚠️ Attention: Rooting your Android device voids your device's warranty and may block banking apps. Only use this method if you understand the risks.

Finding the password in the router settings

The most reliable source of truth is the router itself. If you've ever configured it, the password is stored in its non-volatile memory. To access it, you need to connect to the router (via cable or Wi-Fi, if you still have access) and log in to the web interface.

In the address bar of your browser, enter the router's IP address. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, username, and password for logging in are written on a sticker on the bottom of the device. After logging in, look for the "Wireless," "Wi-Fi," "Wireless Network," or "WLAN" section.

Inside the section, find the "Wireless Password," "WPA Pre-Shared Key," or "Password" field. The current key will be displayed there. If the field is hidden by asterisks, many modern firmware versions (e.g., Keenetic, TP-Link, Asus) there is a button "Show" or "Eye".

Router brand Standard address Settings section Field name
TP-Link 192.168.0.1 Wireless → Wireless Security Password
Asus 192.168.1.1 Wireless Network → General Authentication Method / Key
Keenetic 192.168.1.1 My Networks and Wi-Fi → Home Network Password
D-Link 192.168.0.1 Wi-Fi → Security Settings PSK encryption key

☑️ Login to the router

Completed: 0 / 5

Physical sticker and factory reset

If you've never changed your router's factory settings, the password may be located on a physical sticker on the device. Look for "WPA/WPA2 Key," "Wireless Password," or simply "Password." This is especially true for new devices or those that haven't been configured manually.

If the password has been changed, lost, and no device remembers it, the last resort is a factory reset (Reset). There's a small hole with a button on the router's body. Press it with a paperclip and hold it for 10-15 seconds until the lights blink.

After resetting, the router will revert to the factory password indicated on the sticker. However, internet settings (PPPoE, L2TP from your ISP) will also be deleted, and the internet will be disabled until you configure the router again.

It's important to understand the difference between a reboot (power cycle) and a reset. A reboot doesn't remove the password, but a reset returns the device to its out-of-the-box state.

Password security and storage

Wherever your password is stored—in the Windows registry, a Linux configuration file, or in router memory—it's vulnerable if an attacker has physical access to the device. Therefore, it's recommended to use password managers to store complex combinations rather than relying on memory.

Using a guest Wi-Fi network is a great way to secure your main network. Guests are assigned a separate password that can be changed frequently without affecting their main smart home devices or personal computers. This limits the attack surface if the key is compromised.

Regularly changing your password and updating your router's firmware will close security holes. Older encryption protocols, such as WEP, can be cracked in minutes. Make sure the appropriate standard is selected in your router's settings. WPA2-PSK or WPA3.

Is it possible to steal a password via Wi-Fi?

Theoretically, when using the outdated WEP or WPS protocol, an attacker could intercept the password hash and brute-force it. Modern WPA2/WPA3 protocols are significantly more secure, but vulnerabilities (such as KRACK) are still occasionally discovered. The main security rule is to use a complex password and disable WPS.

Is it possible to find out the Wi-Fi password on someone else's computer without administrator rights?

No, this isn't possible using standard Windows or macOS tools. Operating systems intentionally hide this data from users without administrator privileges. Viewing it requires entering the account password or using specialized utilities, which often also require elevated access rights.

Where is the password stored in the Windows registry?

Passwords are stored in the system profile, but they aren't stored in plain text in the registry. They're located in system files (for example, in the System32 folder) and are protected by access rights and encryption. Directly reading the registry won't yield the key in plain text without special decoders and SYSTEM privileges.

What should I do if the sticker on my router has worn off?

If the sticker is illegible, try finding your router model (written on the case) and searching online for "default password [router model]." Factory passwords are often standard for a specific series of devices (for example, admin/admin or 1234). If the password has been changed, a factory reset will be the only solution.

Is the password saved in the browser?

The browser itself doesn't save your Wi-Fi password, as this is the operating system's responsibility. However, if you accessed your router settings through the web interface, the browser might have saved the password. to log into the router, but not the password for the Wi-Fi network itself. Check your saved passwords in your browser settings for the address 192.168.xx.