How to find the WiFi connection code on your phone: full instructions

In today's world, access to a wireless network is essential, and it's common to need to connect a new device but forget the Wi-Fi password. Fortunately, most smartphones remember the password once entered, making it easy to restore through the system settings. However, the method for retrieving this information varies significantly depending on the operating system version and the model of your device.

There are several proven ways to gain access to saved credentials without having to reset your router or call your ISP. We'll cover both standard operating system tools and more advanced methods for experienced users. It's important to understand that some steps will require administrator rights or access to certain menu sections.

In this article, we'll detail the workflows for popular platforms, focusing on security and the relevance of these methods. You'll learn how to quickly generate a QR code for guests or find a hidden text password in system files. This knowledge will save you time and frustration when you need internet access immediately.

View your password on Android 10 and later

Starting with the tenth version, the operating system Android has a built-in QR code generator for Wi-Fi sharing, which also allows you to view the password. This is the simplest and most secure method, requiring no third-party software. First, you need to go to your device's wireless network settings.

Find "Wi-Fi" or "Connections" in the main settings menu. Tap the gear icon next to the network you're currently connected to, or select "Saved Networks" to access your connection history. In the menu that opens, look for the "Share" button or a QR code icon.

After clicking, the system will ask you to confirm your identity using biometrics (fingerprint, Face ID) or screen unlock PIN. This is a mandatory security measure to prevent data theft by unauthorized persons. After successful authentication, a QR code will appear on the screen.

In most modern shells (for example, in Xiaomi MIUI, Samsung One UI or pure Android) The password text is displayed directly below the QR code. If the password is hidden behind asterisks, you can take a screenshot and open it using the Google Lens app or any other QR code scanner from your gallery that recognizes text in an image.

📊 What version of Android are you using?
Android 10-11
Android 12-13
Android 14+
I don't know / Other

It's worth noting that in some corporate or heavily modified firmware, the password text may be obscured by the organization's security policy. In this case, visual display of the characters will be unavailable, requiring other methods.

Instructions for iPhone owners (iOS 16+)

Ecosystem users Apple For a long time, it was impossible to view saved Wi-Fi passwords directly on the device, but with the release of iOS 16, this feature finally appeared. Now the process is transparent and convenient, integrated into the overall iCloud Keychain password management system.

To view your data, open "Settings" and go to the "Wi-Fi" section. Tap the blue information icon (the letter "i" in a circle) to the right of the active network name. In the menu that opens, you'll see the "Password" field, which is hidden by dots by default.

Tap this field and the system will ask you to authenticate via Face ID, Touch ID or the device's passcode. Once confirmed, the field will become editable, allowing you to copy or simply view the character combination. This is especially convenient when connecting a game console or smart TV.

For older versions of iOS that lack this feature, the only legal way to find out the password is to view it on a connected Mac via Keychain or through the router settings if you have access to it. This is impossible to do on an iPhone without jailbreaking on iOS 15 and below.

Using router settings via a browser

If your phone doesn't display the password in plain text, the most secure way is to log into the router's control panel. To do this, your phone must be connected to a Wi-Fi network (even without internet) or connected to the router via a cable. OTG adapter.

Open any browser on your smartphone and enter the gateway IP address in the address bar. This is usually 192.168.0.1 or 192.168.1.1The exact address is often indicated on a sticker on the bottom of the router. You'll be greeted by a login window where you'll need to enter your administrator username and password.

By default, combinations like admin/admin or admin/password, but if you've changed them previously, use your own details. Once in the interface, look for a section called "Wireless," "Wi-Fi," "Wireless Network," or "WLAN."

Inside this section there is a subsection called “Security”, where the encryption key is stored. WPA/WPA2The password field is often hidden, but there's a "Show Password" checkbox next to it. If there's no checkbox, you can simply replace the characters in the field with your own and click "Save," but then you'll need to reconnect all your devices.

☑️ Checking access to the router

Completed: 0 / 4

ADB Method for Advanced Android Users

For devices where the standard interface does not provide access to the password, and rights Root If there aren't any, you can use USB debugging (ADB). This method requires connecting your smartphone to a computer and minimal technical skills, but it allows you to extract the system file containing the network configuration.

First, you need to enable developer mode on your phone. To do this, go to "Settings" → "About phone" and quickly tap the build number seven times. Then, in the "Developer options" menu, enable "USB debugging."

Connect your phone to your PC and launch the ADB console. Enter the command to list the Wi-Fi configuration files. On modern versions of Android, access to system files may be limited, but it's worth a try. The command to read the file is as follows:

adb pull /data/misc/wifi/WifiConfigStore.xml

After the command is executed, the file will be saved to your computer. Open it with any text editor (Notepad, Notepad++) and find the tag PreSharedKey. The password you're looking for will be stored inside it in cleartext. Please note that on Android 10 and above, access to this path may be blocked without root access.

What to do if ADB doesn't detect the phone?

Make sure the ADB drivers for your model are installed. When connecting to your phone, select "File Transfer" mode and confirm debugging permission in the pop-up window on your smartphone's screen. Try replacing your USB cable, as some cables only support charging.

Specifics of different smartphone manufacturers

Different manufacturers' interfaces have their own unique features, and the path to the coveted QR code may vary. Understanding these nuances will help you navigate the menu more quickly.

Below is a table showing the differences in navigation for popular brands:

Brand / Shell Path to Wi-Fi settings Display feature
Samsung (One UI) Settings → Connections → Wi-Fi → Gear The QR button is below, the password is under the code.
Xiaomi (MIUI/HyperOS) Settings → Wi-Fi → Tap on network QR code immediately, password can be hidden
Google Pixel Settings → Network & Internet → Wi-Fi → Gear Share button, password in the text below
Huawei (EMUI) Settings → Wi-Fi → Tap on network Finger confirmation required

For device owners Honor And Huawei Please be careful: in some firmware versions, the password is not written in plain text under the QR code for security reasons. In this case, only scanning the screen with a second device helps.

Devices Sony And Motorola With stock Android, it's usually the standard Google way, where the password is displayed in text immediately after scanning your fingerprint in the Share menu.

Security and Access Recovery

Once you have access to your password, it's important to consider the security of your network. If you discover that the password is too simple (e.g., "12345678") or is known to too many people, you should change it.

Changing your password is done exclusively through your router settings (using the method described above). After changing the encryption key, all your devices will be disconnected from the network. You'll have to re-enter the new password on each gadget, tablet, and smart speaker.

⚠️ Caution: Never use Wi-Fi passwords that contain personal information (birthdates, phone numbers, addresses). Such combinations are easily cracked by hackers using special tools.

It is recommended to use complex alphanumeric password At least 12 characters long, including uppercase letters and special characters. Write it down in a safe place or use a password manager.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if I have never connected to this network from this phone?

No, a phone can't "guess" or steal the password for a network it hasn't connected to. To view the password, the device must have a valid connection or connection history. The only other options are physical access to the router or knowledge of the ISP's admin panel password.

Is it safe to use third-party password viewer apps?

Most apps on the Play Market that promise to reveal your password without root access are either advertising platforms or scams. They don't have access to Android system files. Be careful and don't enter your data into suspicious apps.

What to do if the QR code does not scan?

Try increasing your screen brightness. If that doesn't help, take a screenshot and open it in Google Photos or Gallery using the built-in Google Lens feature, which often works better than the standard QR scanner.

Will this method work on tablets?

Yes, the instructions for Android and iPadOS tablets are identical to those for smartphones, as the operating system and menu structure are identical.