正在加载,请稍候…

WiFi QR Code Generator: Share Network Credentials Instantly

Generate a QR code for your WiFi network in seconds. Guests scan it to connect without typing the password. Supports WPA2, WPA3, and open networks. Download as PNG for printing or display.

What Is a WiFi QR Code?

A WiFi QR code encodes your network credentials in a standardized format that allows smartphones to automatically connect to your WiFi network by simply scanning the code. No more reading out complex passwords character by character — one scan connects instantly.

WiFi QR Code Format

The WiFi QR code format (defined in the ZXing library specification):

WIFI:T:WPA;S:NetworkName;P:MyPassword;;

Parameters:

  • T: Security type (WPA, WEP, or empty for open networks)
  • S: SSID (network name)
  • P: Password
  • H: Optional hidden SSID flag (true or false)

Multiple values use semicolons as separators, and the string ends with ;; (double semicolon).

Special Character Escaping

If your SSID or password contains special characters, they must be escaped with a backslash:

  • \ (backslash) → \\
  • ; (semicolon) → \;
  • , (comma) → \,
  • " (double quote) → \"

Example with special characters:

SSID: My "Network" #1
Password: P@ss;word
Format: WIFI:T:WPA;S:My \"Network\" #1;P:P@ss\;word;;

Security Types

Type String Notes
WPA/WPA2/WPA3 Personal WPA Standard home/office WiFi
WEP (deprecated) WEP Insecure, avoid using
Open/No password (empty T) Public networks

WPA3 uses the same QR format as WPA2 — the WPA type covers all WPA variants.

Platform Support

iOS

iPhone cameras (iOS 11+) natively scan WiFi QR codes. A notification appears offering to join the network.

Android

Android 10+ supports WiFi QR codes in the native camera app. Earlier Android versions require a QR scanner app (like Google Lens).

macOS

macOS cameras do not natively support WiFi QR codes (as of 2024). Requires a third-party app.

Hidden SSIDs

For networks with hidden SSIDs (not broadcasting their name):

WIFI:T:WPA;S:HiddenNetworkName;P:MyPassword;H:true;;

The H:true parameter tells the device to connect to a hidden network with this exact SSID.

WiFi QR Codes for Guest Networks

WiFi QR codes are especially valuable for:

  • Home: Print and display for guests to easily connect
  • Offices: Post at reception or in meeting rooms
  • Restaurants and cafes: Display on tables or at the counter
  • Hotels: Place in rooms and common areas
  • Events: Display at registration or on event materials

A well-designed QR code with your network name and logo creates a professional impression while simplifying connectivity.

Security Considerations

Physical Security

Anyone who photographs your WiFi QR code gets your password. Place QR codes thoughtfully:

  • Guest network QR codes in guest areas only
  • Don't display your main network credentials publicly
  • Consider separate guest networks with limited access

Password Visibility

Unlike traditional password sharing (where the password is visible), QR codes allow sharing credentials without the password being legible to bystanders.

Rotation

When you change your WiFi password, update your QR code. Use a QR code management service or reprint physical codes.

Design Tips for Printed WiFi QR Codes

Size

  • Minimum 2cm × 2cm for typical scanning distances
  • 5cm × 5cm or larger for posters

Error Correction

Use H (High, 30% recovery) level to accommodate logo overlays and potential damage on printed materials.

Include Text

Always accompany QR codes with:

  • Your network name (SSID)
  • A brief instruction ("Scan to connect to WiFi")
  • Your brand/logo if appropriate

Background and Colors

High contrast required — dark code on light background. Avoid red on green, blue on black, or other low-contrast combinations.

Using the WiFi QR Code Generator

Our tool:

  1. Enter network name (SSID)
  2. Select security type (WPA/WPA2, WEP, or open)
  3. Enter password (hidden for privacy)
  4. Toggle hidden network option if applicable
  5. Generate QR code instantly
  6. Download as PNG or SVG for printing or digital display

The generated QR code works with both iOS and Android devices, allowing instant network connection without typing the password.