TR

Home / Guides / How to Create a WhatsApp and Wi-Fi QR Code: Step-by-Step Guide

How to Create a WhatsApp and Wi-Fi QR Code: Step-by-Step Guide

Updated: October 13, 2026 · AracMerkezi

▶ Open Wi-Fi QR Code Generator

If you are tired of telling guests the Wi-Fi password one by one, or you want customers to message you without saving your phone number to their contacts, a QR code is a very practical solution. All it takes is pointing the phone camera at the code: an offer to join the Wi-Fi network, or a WhatsApp chat with a preset message, appears on the screen. In this guide we explain the logic behind Wi-Fi QR codes and WhatsApp QR codes, how to create them, where to use them, what to watch out for in terms of security, and which tests to run before printing. For a general QR code guide, you can also check out our article How to Create a QR Code?.

Important note: This article is for general information only. Anyone who can see a QR code containing a Wi-Fi password can connect to the network; the decision to share it is yours.

What is a QR code used for?

A QR code is a two-dimensional barcode with text embedded in it. The phone camera reads this text and suggests an action depending on its type. If the text is a web address, the browser opens; if it is Wi-Fi information written in a specific format, an offer to join the network appears. In other words, the "magic" of a QR code lies in the format of the text inside it. Once a code has been generated, the reader app displays the content exactly as it is, so it is very important that the content is written correctly.

How does a Wi-Fi QR code work?

The text inside Wi-Fi QR codes uses a standard format:

WIFI:T:WPA;S:network_name;P:password;;

The fields mean the following:

For example, if the network name is EvAgi, the password is misafir2024 and the security type is WPA, the content of the code is: WIFI:T:WPA;S:EvAgi;P:misafir2024;; This text is converted into a QR code, and when the phone reads it, it offers to connect to the network. If the network name or password contains special characters such as a semicolon, comma, colon, double quote or backslash, an escape character must be placed in front of them; the Wi-Fi QR Code Generator tries to do this for you, but it is still worth testing the resulting code. The standard also has a separate field for hidden (non-broadcasting) networks; however, some older phones may not support this option.

### Creating a Wi-Fi QR code step by step

  1. Open the Wi-Fi QR code generator page.
  2. Type the network name exactly as it appears on your modem, paying attention to uppercase and lowercase letters.
  3. Enter the password. While typing it, watch out for look-alike letters and digits (0 and O, l and 1).
  4. Select the security type; for most modern modems, WPA/WPA2 is the right choice.
  5. Generate the code and download it as an image.
  6. Scan it with your own phone and check whether it connects to the network.

The tool does the processing in your browser; your network details are not sent to a server.

How does a WhatsApp QR code work?

A WhatsApp QR code is really just an ordinary QR code that contains a wa.me link. The link format is as follows:

https://wa.me/905321234567

The number here is written with the country code, with no plus sign, zero or spaces at the beginning. Turkey's country code is 90. So the number 0532 123 45 67 becomes 905321234567, which starts with 90 and drops the leading zero. If it is mistakenly written as 0905... or +90 5..., the link will not work.

### Adding a preset message

By adding a text parameter to the end of the link, you can make the chat open with a ready-made message:

https://wa.me/905321234567?text=Merhaba%20bilgi%20almak%20istiyorum

(The text is Turkish for "Hello, I would like some information.") Spaces, Turkish characters and punctuation marks are written with special codes in the link; for example, a space becomes %20. The WhatsApp QR Code Generator does this encoding automatically, so you only type the number and the message. Keeping the message short and clear is a good habit, such as "Hello, I'd like information about the product."

### Creating a WhatsApp QR code step by step

  1. Type the phone number with the country code, using digits only (for example, 905321234567).
  2. If you like, add a preset message.
  3. Generate and download the code.
  4. Scan it with a phone and check that the chat opens with the correct number and the correct message.

If you use a business number instead of a personal one, the same wa.me format also works with a WhatsApp Business account.

Use cases

Security tips

In a Wi-Fi QR code, the password is stored in plain text. Anyone who views the code can get onto your network; someone who photographs the code can also use it later. So keep the following in mind:

For WhatsApp codes, remember that your number will be public. If you do not want to share your personal number, it is safer to use a separate business number. Also, because people can be redirected with fake QR codes, problems can arise if someone sticks their own code over yours, or if you stick yours over codes placed by others; check posted codes from time to time.

Print size and contrast

Readability is the most important factor in a QR code doing its job:

Testing the QR code with a phone

Before printing the code, follow these steps:

  1. Scan it with both an Android phone and an iPhone; if possible, try different camera apps.
  2. For a Wi-Fi code, confirm that you can actually connect to the network and open a page on the internet.
  3. For a WhatsApp code, check that the chat opens with the correct number and that the preset message looks right.
  4. Scan the printed copy from the real distance, under real lighting.
  5. For codes containing a link, review the address with the URL Checker tool and check for typos.

Common mistakes

Conclusion

Wi-Fi and WhatsApp QR codes work when a short piece of text is written in the right format. If you fill in the right fields and apply the security and print tips, you end up with a solution that saves time for both your guests and your customers.

Related tools

You can generate your codes with the Wi-Fi QR Code Generator and the WhatsApp QR Code Generator, and use the QR Code Generator tool for any text or address. Review links with the URL Checker. This content is for general information; responsibility for sharing network and personal information is yours.

Frequently asked questions

How does a Wi-Fi QR code work?

A QR code carries the network name, password and encryption type in a standard text format. When the phone camera reads the code, it offers to join the network; you do not have to type the password by hand.

What is a WhatsApp QR code for?

A person who scans the code opens a WhatsApp chat with your phone number directly. The number must be written with the country code, without a leading 0 and without spaces.

Is my information stored when I create a QR code?

The tool generates the code in your browser. Even so, do not share a code containing your Wi-Fi password in a public place; anyone who sees the code can learn the password.

Tools mentioned in this guide

More guides

This article is for general information only and is not legal, financial or medical advice. We are not an official institution.