How to Share Wi-Fi with a QR Code from Phone to Phone: A Complete Guide

Sharing Wi-Fi data via QR code is one of the most convenient ways to connect a second phone to a network without manually entering complex passwords. This method saves time, eliminates typing errors, and works even on devices with different operating systems. Simply scan the code with your camera, and the network will connect automatically.

The technology became especially popular after Google And Apple We've integrated Wi-Fi QR code support into the default smartphone settings. Now you don't need to search for the password on the router's sticker or ask the network owner for it—all you need is one phone already connected. In this article, we'll cover all the methods for generating and scanning Wi-Fi QR codes, including bypassing common errors and limitations.

What is a Wi-Fi QR code and how does it work?

A Wi-Fi QR code is a graphical representation of network data encoded in a standard format. It contains:

  • 📶 Network name (SSID) — your Wi-Fi network identifier;
  • 🔑 Encryption type (WPA2/WPA3, WEP or no password);
  • 🔐 Password (if the network is secure);
  • 🌐 Hidden parameters (for example, 5 GHz network priority).

When you scan such a code with a second phone, the system automatically retrieves this data and initiates a connection without any additional actions. The main advantage of this method is The QR code works even if the password contains special characters (for example, #$%^&), which are difficult to enter manually on some keyboards.

The QR code standard for Wi-Fi is supported by most modern smartphones:

- On Android (starting with version 10) - built-in function in network settings.

- On iOS (iPhone with iOS 11 and later) - via the camera or Photos app.

- Devices on HarmonyOS (For example, Huawei) also support this format.

⚠️ Note: Some public networks (such as those in hotels or airports) require browser authentication after connecting. A QR code will connect you to such a network, but to access the internet, you'll need to enter your login and password on the welcome page.

Preparation: What you need to transmit Wi-Fi via QR code

Before generating the code, make sure both phones meet the minimum requirements:

Condition Android iPhone (iOS)
OS version Android 10+ (12+ recommended) iOS 11+
Connecting to the network The donor phone must be connected to Wi-Fi. Likewise
Camera Any that supports QR scanning Any (including frontal)
Additional applications Not required (starting with Android 10) Not required

If your phone is older than the above versions, you can use third-party apps to generate and scan QR codes, such as:

- QR & Barcode Scanner (Android/iOS);

- WiFi QR (Android only);

- Kaspersky QR Scanner (additional security check).

📊 What smartphone do you use?
Android
iPhone
Huawei (HarmonyOS)
Another

Also check that on the donor phone (which is already connected to Wi-Fi) mobile Internet or Wi-Fi is enabled - this will be needed for data transfer if the network requires authorization. iPhone Additionally, make sure that the option is enabled in the camera settings Scan QR codes (Settings → Camera).

Method 1: Generate a QR code on Android and scan it on another phone

On phones with Android 10+ A QR code for Wi-Fi is generated directly in the network settings. Instructions:

  1. Open Settings → Wi-Fi.
  2. Click on the name of the current network (under the word Connected).
  3. Tap on the icon Share (or QR code, depending on the Android version).
  4. Enter your PIN or fingerprint to confirm (if required).
  5. A QR code will appear on the screen - hold the second phone near it.

On Samsung, Xiaomi and some other brands the path may be slightly different:

- Samsung One UI: Settings → Connections → Wi-Fi → ⚙️ (network settings) → QR code.

- Xiaomi MIUI: Settings → Wi-Fi → Tap a network → Share password.

Make sure the donor phone's screen doesn't go dark (set the brightness to maximum)

Disable power saving mode on both devices.

Make sure Wi-Fi is enabled on the receiving phone.

Place the code in a well-lit area-->

If the QR code cannot be scanned:

- Check that the recipient's phone is QR scanning is allowed through the camera (on iPhone This is enabled in the camera settings).

- Make sure the code is not blurry (sometimes zooming in on the screen helps).

- Try using a third-party scanning app (eg. Google Lens).

⚠️ Attention: On some firmware (for example, ColorOS from Oppo/Realme) The QR code for Wi-Fi may not be displayed in the default settings. In this case, use the app WiFi QR Generator from Google Play.

Method 2: Transfer Wi-Fi from iPhone to another phone via QR code

On iPhone There is no built-in QR code generation function for Wi-Fi, but there are two workarounds:

Option 1: Use Shortcuts

Apple allows you to create an automatic shortcut to generate a QR code:

  1. Open the app Labels (if you don't have it, download it from App Store).
  2. Go to the tab AutomationCreate personal automation.
  3. Select Wi-Fi → select your network → click Next.
  4. Add an action Create a QR code and select Text.
  5. In the text field, enter:
    WIFI:S:{network_name};T:WPA;P:{password};;

    (replace {network_name} And {password} on real data).

  6. Save the shortcut and run it - a QR code will appear on the screen.

Option 2: Generate code using a third-party app

Apps like QR Code Generator or WiFi Password allow you to create code manually:

  • 📱 Install the app from App Store.
  • 🔧 Select an option Wi-Fi QR Code.
  • 📝 Enter the network name, encryption type, and password.
  • 🖼️ Generate a code and show it to the second phone.

On Android-phone that will scan the code from iPhoneSimply open your camera and point it at the QR code. The system will automatically prompt you to connect to the network.

Method 3: Universal method (works on any phone)

If standard methods don't work (for example, on older versions of Android or custom firmware), use online QR code generators. Algorithm:

  1. Find out the exact details of your network:

    - Name (SSID) - look in the Wi-Fi settings.

    - Password - if you don’t remember it, check it on the router sticker or in the router’s web interface (192.168.1.1 or 192.168.0.1).

    - Encryption type (usually WPA2-PSK or WPA3-PSK).

  2. Go to a generator site, for example:

    - qifi.org

    - QR Code Generator

  3. Enter your network details into the form and download the generated QR code.
  4. Open the code on the donor phone and scan it with the second device.

An example of the correct format for manually creating a QR code (can be entered into any generator):

WIFI:T:WPA;S:my_wifi_name;P:my_password;;

Where:

- T — encryption type (WPA, WEP or nopass for open networks).

- S — network name (SSID).

- P - password.

⚠️ Warning: Do not use online generators for networks with high security requirements (e.g., corporate networks). In this case, it is better to use the OS's built-in tools.
How to check Wi-Fi encryption type?

Open your router settings (usually at 192.168.1.1 or 192.168.0.1). Wi-Fi security settings section (Wireless Security or Security) will show the current encryption type. If it is specified there WPA2-PSK [AES], in the QR code use T:WPA.

Common mistakes and how to fix them

Even if QR codes are generated correctly, problems can still arise. Let's look at the most common ones:

Problem Possible cause Solution
The QR code is not scanned. Poor lighting or blurry code Increase the screen brightness, clean the camera from dirt
Connected to the network, but no internet The network requires authorization through a browser. Open your browser and sign in (for example, at a hotel)
"Incorrect password" error The QR code contains an invalid encryption type. Check the parameter T: in the code (must match the router)
QR code is not displayed in settings Outdated Android version or custom firmware Use a third party app (eg. WiFi QR)

If after scanning the QR code the network connects, but the Internet does not work:

- Check if it is turned on on the router client isolation mode (it blocks data exchange between devices on the same network).

- Make sure that the recipient's phone VPN is disabled or proxy server.

- Reboot your router (sometimes helps with DHCP failures).

On iPhone After connecting via QR code, a notification may appear "No internet connection", even if the network is working. This is a feature of iOS—just close the notification and check access in your browser.

Security: The Risks of Wi-Fi Transmission via QR Code

QR codes are convenient, but they have potential vulnerabilities:

- Code substitutionAn attacker could replace your QR code with a fake one (for example, in a public place), redirecting you to a phishing network.

- Password leak: If you generate code through an untrusted online service, network data may be stored on a third-party server.

- Connecting to malicious networks: The QR code may contain a link to automatically connect to a dangerous Wi-Fi network (for example, one with a MITM attack).

How to minimize risks:

- Generate QR codes only through built-in OS tools or verified applications (for example, Google Lens).

- Do not scan codes found in public places (cafes, airports) unless you are sure of their source.

- After using the QR code remove it from scan history (on iPhone: open Photo → select QR → Delete).

- On Android Check that the Wi-Fi option is disabled in your Wi-Fi settings. Automatic connection to open networks.

FAQ: Frequently asked questions about Wi-Fi transfer via QR code

Is it possible to transmit Wi-Fi via QR code if the network is hidden (does not broadcast SSID)?

Yes, but you need to manually enter the network name (SSID) when generating the QR code. Most generators have a field Hidden network (Hidden Network). After scanning, the receiving phone may ask you to confirm the connection to the hidden network.

Why does it say "Saved, but not connected" after scanning the QR code?

This means that network data is saved, but automatic connection is blocked. Reasons:

- On Android: mode enabled Saving traffic for Wi-Fi.

- On iPhone: the network requires authorization through a browser (for example, in a hotel).

- The router is configured to restrict MAC addresses (you need to add the phone's MAC address to the white list).

Solution: Open the list of saved networks and connect manually.

Does this method work for guest networks (eg Wi-Fi for friends on a router)?

Yes, but only if the guest network uses standard encryption (WPA2/WPA3). If the guest network is isolated or requires portal authorization, the QR code will connect you to the network, but internet access will be blocked until you enter your login/password.

Is it possible to transfer Wi-Fi via QR code from a phone to a laptop?

Yes, if your laptop has a camera and QR code scanning software. Windows 10/11 you can use the app Camera (built-in) or QR Code Scanner from Microsoft StoreOn . Mac the standard application will do Photo.

What should I do if the Wi-Fi QR code doesn't display on my phone?

Possible causes and solutions:

- Old version of Android: update your OS or use an app WiFi QR Generator.

- Custom firmware (For example, LineageOS): check if it supports the function Wi-Fi Direct Share.

- Manufacturer's limitations: on some phones (eg. Nokia or Alcatel) function is disabled. Use the online generator.