How to Write a Wi-Fi Password to an NFC Tag: A Step-by-Step Guide

Imagine this: guests come over, and the first question they ask is, "What's your Wi-Fi password?" Instead of dictating complex combinations of characters or writing them down, you can simply ask your guests to hold their smartphones to a special sticker on the wall. NFC (Near Field Communication) technology instantly transfers wireless network information to the phone, automatically initiating the connection. This is not only convenient but also looks modern, saving the host from unnecessary hassle.

Writing data to a chip takes just a few minutes and doesn't require any advanced technical knowledge. All you need is a smartphone with an NFC module and the tags themselves, which cost pennies. In this article, we'll cover in detail how to turn an ordinary plastic circle or sticker into a smart key for your home network, which apps to use, and how to secure your network from unwanted activity.

What are NFC tags and how do they work with Wi-Fi?

NFC is a near-field communication technology that enables data exchange between devices within a range of 10 centimeters. In the context of a home network, we use passive tags that don't have their own power source. They are activated by your smartphone's electromagnetic field, read the code stored on them, and transmit it to the phone's operating system. For Wi-Fi, this means transmitting a special string containing the SSID (network name), password, and encryption type.

Passive tags Tags are ideal for this task because they're inexpensive, don't require charging, and can retain data for years. They come in a variety of form factors, from thin stickers that can be hidden under a book cover to stylish keychains or wooden plaques for wall mounting. It's important to understand that the tag itself doesn't provide internet access; it merely acts as a data carrier, simplifying network access.

⚠️ Please note: NFC tags cannot transmit large amounts of data or complex scripts. Their purpose is to transmit a single, specific command or link, in this case, wireless network connection settings.

Modern Android and iOS smartphones (starting with the iPhone XS and newer) can read these tags without installing additional software if they already have a standard data format. However, to initially record the information, you will still need a special app that will allow you to generate the correct format. string format and implement it into the chip.

Choosing the Right NFC Tags: Types and Features

When purchasing tags, it's important to pay attention not only to their appearance but also to the type of chip used. There are many options on the market, but for recording Wi-Fi data, the most versatile and recommended chips are the 1000-series. NTAG213, NTAG215 And NTAG216They support NDEF (NFC Data Exchange Format) standards, ensuring compatibility with the vast majority of smartphones.

The difference between the models lies in memory capacity and read/write speed. The minimal memory provided by the NTAG213 chip (approximately 144 bytes of usable memory) is sufficient for simple Wi-Fi password transmission. Higher-capacity models, such as the NTAG216, have 888 bytes of usable memory, which can be useful if you want to store additional data on the tag, such as a link to a business card or a social media profile.

  • 📱 NTAG213 — an ideal budget option exclusively for transferring passwords and links.
  • 💾 NTAG215 — the golden mean, often used for Amiibo and storing larger amounts of data.
  • 🚀 NTAG216 — the highest memory in the series, suitable for complex automation scenarios.

The form factor is also worth considering. If you plan to attach the tag in a visible location, such as on the front door or in the living room, it's better to choose a decorative sticker or keychain. For discreet use, thin stickers that can be applied to the back of the router or under a tabletop are suitable. The main thing is to ensure easy access to the tag's antenna area so that your phone can easily detect the signal.

Preparing your smartphone and installing the necessary applications

Before you start recording, make sure the NFC module on your smartphone is activated. On Android, this is usually done via Settings → Connections → NFC, where you need to toggle the switch to the "On" position. On iPhones released after 2018, NFC is enabled by default in the background and does not require manual activation for reading.

To record data, you will need a writer app. Android device owners are recommended to install NFC Tools or NFC Tasks — these are powerful and time-tested utilities. iOS users also have access to NFC Tools, which offers virtually identical functionality. These apps not only allow you to record Wi-Fi profiles but also perform other actions, such as launching apps or sending messages.

After installing the app, launch it and find the recording section. It's usually labeled "Record" or "Write." In the menu of recording types, select "Wi-Fi Network." Here, you'll need to enter the exact name of your network (SSID) and password. Be careful: capitalization is important; any error in a character will prevent the guest's phone from connecting.

⚠️ Note: App and operating system interfaces may vary. If you don't see "Wi-Fi" in the list, look for the "Add Record" option, then select "Network."

Step-by-step instructions: how to write a password on a tag

The recording process is extremely simple and takes just a few seconds. Open your chosen app, for example, NFC Tools, and go to the "Entry" tab. Click the "Add Entry" button and select "Wi-Fi Network" from the list that appears. A form will open where you'll need to enter your network details.

In the "SSID" field, enter the name of your wireless network. In the "Password" field, enter the password. Pay attention to the "Encryption" field - for home networks, this type is most often used. WPA/WPA2If you have an open network without a password, select "None," but this is highly discouraged from a security standpoint. After filling in all the fields, click "OK" or "Save."

☑️ Check before recording

Completed: 0 / 4

The app will now enter recording standby mode. Bring the top of your smartphone (where the NFC antenna is located) close to the tag. Hold the device still. You'll feel a slight vibration or hear a beep, and a successful recording message will appear on the screen. If the recording fails, try slightly repositioning your phone or removing its case if it's too thick.

After a successful operation, the app will prompt you to read the tag to ensure the data is correct. Tap "Read" and bring your phone closer to it again. If the screen prompts you to connect to the network, everything was successful. This tag will now act as a trigger for connecting any compatible device.

📊 What type of NFC tags do you plan to use?
Stickers NTAG213
NTAG215 Keychains
Wooden planks
Tablet keys
I don't know yet

Features of use on Android and iOS

Although the NFC standard is the same, Android and iOS operating systems process the received data differently. Android smartphones typically prompt a pop-up notification asking "Connect to Wi-Fi network?" immediately after reading a tag with a Wi-Fi profile. The user simply taps "Yes," and the phone automatically enters the password and establishes a connection. This works on most devices running Android 10 and later, without the need for additional apps.

The situation with Apple devices is a bit different. iPhones starting with the XS model support background NFC reading, but automatically connecting to Wi-Fi without opening an app often requires a configured command in the app. Teams (Shortcuts). However, if the tag is written in the standard NDEF format, the iPhone may simply display a notification prompting you to connect, similar to Android. In some cases, iOS may require you to unlock the screen before performing the action.

It's important to note that older iPhone models (X and later) don't support background NFC for user scenarios and require a dedicated app to read the tag. Therefore, when creating tags for guests, keep in mind that you may need to explain to owners of older devices that this feature may not work automatically for them.

Characteristic Android iOS (iPhone XS and later) iOS (iPhone X and later)
Background reading Yes Yes No (requires app)
Auto-connection Yes (via notification) Yes (via notification/Commands) Only via the app
Required software Not required for reading Not required for reading An NFC reader is required
Compatibility High High Limited

Security and protection from unauthorized access

Writing a password to an NFC tag carries certain risks that must be considered. You're essentially bringing the key to your network into the physical world. Anyone with an NFC-enabled smartphone within a few centimeters of your tag can access the internet. Furthermore, an attacker can read the tag's data and copy it to their phone, gaining permanent access even after they leave your home.

To minimize risks, it is recommended to create a safe environment for guests guest network (Guest Network) on your router. This is an isolated network that provides internet access but prevents guest devices from accessing your personal files, printers, or router settings. Write down the password for the guest network on a label. Most modern routers allow you to easily enable this feature through the web interface at 192.168.0.1 or 192.168.1.1.

⚠️ Important: Don't write down the password for the main network where your smart cameras, NAS storage, and personal computers are located on the tag. Use a separate SSID for guests.

Some tags also support write-lock functionality. Once you've recorded data, you can permanently lock the tag through the app. This will prevent anyone else from overwriting the contents, but it won't hide the password already recorded from being read. For maximum privacy, place tags in locations accessible only to visually controlled guests.

Advanced use cases and automation

NFC tags' capabilities go beyond simply transmitting passwords. Using automation apps such as Tasker (for Android) or built-in app Teams (for iOS), you can create complex scenarios. For example, a single tag can not only connect your phone to Wi-Fi, but also automatically turn on Bluetooth, dim the screen, and launch a music app.

On iOS, users can create a "My Home" command that will be executed when the sticker is tapped. This command can include actions such as "Connect to Wi-Fi," "Enable Do Not Disturb Mode," or "Send a message to your spouse when they arrive." This turns a simple sticker into a powerful smart home control tool.

What to do if the label is not readable?

If the tag is no longer readable, check that you haven't attached it to a metal surface. Metal can shield the signal. Also, make sure your phone case doesn't contain any metal plates or magnets that could interfere with the antenna. In some cases, resetting the NFC module (turning it off and on in the settings) can help.

You can also use tags to quickly switch profiles. Place one tag by the entrance with the "Home" profile (Wi-Fi on, volume medium), and another by your bed with the "Night" profile (Wi-Fi off, alarm set to 7:00 AM, airplane mode on). This will eliminate the need to manually change dozens of settings every evening.

Frequently Asked Questions (FAQ)

Is it possible to record a Wi-Fi password on an iPhone without third-party apps?

For readings There is no need for third-party apps on iPhone for tags; the system works natively. However, for records To write data to an empty tag, you will need an app in any case, since iOS does not provide a built-in tool for users to write arbitrary data to NFC tags.

Will the tag work if the phone is in a case?

In most cases, yes. Case thicknesses of up to 3-5 mm usually don't interfere with NFC. Issues may only arise with very thick protective cases or cases with a metal insert or magnetic clasp on the back.

How many times can an NFC tag be rewritten?

Standard NTAG series tags are rated for approximately 100,000 write cycles. This is more than sufficient for personal use. However, if you write a lock command to the tag, the data will no longer be able to be modified.

Will the tag work without internet?

Yes, the tag itself operates autonomously and doesn't require power or internet. However, for the guest's phone to actually connect to the network after reading the tag, your router must, of course, be turned on and have an active connection to your ISP.

Is it possible to get infected with a virus through an NFC tag?

The risk is minimal. The NFC tag itself cannot execute code; it only transmits text or a link. The only potential danger is a link leading to a malicious website. Modern smartphones always ask for confirmation before clicking a link or connecting to a network, providing additional protection.