1. Learn
  2. NFC Tech
  3. How to encode NFC tags with an iPhone

How to encode NFC tags with an iPhone

21 April 2020 (Updated: 22 June 2023)  |   NFC Tech
iphone held in hand with open encoding app

This is a step by step tutorial to get you started with writing / encoding NFC tags with an iPhone.

If you prefer to watch a video, then watch either our 'Encoding NFC tags with an iPhone 12 or 13' video or, if you have an older iPhone, our 'How to encode tags with an iPhone video'. Just press play or scroll down to get started with our step by step.

If you have an iPhone 14, 13 or 12 :

If you have an earlier iPhone :

Which iPhones can write NFC Tags ?

To write or encode NFC tags, you need to have an iPhone 7 or newer and be running iOS13 or newer. Although the iPhone 6 has NFC for payments, it cannot read or write NFC tags, even with an App.

While the iPhone XR to the newest iPhone 14 can read NFC tags without any additional Apps, you do need to install an App with the iPhones 7, 8 and X. Read our tutorial on how to read NFC tags with an iPhone.

Which NFC tags will work with the iPhone ?

The iPhone supports a very wide range of NFC tags and NFC chips including NFC Forum Type 1, 2, 3, 4 and 5. However, for almost all use cases, Seritag recommend the use of NTAG series chips such as the NTAG213.

Note the difference between an NFC tag and an NFC chip. Every NFC Tag contains three elements - an NFC Chip, an antenna and something to hold it together. So an NFC tag might be a sticker, a disc or a card. The chip inside the tag is the 'brain' and stores the data in it's memory and handles the communication.

When we talk about NTAG213, we are talking about the chip. The physical object - the tag - is something different. So, an 'NTAG213 29mm white face NFC tag' is a 29mm sticky label which contains an NTAG213 chip.

Which iPhone App for writing NFC tags ?

There's a few Apps already available and the number of Apps is growing quickly. Seritag recommend using the NFC Tools App. It's free, reliable, regularly updated and a great App for getting started.

What's the difference between writing and encoding NFC tags ?

There isn't any difference. Both refer to the process of adding data, such as a web link URL, onto the memory space of an NFC tag. 'Encoding' is the technical term for doing this and is used within the NFC industry. 'Writing' is the term everyone else uses !

Encoding an NFC Tag with an iPhone

Step 1 : Open the App

Open the App and select 'Write' to create a new dataset to encode onto your NFC tags.

Open the iPhone NFC App
Step 1 : Open the iPhone NFC App and click Write

 

Step 2 : Select Add a Record

Select 'Add a record' to move to the next screen.

Select Write
Step 2 : Select Add a record

 

Step 3 : Choose your Record

In this example, we are going to encode a simple web link. Select 'URL / URI' to move to the next screen.

The App is capable of doing a wide variety of different encoding types but we'll leave those to you to experiment. 

It’s worthing noting that iPhones cannot read text encoding outside of an app. iPhone users will need to read the NFC tag in an app. Android users however will be able to read an NFC tag encoded with text without an app.

Select Add a Record
Step 3 : Select URL/URI

 

Step 4 : Enter URI Data

This might seem that it's going to start getting all technical, but it really isn't. The URI type is simply the first bit of the URL. You are presented with ten options which represent URLs (web links) starting with www. or without and links to secure servers (SSL) or not.

If you aren't sure and as most browsers can hide this part now, just copy the link from any browser and paste it into a text file or an email. You should now see the full URL and you can decide your URI type. Another option is to simply have a look at the link in your browser. If you have a padlock symbol next to the URL address, then it's secure. If you don't then it's probably not.

We are going to encode to Seritag, which is https://seritag.com. So we will use 'https:// '

We will now enter our URI data, which in our case is seritag.com. As another example, if you were to encode a web link such as https://www.bbc.co.uk, you will have chosen 'https://www.' as you URI type. You would now enter just 'bbc.co.uk' as the URI data.

The important point is that if you add the URI type and the URI data together it should match exactly what you would have if you pasted your URL from the browser into a text file. No additional dots or slashes.

If you get it wrong, don't worry. You can always encode your tags again and correct any errors.

 

Enter URL Data
Step 4 : Enter URL Data

 

Step 5 : Get Ready to Encode

Once you have entered your URL, then tap on 'OK'. Then, click 'Write / 16 Bytes' to encode your NFC tag.

The hotspot on the iPhone is near the top edge of the phone rather than the middle of the back as it is with some Android phones.

You don't need to touch the NFC tag. You just need to be within a couple of centimetres and it will scan.

So, hold the phone over the NFC tag and it will start to encode.

Ready to encode
Ready to encode

 

Step 6: Encoding complete

Very quickly, the tag will encode and you will be presented with a blue tick. You tag has now been encoded. If you want to check what you have encoded, then with an iPhone XS to 14, you can just close the App and hold the phone over the tag to launch your website.

If you have an iPhone 7, 8 or X, then you need an App to read the NFC tag and you can find out how on our how to read NFC tags with an iPhone 7, 8 or X tutorial.

And that's it. You've successfully encoded your first tag.

NDEF message successful
Step 6 : Encode Complete

 

It didn't work. What to do ?

If you followed the steps in this tutorial and your tag didn't encode then check a few things.

There's no on/off settings for NFC within the iPhone. You can't have turned it off as it is always on.

This means that there's almost certainly something not right with your NFC tag. One problem with the iPhone implementation is that it's difficult to tell whether there's a functional problem with the tag or the tag hasn't been prepared correctly. In both instances, the iPhone will not respond.

If you have an Android phone, then you should be able to scan the tag to check if it is responding. Using an App such as NXP's TagInfo will also give you information of the tag type. If the tag is functioning, then you usually encode data on it (without locking) with an Android phone and then encode data with the iPhone.

If the tag isn't reading with an Android phone, then its probably dead and you'll never bring it back to life.

Tag Write / Scan distance with iPhones

The actual tag scan or write distances that you can achieve with an iPhone will be dependent on both the NFC chip and the NFC tag. Generally, a larger NFC tag up to around 45mm will perform better than a smaller NFC tag. Anything less than 20mm and you might start to have a problem writing.

Note that its not quite that simple. There's a difference between the size of the tag and the size of the antenna. On low quality 'ebay' type tags, there can be quite a difference between the physical size of the tag and the antenna size because the manufacturer needs a large tolerance. The antenna size is the important part so even if you have a 25mm tag, if the antenna is only 18mm then it will become difficult to read.

There's also the difference between high quality tags and low quality tags in terms of antenna tuning. NFC tags need to work at a specific frequency. If you think of it like an old FM/AM radio - if you move the dial away from the radio station just a little you can still hear but the quality drops off quickly. The same with an NFC tag. As you move away from the peak tuning, it can still scan but the performance can be much lower.

Higher quality tags have a more reliable tuning and therefore almost always have a better scan distance.

The chip itself can also play a part. Unfortunately, there are 'fake' NFC chips on the market as well so even if they are labelled as a particular type, they might not be at all. The only way around this is to avoid buying tags from ebay or similar and buy them from a specialist. We would say that of course but specialist NFC retailers are usually very careful of chip and quality and can easily tell the difference.

Enjoy !

what is an nfc tag
What is an NFC Tag ?
A quick intro to NFC tags - what they are, how they are used and the different types of tags
options price list
Options price list
Pricing for our encoding, scanning, ID printing and batching services.
encoding services
NFC Tag encoding
Details of our NFC tag encoding services.
id print services
ID printing
How to order ID / QR code printing on your NFC tags.
uid scan service
UID scan
How you can order a UID scan of your NFC tags.

Latest Articles

Industry News
Digital Product Passports - What are they?
Discover the fundamentals of Digital Product Passports: their definition, implementation process, and their compatibility with your products.
Opinion
STMicroelectronics Launches ST25TA-E Authentication NFC Tag
Will STMicroelectronics launch of the ST25TA-E take the crown from NXP's NTAG424 ?
NHS Hangtag connected to ixkio
Seritag News
NHS chooses ixkio to support mental wellbeing of their staff
NFC hangtags powered by ixkio are being used by NHS trust to help wellbeing amongst staff.
Buying Advice
NFC Authentication Pack - Getting Started
Introduction to the Authentication Start Pack
trade show stand
Using NFC
NFC for Events & Trade Shows
What are the best NFC products to use at trade shows, how they work and why are they gaining popularity?
NFC Marketing Starter Pack
Seritag News
New Marketing NFC Starter Pack
New Marketing NFC Starter Pack Available to purchase now!
NFC & QR Code Management
Contact
©Copyright 2023 Seritag.
Seritag is a trading name of TabDesk Ltd, a UK Registered company 10474154. VAT Registration Number GB256328005.
Seritag
£