
How to Show Wifi Password in Computer? Computer Password View
Introduction Forgetting a WiFi password is one of the most common technology frustrations. You may have connected your laptop to your home network months ago, and now a friend wants to join, or you are setting up a new device and need the credentials. If the p
Introduction
Forgetting a WiFi password is one of the most common technology frustrations. You may have connected your laptop to your home network months ago, and now a friend wants to join, or you are setting up a new device and need the credentials. If the password is already saved on your computer, you do not have to reset your router or guess combinations. Instead, you can retrieve the stored wireless key directly from your operating system.
This guide explains How to Show Wifi Password in Computer? across the most popular desktop platforms, including Windows, macOS, Linux, and Chromebook. Whether you prefer using a graphical interface or the command line, you will find step-by-step instructions below. We also cover legal and safety considerations, troubleshooting tips, comparison tables, and best practices for keeping your network credentials secure.
Before proceeding, remember that you should only view passwords for networks you own or have explicit permission to access. Attempting to retrieve WiFi keys from a computer you do not own may violate privacy laws and organizational policies.
Table of Contents
- Why You Might Need to View Your WiFi Password
- Is It Legal and Safe to View Saved WiFi Passwords?
- Prerequisites Before You Start
- How to Show Wifi Password in Computer? (Windows 10 and 11)
- How to Show Wifi Password in Computer? (macOS)
- How to Show Wifi Password in Computer? (Linux)
- How to Show Wifi Password in Computer? (Chromebook)
- Comparison Table: Methods by Operating System
- Alternative: View WiFi Password via Router Admin Panel
- Tips and Best Practices
- Common Problems and Troubleshooting
- Security Considerations
- Frequently Asked Questions
- Conclusion
Why You Might Need to View Your WiFi Password
There are many legitimate reasons to look up a saved WiFi password on your computer. Understanding your motivation can help you choose the right recovery method.
- Connecting a new phone, tablet, or smart TV to the same network.
- Sharing credentials with a houseguest or family member.
- Reconfiguring a router after a factory reset.
- Documenting network settings for IT inventory or troubleshooting.
- Recovering access when the router label is missing or unreadable.
Most modern operating systems store WiFi credentials securely after you connect for the first time. As long as you have administrative access to the computer, you can usually reveal the stored key without needing to touch the router. This is especially helpful if your router is located in a hard-to-reach place or if the default sticker has faded over time.
Is It Legal and Safe to View Saved WiFi Passwords?
Viewing a WiFi password stored on your own computer is generally legal and safe. You are accessing data that belongs to you on a device you control. However, the situation changes if you attempt to extract credentials from someone else’s machine without authorization.
If you are using a work computer, check your organization’s acceptable use policy. Some employers monitor administrative actions, and viewing saved network keys could be flagged depending on company rules. For personal devices, there are no legal barriers, but you should still treat revealed passwords as sensitive information.
From a security standpoint, revealing a password on screen means anyone looking at your monitor can see it. Perform these steps in a private setting, and avoid saving the password in plain text files or emailing it to yourself unless you encrypt the message.
Prerequisites Before You Start
Before you try any of the methods in this guide, make sure you meet the following requirements:
- Administrative privileges: Most password-revealing commands require administrator or root access.
- Previously connected network: You can usually view passwords for networks your computer has connected to before. If the computer has never joined the network, the password is not stored locally.
- Knowledge of your operating system: The steps differ significantly between Windows, macOS, Linux, and ChromeOS.
- Patience and attention to detail: Command-line methods require exact syntax. A single typo can produce an error.
If you meet these conditions, you are ready to proceed with the platform-specific instructions below.
How to Show Wifi Password in Computer? (Windows 10 and 11)
Windows offers several ways to retrieve a saved WiFi password. The method you choose depends on your comfort level with settings menus versus command-line tools.
Using Windows Settings (Windows 11)
Windows 11 makes it relatively simple to view the password for the network you are currently connected to.
- Open the Start menu and select Settings.
- Go to Network & internet.
- Click on Wi-Fi and then select Manage known networks.
- Find the network you want and click on its name.
- Look for the Wi-Fi password field. If it is hidden, click the eye icon or Show button.
- You may be prompted to enter your Windows user password or confirm via Windows Hello.
If you are using Windows 10, the Settings app does not always show the password directly. In that case, use the Control Panel method described next.
Using Control Panel (Windows 10 and 11)
The Control Panel works on both Windows 10 and Windows 11 and can reveal passwords for networks you are currently connected to or have previously joined.
- Press Windows + R, type
control panel, and press Enter. - Set the view to Category and choose Network and Internet, then Network and Sharing Center.
- Click the name of your WiFi network next to Connections.
- In the WiFi Status window, click Wireless Properties.
- Switch to the Security tab.
- Check the box that says Show characters.
- The network security key will appear in plain text.
This method is reliable and does not require memorizing commands, making it ideal for most users who want to know How to Show Wifi Password in Computer? without using technical tools.
Using Command Prompt
If you prefer the command line, Windows includes a built-in tool called netsh that can display saved WiFi profiles and their passwords.
- Press Windows + S, type
cmd, right-click Command Prompt, and select Run as administrator. - Type the following command to list all saved WiFi profiles:
netsh wlan show profiles
- Identify the exact name (SSID) of the network from the list.
- Type the following command, replacing
YOUR_WIFI_NAMEwith the actual network name:
netsh wlan show profile name="YOUR_WIFI_NAME" key=clear
- Scroll down to the Security settings section.
- Look for Key Content. The value displayed is your WiFi password.
For example, if your network is named HomeWiFi, the command would be:
netsh wlan show profile name="HomeWiFi" key=clear
This method works even if you are not currently connected to the network, as long as the profile is saved on your computer.
Using PowerShell
PowerShell offers a more automated approach for advanced users. You can retrieve all saved WiFi passwords at once with a single command.
- Open PowerShell as administrator.
- Run the following command:
(netsh wlan show profiles) | Select-String "\:(.+)" | %{$name=$_.Groups[1].Value.Trim(); netsh wlan show profile name="$name" key=clear} | Select-String "Key Content" | %{$_.Line}
This command loops through every saved profile and prints the key content for each one. It is useful if you have many networks stored and do not want to query them individually.
How to Show Wifi Password in Computer? (macOS)
macOS stores WiFi passwords in the system keychain. You can retrieve them using a graphical application called Keychain Access or through the Terminal for those who prefer command-line tools.
Using Keychain Access
Keychain Access is the built-in password manager on macOS.
- Press Command + Space to open Spotlight, type
Keychain Access, and press Enter. - In the left sidebar, select System under Keychains.
- Click the Passwords category at the top or in the sidebar.
- Use the search bar in the upper-right corner to type the name of your WiFi network.
- Double-click the network entry that appears.
- In the new window, check the box labeled Show password.
- Enter your Mac administrator username and password when prompted.
- The WiFi password will be revealed in the password field.
This is the safest and most user-friendly method on macOS because it uses the native graphical interface.
Using Terminal
You can also retrieve WiFi passwords from the command line using the security utility.
- Open Terminal from Applications > Utilities.
- Type the following command, replacing
YOUR_WIFI_NAMEwith your network SSID:
security find-generic-password -ga "YOUR_WIFI_NAME"
- Press Enter and provide your administrator password when prompted.
- Look for the line that says
password:in the output. The text following it is your WiFi key.
If the command returns an error, double-check the network name spelling and ensure you have admin rights on the Mac.
How to Show Wifi Password in Computer? (Linux)
Linux does not have a single universal method because different distributions use different network managers. However, most modern desktop distributions use NetworkManager, which stores connection details in system configuration files.
Using NetworkManager and nmcli
If your distribution uses NetworkManager, you can use the nmcli tool to inspect saved connections.
- Open a terminal window.
- List all saved connections:
nmcli connection show
- Find the name of your WiFi connection in the output.
- Run the following command, replacing
CONNECTION_NAMEwith the actual name:
nmcli -s -g 802-11-wireless-security.psk connection show "CONNECTION_NAME"
The -s flag displays secrets, and -g limits output to the pre-shared key (PSK), which is your WiFi password.
Using Configuration Files
On many Linux systems, NetworkManager saves WiFi configuration files in /etc/NetworkManager/system-connections/. These files often contain the password in plain text or encrypted form depending on system settings.
- Open a terminal.
- List the files in the system-connections directory:
ls /etc/NetworkManager/system-connections/
- Open the file corresponding to your network with a text editor, such as nano or vim. You will need root privileges:
sudo nano /etc/NetworkManager/system-connections/YOUR_NETWORK_NAME.nmconnection
- Look for a line under the
[wifi-security]section that readspsk=. The value after the equals sign is your password.
Because these files are protected, you must use sudo to read them. This method is best for advanced Linux users who are comfortable with the terminal.
How to Show Wifi Password in Computer? (Chromebook)
ChromeOS is designed with simplicity and security in mind, which means it does not offer a built-in way to view saved WiFi passwords through the standard user interface. Unlike Windows or macOS, there is no simple “Show password” checkbox in the settings.
Most Chromebook users have two options:
- Check the router admin panel or the physical label on the router.
- Use another device that is already connected to the network, such as an Android phone or Windows laptop, to retrieve the password.
Enabling developer mode on a Chromebook can expose more system files, but this process wipes all local data and reduces security. It is not recommended solely for the purpose of viewing a WiFi password.
Comparison Table: Methods by Operating System
The table below summarizes the primary methods covered in this guide so you can quickly choose the right approach for your computer.
| Operating System | Method | Difficulty | Admin Rights Needed? | Best For |
|---|---|---|---|---|
| Windows 10 | Control Panel / Network and Sharing Center | Easy | No | Currently connected networks |
| Windows 11 | Settings app | Easy | No | Currently connected networks |
| Windows 10/11 | Command Prompt (netsh) | Moderate | Yes | Saved or previously connected networks |
| Windows 10/11 | PowerShell | Advanced | Yes | Retrieving all saved passwords at once |
| macOS | Keychain Access | Easy | Yes | Graphical interface users |
| macOS | Terminal (security command) | Moderate | Yes | Command-line users |
| Linux | nmcli | Moderate | Yes | NetworkManager-based distributions |
| Linux | Configuration files | Advanced | Yes (root) | Advanced users and server environments |
| Chromebook | Router admin panel | Easy | No (router access) | When no computer method is available |
Alternative: View WiFi Password via Router Admin Panel
If you cannot retrieve the password from your computer, or if you need the password for a network your computer has never joined, you can log into your router’s administration interface.
- 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 by runningipconfigon Windows orip routeon Linux and macOS and looking for the default gateway. - Log in with the administrator username and password. If you never changed these, they might be printed on a sticker on the router (common defaults are
admin/adminoradmin/password). - Navigate to the wireless settings section. It may be labeled Wireless, WiFi Settings, or Security.
- Look for a field labeled Pre-Shared Key, WPA Key, Password, or Passphrase.
- Some routers hide the password behind an eye icon or Show button.
This method is especially useful if you have administrative access to the router but not to the computer, or if you want to verify the password independently of the operating system.
Tips and Best Practices
Retrieving a WiFi password is only half the process. Managing that information responsibly is just as important.
- Use a password manager: Instead of writing passwords on sticky notes, save your WiFi credentials in a reputable password manager. This keeps them encrypted and accessible across your devices.
- Do not email passwords in plain text: If you must share the password, use a secure messaging app with encryption or share it verbally. Plain-text email can be intercepted.
- Change default router credentials: Many routers ship with default admin passwords. Change them immediately after setup to prevent unauthorized access to your router settings.
- Use WPA3 or WPA2: Avoid older security standards like WEP, which are easy to crack. Modern encryption protects your network from intruders.
- Create a guest network: If you frequently share WiFi with visitors, set up a separate guest network so they do not have access to your main devices and files.
- Document changes: If you change your WiFi password, update all connected devices and record the new key in a secure location.
Common Problems and Troubleshooting
Even with the right instructions, things can go wrong. Here are common issues and how to resolve them.
Network Not Listed in Saved Profiles
If your network does not appear when you run netsh wlan show profiles or check Keychain Access, your computer has likely never connected to it. Passwords are only stored after a successful connection. Try connecting to the network first, then retrieve the password.
Access Denied in Command Prompt
Running netsh commands without administrator privileges will result in an access denied error. Always right-click Command Prompt and choose Run as administrator.
Show Characters Option Is Grayed Out
On some Windows versions, the Show characters checkbox in Wireless Properties may be unavailable if you are not using an administrator account. Log in with an admin account or use the Command Prompt method instead.
Keychain Access Not Responding
If Keychain Access freezes when you try to show a password, restart your Mac and try again. Ensure you are entering the correct administrator password, not your iCloud password.
Permission Denied on Linux Configuration Files
Files in /etc/NetworkManager/system-connections/ are owned by root. Use sudo when viewing or editing them, and never change permissions unless you understand the security implications.
Security Considerations
Viewing a saved WiFi password means temporarily exposing sensitive information. Keep the following security principles in mind:
- Physical access equals risk: Anyone with physical access to your computer and admin rights can potentially view your saved WiFi passwords. Lock your computer when you step away.
- Avoid shoulder surfing: Perform password retrieval in a private location where no one can watch your screen.
- Do not store passwords in plain text: After revealing the password, do not save it in a Notepad document or send it through unencrypted email.
- Audit saved networks: Periodically review saved WiFi profiles on your computer and remove networks you no longer use, especially public networks from cafes or airports.
- Use full-disk encryption: Tools like BitLocker on Windows or FileVault on macOS protect stored credentials if your device is lost or stolen.
Frequently Asked Questions
Can I view the password for a network I am not currently connected to?
Yes. On Windows, macOS, and Linux, you can view passwords for networks your computer has previously connected to, even if you are not within range right now. The credentials are stored in the system’s WiFi profile or keychain.
Can I use this on a work computer?
You can try, but you should check your company’s IT policy first. Some organizations restrict administrative actions or monitor password retrieval. Using these methods on a device you do not own may violate acceptable use policies.
Does this work for Ethernet connections?
No. Ethernet connections typically do not use WiFi passwords. Wired networks use different authentication methods, such as DHCP or 802.1X, and do not store a wireless security key in the same way.
Is it safe to show a WiFi password on screen?
It is safe as long as you are in a private environment and no one is watching your monitor. Avoid taking screenshots of the password and storing them in unsecured locations.
What if I forgot my computer administrator password?
Most WiFi password retrieval methods require admin rights. If you forgot your computer login password, you will need to recover or reset that account first using your operating system’s account recovery tools.
Can I view WiFi password on my phone using these steps?
No. This guide focuses on desktop and laptop computers. Android and iOS have different procedures, and many modern mobile operating systems do not allow users to view saved WiFi passwords in plain text without rooting or jailbreaking the device.
Conclusion
Knowing How to Show Wifi Password in Computer? can save you time and prevent the hassle of resetting your router every time you forget a wireless key. Windows users can rely on the Settings app, Control Panel, Command Prompt, or PowerShell. macOS users have Keychain Access and Terminal. Linux users can use nmcli or inspect NetworkManager configuration files. Chromebook users may need to check the router admin panel instead.
Always retrieve passwords responsibly and only for networks you are authorized to use. Pair these technical steps with good security habits, such as using a password manager, enabling encryption, and avoiding plain-text sharing.
If you run into trouble, revisit the troubleshooting section or consult your router’s documentation. With the right approach, you can regain access to your WiFi credentials quickly and safely.