How to quickly share a Wi-Fi password from a computer: all the methods in 2026

Forgot your home Wi-Fi password and a guest urgently needs access? Or want to transfer network settings to a new laptop without manually entering them? Share a Wi-Fi password from your computer You can do it in a matter of seconds—and there's no need to look for a sticker on your router or call your provider. In this article, we'll look at 5 proven methods (including hidden Windows and macOS features) that will save you time and nerves.

Many people mistakenly believe that to share a password, they need to know it by heart or have access to the router's admin panel. In fact, The operating system stores all saved networks — all that remains is to extract the data in the right way. We'll show you how to do this. without programsWe'll also cover security nuances, such as why you shouldn't send your password in messengers and how to temporarily restrict access for guests.

You don't need administrator rights (except for one method), technical knowledge, or software installation. All methods work on Windows 10/11 And macOS Ventura/Monterey/Sonoma, and are also suitable for most routers (TP-Link, ASUS, Keenetic, MikroTik etc.). If you use corporate network with certificates (for example, WPA2-Enterprise), some methods may not work - we will warn you about this in advance.

📊 Which password sharing method do you use most often?
I show the QR code
I say the password verbally
I'm sending it via messenger.
I use a configuration file

1. The fastest way: QR code from Windows (no software required)

If you have Windows 10 (version 1803 and later) or Windows 11, the system can Generate a QR code to connect to Wi-Fi in 3 clicks. This method does not require administrator rights and it works even if you don't know the password itself - the main thing is that the computer is connected to the network.

Instructions:

  1. Open Settings → Network and Internet → Wi-Fi.
  2. Click on the name of your network (on the right, under the inscription "Properties").
  3. Scroll down to the block "Properties" and click on the QR code icon next to the field Network password.

A QR code will appear on the screen, which can be scan from phone (Android/iOS) or other device. This code is valid indefinitely and does not contain the password itself - only encrypted connection data.If the QR code does not scan, check the screen brightness or try a different scanner (for example, a standard app) "Camera" on iPhone).

☑️ Check before generating a QR code

Completed: 0 / 4

⚠️ Attention: The QR code contains network name (SSID) and password in clear text after decryption. Do not publish it on social media or chats - it is enough to show the code in person or send it via a secure channel (for example, Signal or Telegram Secret Chat).

2. Command Prompt: How to Find Out a Wi-Fi Password in 10 Seconds

This method is suitable for Windows all versions and allows find out the password for any saved network, even if you've long forgotten it. Administrator rights are required—but only to view it, not to change settings.

Open command line (Win + R → enter cmdEnter) and execute two commands one after the other:

netsh wlan show profiles

netsh wlan show profile name="NETWORK_NAME" key=clear

In the results of the second command, find the line Key content — this is your password. If the network name contains spaces, enclose it in quotation marks: name="My WiFi Network".

What to do if the command doesn't work?

If you see the error "No user profiles" then your computer has not connected to this network before. For networks with WPA3 or corporate (802.1X) the password may not be displayed due to additional encryption.

⚠️ Attention: This method shows the password in in open form on the screen. If there are strangers nearby, close the command prompt window after copying or use clip to automatically copy to clipboard:

netsh wlan show profile name="NETWORK_NAME" key=clear | findstr "Key Contents" | clip

3. Export Wi-Fi settings to a file (for transferring to another PC)

If necessary transfer Wi-Fi settings to another computer (for example, when replacing a laptop), you can export the network profile to a file .xml and import it on a new device. This will eliminate the need to manually enter a password and additional parameters (for example, DNS or Proxy).

Steps to export:

  1. Open the command prompt as administrator.
  2. Run the command:
    netsh wlan export profile name="NETWORK_NAME" folder="C:\WiFi_Backup\" key=clear

    File NETWORK_NAME.xml will appear in the specified folder.

To import on another PC:

  1. Copy the file .xml to a new device.
  2. Run in the command line (as administrator):
    netsh wlan add profile filename="PATH_TO_FILE\NETWORK_NAME.xml"
netsh wlan export profile key=clear folder="C:\WiFi_Backup\"

The files will be useful for backup or setting up a new router.-->

⚠️ Attention: File .xml contains the password in in encrypted form, but it can be easily extracted by opening the document in any text editor. Store such files in a secure location (for example, in BitLocker or VeraCrypt).

4. macOS: How to share Wi-Fi with a MacBook or iMac

On computers Apple The process is even easier thanks to the function AirDrop and a built-in password manager. Let's consider both options.

Method 1: Via AirDrop (for Apple devices)

  • 📱 Make sure that on iPhone/iPad/Mac recipient included AirDrop (Settings → General → AirDrop → Everyone).
  • 🖥️ On Mac, open System Preferences → Wi-Fi.
  • 🔗 Click on the icon Share Password next to the network name and select the recipient's device from the list.

Method 2: Via Keychain Access

  1. Open the app Bunch of keys (through Spotlight or Programs → Utilities).
  2. Enter the name of your Wi-Fi network in the search.
  3. Double-click on the entry and check the box. Show password and enter your account password macOS.

⚠️ Attention: When using AirDrop the password is transmitted in encrypted form, but only between devices with one Apple ID accountIf you need to share with Android or Windows, use a QR code (see section 1) or export a configuration file (section 3).

5. Alternative Methods: When Standard Methods Don't Work

If your network uses non-standard settings (For example, WPA3-Enterprise, 802.1X or MAC filtering), conventional methods may not work. In such cases, the following will help:

A. Router control panel

  • 🌐 Open your browser and enter the router's address (usually 192.168.0.1, 192.168.1.1 or keenetic.link).
  • 🔑 Log in (default logins: admin/admin or see the sticker on the router).
  • 📡 Go to the section Wi-Fi → Security (the name may differ). The password will be in the field PSK or Password.

B. Network Management Applications

For routers ASUS, TP-Link or Keenetic There are official mobile applications (ASUS Router, Tether, Keenetic), where possible view password or generate guest access without changing the main thing.

B. Temporary guest Wi-Fi

If you don't want to share your master password, set it up guest network in the router:

  • 🔄 Turn on the option Guest network in the control panel.
  • ⏱️ Set a time limit (e.g. 2 hours).
  • 🚫 Deny access to local network (optional) Isolate guests).

⚠️ Attention: If your router issues IP addresses in the range 10.0.0.x or 172.16.x.x, and not 192.168.x.xThe control panel login address may vary. Check the documentation or use the command:

ipconfig /all

(look for the line Main gateway).

6. Security: How to share Wi-Fi without exposing your network

Sharing your Wi-Fi password is always a hassle security riskEven if you trust someone, their device could be infected with viruses or used to attack your network. Follow these rules:

What NOT to do:

  • 🚫 Send password to WhatsApp, VK or Instagram — these messengers do not encrypt messages by default.
  • 🚫 Save password in Google Keep, iCloud Notes or other cloud services without encryption.
  • 🚫 Use simple passwords like 12345678 or qwerty - they are hacked in seconds.

Safe alternatives:

Method Security level When to use
QR code (section 1) ⭐⭐⭐⭐ For temporary access (the password is not transmitted in clear text)
Guest network ⭐⭐⭐⭐⭐ For strangers or devices (isolates from the main network)
Oral transmission ⭐⭐ Only for close people if there are no other options
Configuration file (section 3) ⭐⭐⭐ To transfer settings to your devices

⚠️ Attention: If after transferring your password you notice suspicious activity (Internet is slow, unknown devices are on the network), immediately change the password in the router control panel and scan your computer for viruses. To do this:

  1. Go to 192.168.1.1 (or another address of your router).
  2. Go to Wi-Fi → Security and generate a new password.
  3. Update your password on all your devices.

FAQ: Frequently asked questions about sharing your Wi-Fi password

Is it possible to share Wi-Fi from a computer to Android without a QR code?

Yes, there are two options:

  1. Generate a QR code on your PC (section 1) and scan it with your phone.
  2. Find out the password via the command line (section 2) and enter it manually on Android.

On some phones (eg. Xiaomi or Samsung) there is a function Share Wi-Fi in the network settings - it creates a QR code directly on the smartphone.

Why doesn't the command prompt show the password for my network?

Possible reasons:

  • 🔹 The network uses WPA3-Enterprise or 802.1X (corporate authentication).
  • 🔹 You are not connected to the network at the moment (check netsh wlan show interfaces).
  • 🔹 You don't have administrator rights (run the command prompt as administrator).

Solution: Try to get the password through the router control panel (section 5).

How to share Wi-Fi from a computer to an iPhone without AirDrop?

If AirDrop unavailable:

  1. Generate a QR code on your PC (section 1) and scan it via "The camera" on iPhone.
  2. Or export the settings to a file (section 3), send it to the iPhone (for example, via Email or iCloud Drive) and import manually.

⚠️ You can't import to iPhone .xml- files directly - you will have to enter the password manually.

Is it possible to find out the Wi-Fi password a computer connected to a year ago?

Yes, if the network profile is saved in the system. Windows execute:

netsh wlan show profiles

Find the desired network in the list and use the command from Section 2to see the password. In macOS check "A bunch of keys" (section 4).

If the network is not in the list, it means that the computer has not connected to it or the profile has been deleted.

Is it safe to use programs like WiFi Password Revealer?

No, we do not recommendSuch programs:

  • 🔴 May contain viruses or spyware.
  • 🔴 They often require administrator rights, which is risky.
  • 🔴 Do the same as the standard commands (netsh), but with unnecessary risks.

Use built-in Windows/macOS tools (described in this article) - they are safe and do not require software installation.