It's common to urgently need to connect to a wireless network but have lost or forgotten the access key. Users often search for ways to crack a WiFi password, unaware that in most cases, they're not hacking the network, but rather restoring their own access rights. Ethical standards While unauthorized access to other people's networks is strictly prohibited by law, regaining access to your own equipment or network if you have the owner's official permission is completely legal.
Modern encryption protocols such as WPA3, provide a high level of data protection, making brute-force attacks extremely ineffective and requiring colossal computing power. Instead of risky hacking operations, it's wiser to use standard operating system tools or router administrative panels. A WiFi password saved on any previously connected device (Windows, Android, macOS) can be easily viewed in plain text without the use of specialized hacking software.
In this guide, we'll cover exclusively legal and technically sound methods for obtaining security key information. You'll learn how to extract saved data from the Windows registry, view settings in the router's mobile app, or use the QR code feature on smartphones. These methods don't compromise encryption integrity; they merely help the network owner remember a forgotten character combination.
Using the Windows Command Prompt to View Saved Networks
The Windows operating system automatically saves profiles of all networks the computer has ever connected to. This is designed for user convenience, eliminating the need to re-enter data each time, but also allows the administrator to access the security key at any time. This doesn't require installing any third-party software; built-in command line tools with administrator privileges are sufficient.
First, you need to open the console. Press the key combination Win + R, enter cmd and press Enter, or search for "Command Prompt" in the Start menu search and select "Run as administrator." The first step is to get a list of all saved profiles. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all networks whose profiles are stored in memory.
Once you've found the desired network name (SSID) in the list, you can request detailed information about it, including the password. The key here is the parameter key=clear, which tells the system to display the key in human-readable format, rather than as asterisks or a hash. The command should look like this:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for. If the field is empty or says "not applicable," the network is using enterprise security or the data is corrupted.
⚠️ Attention: The command line is case-sensitive and space-sensitive. If the network name contains spaces, it must be enclosed in quotation marks, otherwise the command will return a syntax error.
Restoring access via the router's web interface
The most secure way to find or change your WiFi password is to access the router's settings. Since this device broadcasts the signal and manages authentication, all the necessary information is stored in its configuration file. To access the interface, you'll need a device already connected to the network (via cable or WiFi) and a browser.
In the browser's address bar, enter the IP address of the default gateway. Most often, this is 192.168.0.1 or 192.168.1.1, however the address may differ depending on the manufacturer (Keenetic, TP-Link, ASUS, Mikrotik). The exact address is indicated on the sticker on the bottom of the device or in the documentation. If the standard addresses don't work, you can find the correct IP address through the command line using the command ipconfig (parameter "Main gateway").
After entering the address, the system will ask for a login and password to access the admin panel. By default, the following pairs are often used: admin/admin or admin/password, but if you changed them earlier and forgot, you will have to reset the router to factory settings (button Reset on the case). Once inside, look for the "Wireless," "WiFi," "Wireless Network," or "WLAN" section.
In the wireless settings, you'll see a field labeled "Password," "WPA-PSK Key," or "Passphrase." It's often hidden behind asterisks. Next to it, there's usually a "Show" button (an eye) or a "Show Text" checkbox. If there's no such button, you can simply enter the new password in this field and click "Save." All devices will disconnect, and you'll need to re-enter the new key.
What should I do if my router access is blocked?
If you've changed your router's administrator password and forgotten it, the only way to regain access is a hard reset. Locate the recessed reset hole on the back panel. With the router turned on, press it with a paperclip and hold for 10-15 seconds until the lights flash. The router will reset to factory settings, and you'll be able to log in using the login information on the sticker on the router.
How to view your password on Android and iOS
Mobile devices are now the primary way to access the internet, and modern versions of Android and iOS operating systems make it easy to share access or view saved keys. Previously, this required superuser rights (root on Android), but now this functionality is built into the system.
On smartphones Android (version 10 and above) the process is extremely simplified. Go to "Settings" → "Wi-Fi" (or "Connections"). Tap the name of the network you're connected to or the gear icon next to it. Select "QR code" or "Share." A QR code will appear on the screen. The password is often written directly underneath it. If there's no text, scan the code with any QR reader (or another phone's camera), and you'll see text in the results line that looks like this: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;, where after P: your key is located.
To the owners iPhone (iOS 16 and later) are even luckier. Apple has added a feature to view passwords directly in Settings. Open "Settings" → "Wi-Fi." Tap the blue information icon (the letter i (circled) next to the active network. Tap the "Password" field hidden by dots. The system will ask you to authenticate with biometrics (Face ID or Touch ID), after which the password will be displayed in plain text and can be copied.
- 📱 Android: Settings → Wi-Fi → Tap on the network → QR code/Share → Password under the code.
- 🍏 iOS: Settings → Wi-Fi → Button (i) → Tap the Password field → FaceID → Copy.
- 🔓 Universal: A screenshot of the QR code can be opened using Google Lens or any QR scanner to extract the text.
Software analysis and key recovery
For advanced users, there are specialized snails that automate the process of extracting saved profiles. These programs don't "hack" the network in real time, but rather read data already stored in the system. One popular tool is WirelessKeyView from NirSoft.
This utility scans the Windows registry and configuration files, listing all known networks, SSIDs, encryption types, and keys in hexadecimal and ASCII formats. The program is portable, requires no installation, and even runs in safe mode. However, antivirus programs may flag it as potentially unwanted software (HackTool) because it is often used by attackers, so you may need to add an exception before running it.
Another method is to use graphical shells for WinRAR or specialized password managers that can import WiFi settings. There are also Linux distributions for security testing, such as Kali Linux, but using them to penetrate other people's networks requires in-depth knowledge of network protocols and legislation. For home use, standard OS tools are sufficient.
| Method | Complexity | Necessary rights | Efficiency |
|---|---|---|---|
| Command Prompt (CMD) | Average | Administrator | 100% (if there is a profile) |
| Router web interface | Low | Router login/password | 100% (access to settings) |
| Mobile application (QR) | Low | Accessing phone settings | 100% (Android 10+/iOS 16+) |
| Third-party software | High | Administrator/Antivirus | Depends on the software |
Myths about hacking WPA2 and WPA3
You can find numerous searches online about how to crack a WiFi password using brute-forcers or "magic" apps. It's important to understand the difference between restoring your access and attacking someone else's network. WPA2-PSK It is indeed vulnerable to brute-force attacks if the password is weak (e.g., 6-8 digits), but modern key complexity requirements make this process extremely time-consuming.
Attack by method Brute-force involves sequentially trying all possible character combinations. For an 8-character password consisting of letters and numbers, the number of combinations runs into the trillions. Even powerful graphics cards would take weeks to crack such a key. WPA3, implemented in new routers, almost completely eliminates the possibility of offline brute-force attacks thanks to protection against repeated authentication attempts.
There is also a vulnerability WPS (Wi-Fi Protected Setup). Many routers have a quick connection feature using a PIN code. This 8-digit code is checked step by step, making it possible to brute-force it in a few hours. However, on most modern devices, WPS is disabled by default or blocked after several unsuccessful attempts. You can check for the vulnerability using utilities like Reaver or Bully in the Linux environment, but this is already the territory of professional pentesting.
⚠️ Attention: Using password-guessing programs (Aircrack-ng, Hashcat) on networks that don't belong to you is a criminal offense (Articles 272 and 273 of the Russian Criminal Code and equivalents in other countries). All described methods apply only to your equipment.
Prevention: How to Create a Strong Password
To avoid having to search for ways to crack a password in the future, it's best to create protection from the start that's impossible to forget or easily crack. Key strength depends not only on length but also on entropy—the diversity of characters used. Use a combination of uppercase and lowercase letters, numbers, and special characters.
A good practice is to use mnemonic phrases. Take the first word of a favorite song or quote, add the year, and a special character. For example, the phrase "Frost and sun, a wonderful day, 2026!" becomes a key. MiSdch2026!This password is easy to remember, but extremely difficult to brute-force. Avoid obvious combinations like 12345678, password or phone numbers.
Change your access keys regularly, especially if you've shared your Wi-Fi with guests. Modern routers have a "Guest Network" feature. Create a separate SSID for guests with limited access to local resources and a temporary password. This will protect your primary devices (smart home, NAS, printers) from potentially infected devices.
☑️ Strong Password Checklist
Frequently Asked Questions (FAQ)
Is it possible to find out the WiFi password if I have never connected to this network?
Technically, without access to the router or a previously saved profile on a device, it's impossible to discover the password. WPA2/WPA3 encryption protocols are designed to prevent the key from being obtained simply by sniffing traffic. The only legal way is to ask the owner or look at the sticker on the router (if the password hasn't been changed).
Do apps like "WiFi Master Key" or "WiFi Map" work?
Such apps operate on the principle of crowdsourcing. They don't hack networks, but rather take passwords from the phone databases of other users who have installed the app and allowed access to their saved Wi-Fi hotspots. This creates security risks: your home Wi-Fi password could become available to all users of the app if one of your guests has the app.
What should I do if the reset button on my router doesn't work?
If the mechanical reset button sticks or doesn't respond, try using a paperclip and holding it for longer (up to 30 seconds). If this doesn't help, you may need to disassemble the case to short-circuit the contacts on the board (the "9-pin" method or short-circuiting the flash memory), but this requires soldering and electronics skills. In such cases, it's easier to buy a new router.
Does changing your WiFi password affect your internet speed?
Changing the password itself doesn't affect speed. However, if you change the encryption type (for example, from WPA2 to WPA3 or vice versa) or the frequency channel during setup, this can improve connection stability. Changing the password requires reconnecting all devices, which will temporarily interrupt communication sessions.