NDEF
Data & EncodingNFC Data Exchange Format -- standard data format for NFC-enabled RFID tags to share URLs, text, and other payload types.
NDEF (NFC Data Exchange Format)
NDEF is a lightweight data format defined by the NFC Forum for storing and exchanging structured data on HF RFID tags operating at 13.56 MHz. While EPC Gen2 defines the data architecture for UHF supply chain tags, NDEF is the standard for NFC-enabled tags used in consumer interaction, marketing, access control, and device pairing. It bridges the worlds of RFID infrastructure and smartphone-driven applications.
Message Structure
An NDEF message consists of one or more NDEF records, each carrying a typed payload:
| Field | Size | Description |
|---|---|---|
| Header flags | 1 byte | MB, ME, CF, SR, IL, TNF bits |
| Type Length | 1 byte | Length of the type field |
| Payload Length | 1 or 4 bytes | SR flag determines short (1B) or normal (4B) |
| ID Length | 0 or 1 byte | Optional record identifier |
| Type | Variable | Identifies the payload format |
| Payload | Variable | The actual data |
The Type Name Format (TNF) field classifies the record type. The most common TNF values are:
- 0x01 (NFC Forum well-known): URI records, text records, smart poster records
- 0x02 (MIME media type): Arbitrary MIME payloads (vCard, JSON, etc.)
- 0x04 (NFC Forum external): Custom application-defined types
Common Record Types
URI Record: Stores a URL with a prefix compression scheme (e.g., 0x04 = https://). Tapping an NFC tag containing a URI record opens the URL in the smartphone browser. This is the backbone of NFC marketing tags, product authentication links, and Digital Product Passport access points.
Text Record: Contains a UTF-8 or UTF-16 string with a language code. Used for multi-language product information, Wi-Fi credentials, or plain-text messages.
Smart Poster Record: A container that wraps a URI record with optional title, icon, and action fields. Provides a richer tap experience than a bare URI.
NDEF on RFID Tags
NDEF data is stored in the User Memory area of ISO 14443 or ISO 15693 compatible tags. The NFC Forum defines tag type specifications (Type 1 through Type 5) that map NDEF storage to specific IC architectures:
- Type 2: Based on NXP NTAG family — most common for consumer NFC tags
- Type 4: Based on ISO 14443 — used in smart cards and higher-security applications
- Type 5: Based on ISO 15693 — enables longer read range and larger memory
NDEF and RFID Convergence
The rise of dual-frequency (UHF + NFC) tags creates interesting data architecture questions. A tag might carry an SGTIN in its UHF EPC Memory for supply chain singulation and an NDEF URI record in its NFC memory for consumer engagement. GS1 Digital Link provides the bridge — the NDEF URI can encode the same product identity as the EPC, enabling a single tap to access product information, authentication status, and sustainability data.
Related Content
Часто задаваемые вопросы
The RFID glossary is a comprehensive reference of technical terms, acronyms, and concepts used in Radio-Frequency Identification technology. It is designed for engineers, system integrators, and project managers who work with RFID and need clear definitions of terms like EPC, backscatter, anti-collision, and ISO 18000.
Yes. RFIDFYI provides glossary definitions in 15 languages including English, Korean, Japanese, Chinese, Spanish, Portuguese, Hindi, Arabic, French, Russian, German, Turkish, Vietnamese, Indonesian, and Thai.