---
title: "Write a link to a tag"
description: "Put a website address on a blank tag so that tapping the tag opens the page."
product: "Hex NFC"
canonical: "https://apps.hex.pro/hex-nfc/docs/guide/write-a-link"
markdown: "https://apps.hex.pro/hex-nfc/docs/guide/write-a-link.md"
updatedAt: "2026-10-27T13:32:31Z"
version: "1.0.2"
language: "en"
licence: "CC BY 4.0"
licenceUrl: "https://creativecommons.org/licenses/by/4.0/"
---

# Write a link to a tag

A tag can hold a website address, and a phone that reads the tag is offered that
address. In Hex NFC the address is a URL record. You build the record on your
iPhone, then hold the tag against it once to send the record across.

Before you start, have the tag to hand. If you are not sure a tag can still be
written, scan it first, as [Scan a tag](https://apps.hex.pro/hex-nfc/docs/guide/scan-a-tag.md) describes. The scan opens
the Tag screen. There, **Write** is available on a tag that still takes a write.
It is dimmed on a tag the app reads back as permanently locked, which refuses
every write. Tap **Close** to leave that screen for the home screen, then start
at step 1.

## Write a link to a blank tag

1. **Start a new build**

   On the home screen, tap **Build**. The Tag screen opens with no records, under
   the heading "Empty tag".

2. **Add a URL record**

   Tap **Add record** > **URL**. The record editor opens on the new record.

3. **Enter the address**

   In **URL**, type the address with its scheme in front, for example
   `https://hex.pro`, then tap **Save**. The record appears in the list. The app
   writes the address exactly as you entered it and adds nothing. An address that
   reaches the tag without its `https://` is not a working link. A phone that reads
   that tag has no page to open.

   ![The Tag screen holding one URL record for https://hex.pro/nfc, below the Protection row. Close is at the top left and Write at the top right.](https://apps.hex.pro/_docs/hex-nfc/1.0.2/assets/1eb10d4270b5169b4cb8ec42d27b65522ee6ee031570081c80ab5b8f27034f41.png)

   **After you tap **Save**, the Tag screen lists the new **URL** record, and **Write** at the top right is ready to tap.**

4. **Send the record to the tag**

   Tap **Write**, at the top of the Tag screen. The write screen opens and reads
   "Hold tag against the top of your iPhone". iOS puts its own scan sheet over the
   app, carrying the same line.

   ![The write screen waiting for a tag. Hold tag against the top of your iPhone sits above the iOS sheet, which shows Ready to Scan, the same line and Cancel.](https://apps.hex.pro/_docs/hex-nfc/1.0.2/assets/bd38a69eb9146c94aa91648c91ab7809d05a35633a097c84ecdca8da1a9b4f02.png)

   **The write screen's line stays visible above the iOS scan sheet, which repeats it and carries its own Cancel.**

5. **Hold the tag against your iPhone**

   Rest the top edge of your iPhone on the tag and keep it there. The screen reads
   "Writing…", then "Verifying…". Nothing in this step locks the tag. You can write
   over it again as often as you like. The success wording, "Locked in", says only
   that the records went across and read back intact. The screen closes on its own
   and the Tag screen comes back.

Writing replaces everything the tag held. If you want to keep some of what is
already on a tag, scan it first. Edit that list instead of building a new one,
as [Edit a tag's records](https://apps.hex.pro/hex-nfc/docs/guide/edit-records.md) describes.

> **Tip: Any record type writes the same way**
>
> A link is the most common thing to put on a tag, and it is one of 13 kinds of
> record you can add. [Record types](https://apps.hex.pro/hex-nfc/docs/guide/record-types.md) lists them all, and the
> steps above are the same whichever one you choose.

## What the app checks before it says it worked

The app never takes the tag's word for a write. It sends the records, reads the
tag again and compares what came back with what it sent. "Locked in" means the
tag was read back holding exactly what you wrote.

One state stops the write instead of finishing it. On a tag whose password
gates its records, the write screen reads "Tag is protected" and asks for that
password before anything is written. Type the password into **Tag password
(4 bytes)** and tap **Unlock & write**. Then hold the tag against the top of
your iPhone again. That second tap is the one that authenticates and writes.
The app skips the prompt when it already holds the password from the time you
protected the tag. The write goes through on the one tap. If you do not
know the password, tap **Cancel**: your records stay on the Tag screen. See
[Tag protection](https://apps.hex.pro/hex-nfc/docs/guide/tag-protection.md) for what a password does to a tag.

A tag with no header for records to sit in is not stopped before the write. The
app sends the records, the read-back finds nothing readable on the tag, and the
write ends on "Write failed".

What keeps you out of that is a scan. On a tag the app scanned as unformatted,
the Tag screen shows "This tag isn't formatted" above the record list. Under it
the screen reads "It has no Capability Container, so records written now won't
be readable. Format it first." Tap that notice to open the Operations screen and
format the tag. A tag you started from **Build** has no scan behind it, so the
Tag screen has nothing to warn you with.

Records you have built are not lost to the repair. Tap the menu button at the
top right of the Tag screen, then **Operations…**. The Operations screen opens
over the Tag screen. Your records are still there when you close it.
See [Erase or format a tag](https://apps.hex.pro/hex-nfc/docs/guide/erase-or-format.md).

To stop a write before it starts, tap **Cancel** on the write screen while it is
still waiting for a tag. Your records stay on the Tag screen. Tapping Cancel on
the iOS sheet before any tag is read does the same. With no tag against your
iPhone, the iOS sheet closes by itself after about a minute, and the write
screen reads "No tag found" with **Close** and **Try again**.

## If the write fails

A write that fails, or a read-back that differs from what was sent, ends on
"Write failed" with the reason under it. From there:

- To send the same records again, tap **Try again**. You keep anything you have
  already typed.
- To go back to the Tag screen without writing, tap **Close**.

A tag that keeps refusing may be the wrong kind for what you are writing.
[Tags that work with Hex NFC](https://apps.hex.pro/hex-nfc/docs/guide/tags-that-work.md) says which chips the app
recognises, and
[the chip support matrix](https://apps.hex.pro/hex-nfc/docs/developer/chip-support-matrix.md) has the detail
per chip.

## See also

- [Edit a tag's records](https://apps.hex.pro/hex-nfc/docs/guide/edit-records.md)
- [Save a tag as a preset](https://apps.hex.pro/hex-nfc/docs/guide/presets.md)
- [If a tag does not scan or write](https://apps.hex.pro/hex-nfc/docs/guide/troubleshooting.md)
