Back to guides

Write a Love Note to an NFC Tag for Valentine's Day

Hide a tap-to-read love note in a card or bag. Write a text record to an NFC tag, test it on two phones, decide whether to lock it, and tuck it away.

Published

A love note on an NFC tag is a short text record that appears on the screen when your person taps the tag with their phone. You write it once, test it, optionally lock it, and hide the tag in a card or bag. No app to open, no link to click, no account to create.

Valentine's Day is the natural moment for it. A card is nice. A card that quietly says something only you two know is the one that gets kept. Here's the whole job: pick the tag, write the note, test it on iPhone and Android, decide about locking, and hide it.

Quick answer

Write a short text record to an NFC tag with NFCore, read it back on an iPhone and an Android phone, lock the tag only if you are sure of the wording, and stick it flat inside the card. NFC range is short (the NFC Forum gives up to 2 cm), so mark where to tap.

What a text note on a tag is

NFC Forum tags are small memory chips that hold data in a format called NDEF (NFC Data Exchange Format). The NFC Forum describes them as contactless memory cards hosting a formatted data payload, and says most tap-based consumer use cases are built on an NDEF record. When a phone reads the tag, it acts on what the record says.

Text record vs link

Most tags in the wild store a link (a URI record), so the phone opens a web page. A text record is different. Its type is the well-known type "T", and the payload carries a language code followed by the text. Android's developer documentation maps this to RTD_TEXT, the counterpart of RTD_URI for links. If you want the details on encoding, our guide to the text record, UTF-8, UTF-16 and the language code goes through the byte layout.

Why it suits a love note

A text record works without a network connection. No server holds your message, no web page can disappear, and there's no tracking link. The words live on the tag and the phone just shows them. That suits a private note.

Step-by-step

1. Pick the tag and write the note

A sticker tag or a thin card tag both work. Stickers hide easily under a card's artwork or inside a flap. Choose a tag with enough memory for your note: a few sentences is plenty, and a tag such as an NTAG213 has less room than an NTAG215 or NTAG216, so keep the message short if you are not sure of your chip.

Write the note before you touch the tag. Short beats long: one or two lines you'd actually say out loud. Skip names, addresses and anything you would not want a stranger to read (more on that below). Set the right language too, so the text displays properly.

2. Write the text record in NFCore

Open NFCore, choose to write a new record, pick the Text type, and type your note. Hold the back of your phone against the tag until the app confirms the write. On iPhone the NFC antenna sits near the top of the phone, and on Android it is usually near the camera, so slide the phone slowly if nothing happens.

3. Read it back on both phones

Don't seal the tag in the card until you have tapped it on an iPhone and an Android phone, if you can borrow one. Both platforms read NDEF, but they can differ in how they show the text and where the antenna sits. Check that the note displays fully, with the right characters, and that nothing else (like a stray link) opens.

4. Decide whether to lock it

Locking turns the tag read-only. It is one-way: Android's makeReadOnly sets the capability container to read-only and, where the tag supports it, permanently sets the lock bits, and the documentation states the process cannot be reverted. Apple's Core NFC has an equivalent writeLock call that changes the NDEF tag status to read-only. Some tools offer a softer protection that only flags the tag as read-only, which leaves the memory erasable by software that ignores the flag.

The rule is simple. If the card is going into the post and the wording is final, locking stops anyone (including you, by accident) from overwriting it. If you might tweak the note, leave it unlocked. Our guide on how to lock the tag permanently explains the options and what you give up.

5. Hide it in the card or bag

Put the tag flat, close to the surface the phone will touch, and keep it away from metal foil, which can interfere with the read. Under a printed heart or a small mark works well. Add a hint on the card ("tap here") because the working range is only a couple of centimetres. If the card has a thick liner, tape the tag to the inner layer closest to where the phone will land.

Common problems and fixes

The note won't write. The tag may already be locked or read-only. You can check whether a tag is already locked before you spend time on it. Try a fresh tag.

The text looks garbled. This usually points to an encoding or language-code mismatch. Rewrite the record with the app's Text type rather than a custom record, and read it back again.

The phone does not react. Reposition. The tag may sit too far from the surface, under a metal layer, or off the antenna. Move the phone slowly across the card and tape the tag closer to the front.

It works on one phone only. Antenna positions differ and some phone cases get in the way. Mark the best tap spot on the card for whoever receives it.

Doing this on NFCore specifically

NFCore reads and writes NFC tags on iPhone and Android, with no account and no cloud upload. For this job you will use the write screen with the Text record, then read the tag back to verify it. One honest limit on iOS: iPhone supports reading and writing NDEF tags through Core NFC, but not every tag operation that Android allows. If you are building cards for a few people, write and test each one on its own tag.

Get NFCore on the App Store or Google Play, write your note, and read it back once before you seal the card.

Keep it small and personal

Keep it short, and test before you lock. If you like the idea, the same technique works for presents: see how tap-to-read gift tags label a gift with a message.

Frequently Asked Questions

Can the person read the note on an iPhone and an Android phone?

Yes. A text record is part of the NDEF format that both platforms read. Test on both phones before you seal the tag in the card, since the tap spot differs by phone and the range is only about 2 cm.

Should I lock the tag after writing the note?

Only when you are sure of the wording. Locking is one-way: Android's makeReadOnly sets the read-only flag and, where the tag supports it, permanent lock bits that cannot be reverted. Leave it unlocked if you may want to change the note.

Can someone else read my love note?

Anyone who taps the tag with an NFC phone can read an unprotected text record, so keep it sweet and not sensitive. No names, addresses or passwords.

How long can the note be?

It is limited by the tag's memory. Keep it to a few sentences and check your tag's capacity before writing.