How to find your Wi-Fi password on your computer: full instructions

Needing to connect a new device to a wireless network but forgetting its password is one of the most common situations in home networks. It often happens that a laptop is already connected and working, but entering the password on a smartphone or tablet isn't possible because it's not stored anywhere. Fortunately, Windows and macOS operating systems store this data in secure profiles, which can be accessed using standard tools without the need for third-party software.

There are several proven ways to extract stored information about security key, ranging from the graphical settings interface to entering special commands in the terminal. The choice of a specific method depends on your operating system version, your level of access to the device, and whether you have administrator rights. In some cases, if the computer isn't directly connected to the network, you may need to access the router's web interface, which also stores all the necessary settings.

In this guide, we'll cover all the current methods for recovering lost internet access data in detail, focusing on security and proper execution. You'll learn how to quickly find the necessary settings both through the familiar menu and using more advanced system tools. The key is to proceed consistently and carefully check the data you enter to avoid configuration errors.

Viewing a saved password in Windows 10 and 11

The easiest and safest way to find a forgotten password is to use the standard Windows operating system interface. This method doesn't require complex commands or additional software, making it ideal for most users. However, it's important to understand that you can only view data for the network your computer is currently connected to or has previously connected to.

First, you need to open your network settings. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network and Internet settings." In the window that opens, find the "Network and Sharing Center" link or go to "Advanced network settings," depending on your OS version. Your active connection will be displayed here; click on its name.

After the wireless connection status window opens, click "Wireless Network Properties." Go to the "Security" tab. This is where the "Network Security Key" field is located, where the characters are hidden by asterisks or periods. To see them, check the "Show entered characters" box. The system may prompt you to confirm administrator rights.

  • 🔑 Right-click on the network icon in the tray for quick access.
  • 🖥️ In the status window, select the "Wireless Network Properties" button.
  • 👁️ Enable the "Show entered characters" checkbox in the security tab.
  • 📋 Copy the revealed code and save it in a safe place.

It is worth noting that in the latest updates Windows 11 Microsoft has redesigned the interface, moving some features around. You can now view saved passwords for all the networks you've ever connected to by going to Settings → Network & Internet → Advanced network settings → Manage known networks. Select the desired network from the list and click View.

Using the Command Prompt to Restore Access

For users who prefer a text-based interface or don't have access to graphical settings (for example, if the interface crashes), using the command line is the ideal solution. This method not only allows you to view the current network key but also list all previously saved profiles on the device. Working with the console requires careful attention, as commands must be entered precisely, including capitalization and spaces.

The first step is to launch the command prompt as administrator. Press the key combination Win + X and select "Windows PowerShell (Administrator)" or "Terminal (Administrator)," or search for "cmd," right-click, and select "Run as administrator." Without administrator privileges, the system will not allow you to view saved security data.

Enter the command netsh wlan show profiles and press Enter. You will see a list of all networks whose profiles are saved on this computer. Find the exact name of the desired network (SSID). Then use the command netsh wlan show profile name="Network_Name" key=clearIn the "Security Settings" section, the "Key Contents" line will display the password you are looking for.

netsh wlan show profile name="HomeWiFi" key=clear
What if the network name contains spaces?

If your network name contains spaces or special characters, be sure to enclose it in quotation marks when entering the command. For example: name="My Home Network". Without quotation marks, the command will not execute correctly.

This method is especially useful when the Windows graphical interface is unstable or when you need to quickly copy data. The command line provides direct access to the network profile database. WLAN AutoConfigBe careful when copying text from the console to avoid capturing extra spaces, which could cause errors when entered on another device.

Finding a password through the router settings

If your computer isn't connected to Wi-Fi or you want to know the password for a guest, the most reliable source of truth is the router itself. All wireless network settings, including the encryption type and access key, are stored in the device's configuration. To access them, you'll need a browser and a connection to the router, which can be achieved even via a LAN cable or, if Wi-Fi is open, via a temporary connection.

Open any browser and enter your router's IP address into the address bar. Most often, this is 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address, as well as the username and password for accessing the control panel, are usually located on a sticker on the bottom of the device. If you've changed your login information previously and have forgotten it, you may need to reset the router to factory settings.

After logging in, find the section responsible for your wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for the "Security" or "Wi-Fi Settings" subsection. This is where you'll find the "PSK Password," "WPA Pre-Shared Key," or "Wireless Network Password" field.

Router brand Typical IP address Menu section Field name
TP-Link 192.168.0.1 Wireless → Wireless Security Wireless Password
ASUS 192.168.1.1 Administration → System WPA password
Keenetic 192.168.1.1 My Networks and Wi-Fi → Home Network Wi-Fi network password
D-Link 192.168.0.1 Wi-Fi → Security Settings PSK encryption key

☑️ Access to router settings

Completed: 0 / 5

Interfaces vary significantly between manufacturers, but the logic remains the same: look for the section related to wireless connection and security. If you've changed the default router login password, use your own. If you lose your admin panel login information, you won't be able to recover your Wi-Fi password through this interface without resetting the router.

Data recovery on macOS

Apple computer users may also need to remember a forgotten password. In macOS, this information is securely stored in the iCloud Keychain or local keychain. The process for accessing it differs slightly from Windows and requires using the Keychain Access utility or System Preferences in newer versions of macOS.

In macOS Ventura and newer, the process is simplified: open System Preferences, go to Wi-Fi, find the desired network in the list, and click the information icon or the three dots next to it. You'll have the option to copy the password or reveal it by confirming with Touch ID or your account password.

For older versions of macOS or advanced users, there's the Keychain Access utility. You can find it in Spotlight (Cmd + Space) by typing "Keychain Access." In the list on the left, select the "Passwords" category, then find your network name in the list. Double-clicking the network name will open a properties window, where you should check the "Show password" box.

  • 🍏 Open Keychain Access via Spotlight search.
  • 📡 Find the name of your Wi-Fi network in the "Passwords" list.
  • ✅ Check the "Show password" box in the properties.
  • 🔐 Enter your Mac administrator password to confirm.

The system will prompt you to confirm your identity, as displaying saved passwords is a critical operation. Enter your Mac account password, and the password field will become readable. This method works for all networks the computer has previously connected to, even if you are currently out of range.

Specialized programs and utilities

While the built-in tools of Windows and macOS are usually sufficient, there are third-party utilities designed for managing wireless connections and recovering passwords. Programs such as WirelessKeyView from NirSoft or WiFi Password Decoder, can be useful in situations where standard methods do not work or bulk data extraction from multiple profiles is required.

Using third-party software carries certain risks. Downloading programs from untrusted sources can infect your computer with malware. Therefore, it's crucial to use only trusted utilities from reputable developers and download them from official websites. Antivirus software may flag such programs as hacking tools, even if they're used for legitimate purposes.

Most of these utilities work by reading data from system registries or configuration files where Windows stores network information. They simply decode this data into a readable format. This can be convenient if you need to quickly get a list of all passwords and export them to a text file for backup.

⚠️ Attention: Using password recovery programs on computers that don't belong to you without the owner's permission is illegal. Use these tools only to restore access to your own networks.

If you decide to use third-party software, be sure to scan the installer files with an antivirus before running them. Often, such utilities don't require installation (they're portable), which is convenient, but requires careful storage. Remember that the user is responsible for data security when using third-party software.