Smart Card Data Encoding Formats: TLV, APDU and NDEF on Contactless Cards

Views :
Update time : 2026-09-27

Smart Card Data Encoding Formats: TLV, APDU and NDEF on Contactless Cards

Publish Date: 2026-09-27

A smart card is only as useful as the data you put on it and the rules for reading it back. Under the plastic sit three ideas that decide how an application talks to the chip: TLV (the tagged data layout), APDU (the command envelope sent over the air) and NDEF (the friendly record format phones understand). Confusing them leads to cards a terminal cannot parse or a phone cannot open. This article explains TLV, APDU and NDEF so you can choose the right encoding format for your contactless card.

Layout, Command and Message

TLV (Tag-Length-Value) is the low-level data structure inside the chip: each piece of information is labeled with a tag, given a length, then carries its value, so parsers can walk a file without fixed offsets. APDU (Application Protocol Data Unit) is the command wrapper — the ISO 7816 envelope of CLA, INS, P1, P2 and data that a reader sends to invoke an instruction such as read, write or authenticate. NDEF (NFC Data Exchange Format) sits on top for NFC: a standardized message of records (text, URI, MIME) that an Android or iOS phone reads automatically and turns into a web link or action. In practice a card stores TLV files, is driven by APDU commands, and exposes an NDEF message through the NFC Type 4 tag abstraction so both terminals and phones work.

Smart Card Data Encoding Formats: TLV, APDU and NDEF on Contactless Cards

Contactless card data layers, from TLV files and APDU commands inside the chip to the NDEF message a phone reads on tap.

What Each Layer Does

TLV and APDU

TLV organizes stored data into self-describing fields; APDU is the instruction set that reads, writes and secures them. Together they power payment, ID and access applets where the terminal controls the dialog and cryptography.

NDEF

NDEF is the phone-friendly layer that maps a tap to a URL, contact or action with no custom app. Ideal for marketing, pairing and lightweight interaction; relies on TLV/APDU underneath on a Type 4 tag.

Comparison Parameters

Parameter Value
Layer TLV: data; APDU: command; NDEF: message
Reader TLV/APDU: terminal; NDEF: phone
Crypto control TLV/APDU: strong; NDEF: minimal
Ease of use TLV/APDU: expert; NDEF: plug-and-play
Best use TLV/APDU: payment/ID; NDEF: interaction

Designing the right encoding format for your card?

Contact us for TLV, APDU and NDEF encoding and personalization guidance matched to your terminals, phones and security needs.

Email: info@zowinda.com

WhatsApp: +86 186 2085 0485

Related News
Read More >>
Automatic 3D Curved Antenna Em Automatic 3D Curved Antenna Em
10 .07.2026
Explore the Automatic 3D Curved Antenna Embedding Machine: Next-Generation RFID Antenna Manufacturin...
Automatic Module Testing Machi Automatic Module Testing Machi
10 .07.2026
Explore the Automatic Module Testing Machine: Comprehensive IC Module Electrical Testing Equipment f...
Auto Envelope Sealing and Labe Auto Envelope Sealing and Labe
10 .07.2026
Explore the Auto Envelope Sealing and Labeling Machine: High-Speed Card Mailing Equipment for Mass D...
Automated Card Sealing Labelin Automated Card Sealing Labelin
10 .06.2026
Explore the Automated Card Sealing Labeling Sorting Machine: Complete High-Volume Card Mailing and F...
Leave Your Message