
How to Find Password of Wifi on Computer? With System Tools
Introduction Forgetting a WiFi password is a common frustration. You bought a new laptop, a friend came over to visit, or you reset your phone and now you need the network key again. If the password is already saved on your computer, you do not need to guess,
Introduction
Forgetting a WiFi password is a common frustration. You bought a new laptop, a friend came over to visit, or you reset your phone and now you need the network key again. If the password is already saved on your computer, you do not need to guess, reset the router, or install sketchy third-party software. Most modern operating systems store saved wireless network credentials so you can reconnect automatically. With the right system tools, you can reveal that saved password in a few minutes.
This guide explains How to Find Password of Wifi on Computer? using built-in system tools only. We cover Windows, macOS, and Linux. Whether you prefer a graphical interface or the command line, there is a method here for you. The focus stays on legitimate recovery: networks you own, networks you administer, or networks you have explicit permission to access.
Throughout this article, we answer the question, How to Find Password of Wifi on Computer?, without downloads, cracks, or questionable utilities. Everything demonstrated here comes pre-installed with your operating system.
Table of Contents
- Introduction
- Is It Legal and Ethical to Find a Saved WiFi Password?
- Prerequisites Before You Begin
- How to Find WiFi Password on Windows Using GUI
- How to Find WiFi Password on Windows Using Command Prompt
- Finding WiFi Password on Windows Using PowerShell
- How to Find WiFi Password on macOS Using Keychain Access
- How to Find WiFi Password on macOS Using Terminal
- How to Find WiFi Password on Linux Using GUI
- How to Find WiFi Password on Linux Using Terminal
- Alternative: Finding WiFi Password Through Router Admin Page
- Comparison Table: System Tools by Operating System
- Tips and Best Practices
- Common Problems and Troubleshooting
- Frequently Asked Questions
- Conclusion
Is It Legal and Ethical to Find a Saved WiFi Password?
Before opening any terminal or settings panel, it is important to set boundaries. Recovering a WiFi password from your own computer is perfectly legal. Recovering it from a computer you manage, such as a family laptop or a small office machine you administer, is generally acceptable if you have authority over that device.
The situation changes when you attempt to reveal passwords on a computer you do not own or have not been given explicit permission to access. Using these techniques on someone else’s device without consent can violate computer fraud and privacy laws in many jurisdictions. It can also breach workplace policies and lead to disciplinary action or termination.
Ethically, treat saved WiFi credentials like any other saved password. If you are helping a friend recover their home network key, make sure they are present and have asked for your help. If you are an IT professional, document the recovery and inform the user. These system tools are designed for convenience and recovery, not for unauthorized network access.
Prerequisites Before You Begin
To recover a saved WiFi password using system tools, a few conditions usually must be met. First, the computer must have connected to the target WiFi network at least once in the past. Operating systems do not store passwords for networks they have never joined. Second, you typically need administrator or root privileges on the computer. Third, you need the exact network name, also called the SSID, as it was saved.
On Windows, you need a user account with administrative rights. On macOS, you need an administrator account and access to the user’s login keychain. On Linux, you usually need root access or membership in a group that can read NetworkManager connection files.
If the computer has never connected to the network, none of these methods will work. In that case, your best option is to check the router label or log into the router administration page, which we cover later in this guide.
How to Find WiFi Password on Windows Using GUI
Windows offers a straightforward graphical method for viewing saved WiFi passwords. This approach works on Windows 10 and Windows 11, though some menu names differ slightly between versions.
- Open the Start menu and type
Control Panel, then press Enter. - Go to Network and Internet, then select Network and Sharing Center.
- Look for the active connection under View your active networks. Click the link next to Connections, which usually says Wi-Fi followed by the network name.
- In the Wi-Fi Status window, click the Wireless Properties button.
- Switch to the Security tab.
- Check the box labeled Show characters. The network security key field will reveal the saved WiFi password.
If you do not see the Show characters checkbox, your user account may lack the necessary permissions. Try logging in with an administrator account and repeating the steps. This method only works for networks the computer has previously connected to and saved.
How to Find WiFi Password on Windows Using Command Prompt
For users who prefer the command line, Windows includes the netsh utility. This built-in tool can list all saved wireless profiles and display their passwords in plain text.
- Press Windows + R, type
cmd, and press Ctrl + Shift + Enter to open Command Prompt as administrator. - Type the following command and press Enter to see all saved WiFi profiles:
netsh wlan show profiles
- Locate the name of the WiFi network you want. It appears under User profiles.
- Type the following command, replacing
YOUR_WIFI_NAMEwith the exact SSID:
netsh wlan show profile name="YOUR_WIFI_NAME" key=clear
- Scroll down to the Security settings section. Look for the line labeled Key Content. The value next to it is the WiFi password.
For example, if your network is named HomeWiFi, the command would be:
netsh wlan show profile name="HomeWiFi" key=clear
If Key Content is blank or missing, the password may not be stored in plaintext, or you may not have administrative rights. Running Command Prompt without administrator privileges often produces limited output or access denied errors.
Finding WiFi Password on Windows Using PowerShell
PowerShell can also retrieve saved WiFi passwords, usually by invoking the same netsh commands under the hood. There is no single native PowerShell cmdlet that returns plaintext WiFi passwords directly, so the most reliable approach is to call netsh from within PowerShell.
- Right-click the Start button and select Terminal or PowerShell. Choose the administrator option.
- Run this command to list saved profiles:
netsh wlan show profiles
- Run this command to reveal the password for a specific network:
netsh wlan show profile name="YOUR_WIFI_NAME" key=clear
You can also filter the output using PowerShell’s Select-String if you only want to see the key content line:
netsh wlan show profile name="YOUR_WIFI_NAME" key=clear | Select-String "Key Content"
This method produces the same results as Command Prompt. Choose whichever shell you are more comfortable with. Remember to run PowerShell as an administrator, or the command will not return the password.
How to Find WiFi Password on macOS Using Keychain Access
macOS stores WiFi passwords in the system keychain. The easiest way to view them without using Terminal is through the Keychain Access app, which is included with every Mac.
- Press Command + Space to open Spotlight, type
Keychain Access, and press Enter. - In the top-left search field, type the name of the WiFi network. You can also type
AirPortto filter for network passwords. - Double-click the network entry that appears. It usually shows the network name under the Name column and AirPort network password under Kind.
- In the window that opens, check the box labeled Show password.
- macOS will prompt you for your Mac user password or Touch ID. Enter it to authenticate.
- The password will appear in the Show password field.
If you do not see the network in the results, make sure you are searching the correct keychain, usually login or System. You can switch keychains using the tabs in the upper-left corner of the Keychain Access window. This method requires administrator authentication, so standard user accounts without admin rights cannot reveal the password.
How to Find WiFi Password on macOS Using Terminal
Advanced macOS users can retrieve WiFi passwords directly from Terminal using the security command-line utility. This tool queries the keychain and can return the password for a specific AirPort network entry.
- Open Terminal from Applications > Utilities, or by searching Spotlight.
- Type the following command, replacing
YOUR_WIFI_NAMEwith the exact SSID:
security find-generic-password -ga "YOUR_WIFI_NAME"
- Press Enter. A dialog box may appear asking you to allow Terminal to access your keychain. Click Allow or Always Allow.
- Enter your Mac administrator password when prompted.
- Terminal will display the password in the output, usually on a line labeled password.
If you want to narrow the search to AirPort network passwords specifically, you can use:
security find-generic-password -D "AirPort network password" -a "YOUR_WIFI_NAME" -g
The -g flag tells macOS to show the password. Without it, the command returns metadata only. As with the GUI method, you must have administrator privileges to reveal the secret.
How to Find WiFi Password on Linux Using GUI
Linux does not have one single WiFi password interface because the graphical experience depends on your desktop environment. Most modern distributions use GNOME, KDE Plasma, XFCE, or a similar shell, and many rely on NetworkManager to manage connections.
On GNOME-based systems such as Ubuntu, Fedora, or Debian with GNOME:
- Open Settings.
- Go to Wi-Fi.
- Find the connected network or the saved network in the list.
- Click the gear icon next to the network name.
- Switch to the Security tab.
- Check Show password if the option is available.
On KDE Plasma, you can open System Settings, go to Connections, select the WiFi connection, and look for a password visibility toggle. On XFCE and other lightweight desktops, you may need to install nm-connection-editor and launch it from the application menu or terminal.
If the GUI does not show a Show password checkbox, your distribution may hide it by default, or the connection may be stored in a way that requires terminal access. In those cases, the command-line method below is more reliable.
How to Find WiFi Password on Linux Using Terminal
On Linux, saved WiFi passwords are typically managed by NetworkManager. The connection files are stored in a protected system directory, so you need root privileges to read them.
One of the simplest modern methods uses nmcli, the NetworkManager command-line tool. Run the following command, replacing YOUR_WIFI_NAME with your network SSID:
nmcli -s -g 802-11-wireless-security.psk connection show "YOUR_WIFI_NAME"
The -s flag means show secrets, and -g means machine-readable output. If the command succeeds, it prints the password directly.
If nmcli does not return a result, you can read the connection file directly. NetworkManager saves WiFi configurations under:
/etc/NetworkManager/system-connections/
List the files with:
sudo ls /etc/NetworkManager/system-connections/
Then view the file for your network, replacing YOUR_WIFI_NAME.nmconnection with the actual filename:
sudo cat /etc/NetworkManager/system-connections/YOUR_WIFI_NAME.nmconnection
Look for a line under the [wifi-security] section that reads psk=. The value after the equals sign is your WiFi password. On older systems, you may find files in /etc/NetworkManager/system-connections/ without the .nmconnection extension.
Alternative: Finding WiFi Password Through Router Admin Page
Sometimes the computer has never connected to the network, or the saved password is corrupted. In those cases, you can often recover or reset the WiFi password by logging into the router’s administration page. This is not a system tool on the computer itself, but it is a useful fallback when built-in OS methods fail.
- Connect your computer to the router via Ethernet or WiFi.
- Open a web browser and enter the router’s default gateway address. Common addresses include
192.168.1.1,192.168.0.1, or192.168.100.1. You can find the exact address on Windows by runningipconfigand looking for the Default Gateway, or on macOS/Linux by runningroute -norip route. - Log in with the administrator username and password. If you never changed them, check the sticker on the router or the manufacturer’s documentation.
- Navigate to the Wireless, WiFi Settings, or Security section.
- Look for WPA Key, Pre-Shared Key, Password, or Passphrase.
If the password is hidden behind asterisks, you may not be able to view it directly depending on the router firmware. In that case, you can change the password to something new, save the settings, and reconnect your devices.
Comparison Table: System Tools by Operating System
The table below summarizes the main built-in options for recovering a saved WiFi password across the major desktop operating systems.
| Operating System | Tool | Interface Type | Admin Rights Required | Shows Plaintext Password | Difficulty |
|---|---|---|---|---|---|
| Windows | Network and Sharing Center | GUI | Yes | Yes | Easy |
| Windows | netsh (Command Prompt) | Command Line | Yes | Yes | Moderate |
| Windows | netsh via PowerShell | Command Line | Yes | Yes | Moderate |
| macOS | Keychain Access | GUI | Yes | Yes | Easy |
| macOS | security (Terminal) | Command Line | Yes | Yes | Moderate |
| Linux | Settings / nm-connection-editor | GUI | Sometimes | Yes | Easy to Moderate |
| Linux | nmcli | Command Line | Yes | Yes | Moderate |
| Any | Router Admin Page | Web GUI | Router Admin Login | Varies by Firmware | Moderate |
Tips and Best Practices
Recovering a saved WiFi password is useful, but it is even better to avoid losing it in the first place. Here are some practical tips for managing wireless credentials responsibly.
- Use a password manager: Save your WiFi network names and passwords in a reputable password manager so you never have to recover them from system files.
- Label your router: Write the default WiFi password on a piece of tape and attach it to the router, or store it in a secure physical location.
- Change default credentials: Router admin passwords and default WiFi keys should be changed soon after setup. Use strong, unique passwords.
- Limit admin access: Do not give administrator accounts to users who do not need them. Admin rights allow anyone to reveal saved WiFi passwords using the methods in this guide.
- Disable WPS: WiFi Protected Setup is convenient but has known security vulnerabilities. Turn it off in your router settings if you do not use it.
- Keep recovery keys secure: If you use enterprise WiFi with certificates or RADIUS authentication, store those recovery keys separately from your daily-use passwords.
- Log out of shared computers: If you connect to a network on a public or shared computer, remove the wireless profile afterward so the password is not saved for the next user.
Common Problems and Troubleshooting
Even with the right steps, you may run into issues. Here are the most common problems and how to address them.
Network Not Found in Saved Profiles
If netsh wlan show profiles on Windows or the Keychain Access search on macOS does not show your network, the computer has likely never connected to it, or the profile was deleted. You cannot recover a password that was never saved. Use the router admin page instead.
Access Denied or Administrator Required
Most password-revealing commands require elevated privileges. On Windows, right-click Command Prompt and choose Run as administrator. On macOS, enter your administrator password when Keychain Access or Terminal requests it. On Linux, prefix commands with sudo. If you are on a managed work computer and do not have admin rights, contact your IT department.
Wrong Network Name or Case Sensitivity
WiFi network names are case-sensitive. If you type homewifi but the saved profile is HomeWiFi, the command may fail. Copy the exact name from the profile list before running the password-reveal command.
Password Field Is Blank
Some enterprise networks use certificate-based authentication instead of a simple pre-shared key. In those cases, there may be no Key Content or psk value to display. You will need to contact the network administrator for connection details.
Linux Distribution Differences
Because Linux desktop environments vary, the GUI path may not match your screen exactly. If the Settings app does not show a password field, fall back to nmcli or inspect the NetworkManager system-connections directory with root access.
Frequently Asked Questions
Can I find the password for a WiFi network I never connected to?
No. System tools only reveal passwords for networks the computer has previously joined and saved. If the device has never connected, there is no stored credential to recover. You must obtain the password from the network owner or the router admin page.
Is using these system tools illegal?
Using built-in tools on a computer you own or have explicit permission to manage is legal. Using them to access someone else’s computer or network without authorization may violate laws and policies. Always obtain consent before recovering passwords on devices that are not yours.
Will this show the current password or an old one?
It shows the password currently saved in the system profile. If the network password was changed on the router after the computer last connected, the saved password may be outdated. You will need to reconnect and enter the new password to update the stored credential.
Can I do this on a work computer?
Only if your employer permits it. Many organizations monitor or restrict the use of Command Prompt, PowerShell, and Terminal. Revealing saved WiFi passwords on a managed device without permission may violate acceptable use policies. Check with your IT department first.
What if I do not have administrator rights?
Most methods in this guide require administrator or root access. Without those privileges, you typically cannot reveal the plaintext password. You may still be able to see the list of saved network names, but not the actual keys.
Does this work on phones or tablets?
This guide focuses on desktop and laptop computers. Android and iOS handle saved WiFi passwords differently, and revealing them often requires root access, jailbreaking, or device-specific backup procedures. Those methods are outside the scope of this article.
Can I see the password for the network I am currently connected to?
Yes, as long as the computer has saved the profile. The methods work whether you are currently connected or simply have a saved profile from a previous connection.
Is there a way to do this without command line or system tools?
The graphical methods described for Windows, macOS, and Linux do not require the command line. However, they still require administrator access and rely on built-in operating system features. Avoid third-party “WiFi password reveal” utilities, as many contain malware or adware.
Conclusion
You now have several reliable ways to answer the question, How to Find Password of Wifi on Computer?, using only the system tools already installed on your machine. Windows users can use the Network and Sharing Center or the netsh command. macOS users can turn to Keychain Access or the security command in Terminal. Linux users can check their desktop settings or use nmcli and NetworkManager connection files.
Remember that these tools are meant for legitimate recovery on devices you own or manage. Always respect privacy, ownership, and organizational policies. If you cannot recover the password through your computer, the router administration page remains a dependable alternative.
By keeping your credentials organized, using a password manager, and limiting administrator access, you can reduce the need to recover passwords in the future. Save this guide for the next time you need to reconnect a device and cannot remember the WiFi key.