Free NFC Capability Container (CC) Calculator

Build or decode NFC Forum Capability Container (CC) bytes and TLV wrappers across Type 2 (NTAG213/215/216 Page 03h OTP), Type 4 (NTAG 424 DNA & MIFARE DESFire EV2/EV3 ISO E103h file) and Type 5 (ICODE SLIX2 / SLIX Block 00h), check exact usable NDEF byte ceilings, and catch OTP or read-access traps before encoding a batch. Runs in your browser with no uploads or storage.

Updated

Mode
Quick presets:

Capability Container bytes & NDEF ceiling

NTAG213 (Type 2) (T2T): 4-byte CC → up to 137 B NDEF message (132 chars after https://www.).

Page 03h (Bytes 0–3, OTP)

E1 10 12 00

Max NDEF message payload

137 B (in 144 B area)

Single URI record ceiling

132 chars after https://www.

Page 04h: 01 03 A0 0C 34 (Lock Control TLV) · NDEF TLV (03h) at Page 05h Byte 1

01 03 A0 0C 34 03 [Len] [NDEF…] FE

Offset / field Hex NFC Forum interpretation
Byte 0 E1 Magic number — NFC Forum NDEF data present (00h = unformatted)
Byte 1 10 Type 2 Mapping Version 1.0 (major 1h, minor 0h)
Byte 2 (TMS) 12 18 × 8 = 144 B NDEF data area (144 B physical user memory)
Byte 3 (Access) 00 Read free (0h) · Write free (0h)

Want NFC cards, stickers or wristbands delivered NDEF-encoded and read-verified?

Proud Tek manufactures NFC cards, NFC stickers, NTAG 424 DNA labels, NFC silicone wristbands and MIFARE DESFire EV3 cards in Shenzhen. Every pre-encoded piece is read back after programming and shipped with a data report, plus an Excel, CSV or XML UID-to-printed-number file on numbered runs via our RFID & NFC encoding service.

Standard blank samples are free; custom-printed or pre-encoded samples carry a setup fee, confirmed in the quotation. Never send live passwords or AES keys in an inquiry form.

How Type 2, Type 4 and Type 5 Capability Containers differ

Before iOS Core NFC or Android’s tag-dispatch stack parses an NDEF record (built in our Free NDEF Generator), the OS checks a mandatory header called the Capability Container (CC). Each NFC Forum tag architecture places and formats that header differently:

  • NFC Forum Type 2 (NTAG213 / 215 / 216, ISO/IEC 14443A): 4-byte OTP header in Page 03h (E1 10 [TMS] [Access]), where TMS × 8 declares the NDEF data area in bytes. On factory NTAG213, Page 04h starts with a 5-byte Lock Control TLV (01 03 A0 0C 34), so the NDEF TLV (03h) begins at Page 05h Byte 1.
  • NFC Forum Type 4 (NTAG 424 DNA & formatted MIFARE DESFire EV2/EV3, ISO/IEC 14443-4): ISO/IEC 7816-4 application (DF Name D2 76 00 00 85 01 01) containing dedicated CC File E103h. Instead of an 8-byte multiplier, E103h specifies APDU chunk limits (MLe / MLc) and a 6-byte NDEF File Control TLV (04 06 E1 04 [Size_MSB] [Size_LSB] [Read] [Write]) pointing to NDEF File E104h (where a 2-byte big-endian NLEN precedes the message, with no 03h TLV wrapper).
  • NFC Forum Type 5 (ICODE SLIX2 / SLIX, ISO/IEC 15693): 4-byte header in Block 00h (E1 [Ver/Acc] [MLEN] [Features]) for memories up to 2,040 bytes, or an 8-byte header across Blocks 00h–01h (Byte 2 = 00h, 16-bit MLEN in Bytes 6–7) above 2,040 bytes, followed by a 03h NDEF Message TLV starting right after the CC.

Reference Capability Containers across NXP tag families

Preset Type CC hex Max NDEF Notes
NTAG213 Factory (E1 10 12 00) T2T E1 10 12 00 137 B NXP NTAG213 Page 03h CC (12h × 8 = 144 B) + factory 5-byte Lock Control TLV (01 03 A0 0C 34) → 137 B max NDEF message.
NTAG215 Read-Only (E1 10 3E 0F) T2T E1 10 3E 0F 492 B NTAG215 Page 03h CC with write-access nibble 0Fh (read-only NDEF): 3Eh × 8 = 496 B NDEF area → 492 B max NDEF message.
NTAG 424 DNA 32B CC (00 17 20…) T4T 00 17 20 01 00 00 FF 04… 254 B NT4H2421Gx factory File 01 (E103h): CCLEN 0017h, MLe 0100h, MLc 00FFh, E104h 256 B NDEF TLV + E105h 128 B Proprietary TLV → 254 B max NDEF.
DESFire EV3 2 KB Type 4 (AN11004) T4T 00 0F 20 01 00 00 FF 04… 2,046 B 15-byte ISO E103h CC file inside AID D2760000850101h pointing to a 2,048 B E104h NDEF file (read-only FFh) → 2,046 B max NDEF.
ICODE SLIX2 Type 5 (E1 40 27 01) T5T E1 40 27 01 308 B Block 00h 4-byte Type 5 CC for active ICODE SLIX2: MLEN = 27h (39 × 8 = 312 B T5T_Area) + MBREAD = 01h → 308 B max NDEF.

Four Capability Container bugs that cause silent smartphone taps

  1. Unformatted delivery stock (00 00 00 00 or missing D2760000850101h): Blank MIFARE DESFire cards and uninitialised ISO 15693 tags ship without a CC or NDEF TLV. Specify "NDEF-formatted" or "pre-encoded" on your purchase order if end users will tap with phones immediately.
  2. Bitwise-OR corruption in Type 2 Page 03h: Because Page 03h is OTP, writing a larger TMS byte onto a smaller NTAG chip sets extra 1 bits permanently, making phones read non-existent pages and fail.
  3. Restricted ReadAccess on Type 4 (80h–FEh): On NTAG 424 DNA (size SUN offsets in our NTAG 424 DNA SDM Calculator) or DESFire Type 4, if ReadAccess in E103h is non-zero, iOS and Android background readers refuse to open the URL; keep File 02 (E104h) free-read (00h) and gate writes or proprietary files with AES keys.
  4. Ordering MIFARE Ultralight or Classic for consumer smartphone taps: MIFARE Classic is not supported by Apple Core NFC NDEF background reading, and MIFARE Ultralight is supplied for dedicated reader and ticketing systems rather than app-free phone taps. Specify NTAG213 / 215 / 216 or NTAG 424 DNA whenever guests tap with their own phones.

Questions about NFC Capability Containers & NDEF formatting

Why does a blank NFC card or wristband do nothing when tapped on an iPhone?

iPhone XS and later scan in the background for a formatted NFC Forum tag (Type 1–5) carrying a valid Capability Container (CC) followed by an NDEF URI record. On an unformatted tag whose Page 03h or Block 00h reads 00 00 00 00 — or on a blank MIFARE DESFire card with no D2 76 00 00 85 01 01 NDEF application — iOS and Android see no E1h magic number or Type 4 CC file and stay completely silent.

Why does NTAG213 hold a 137-byte NDEF message when Page 03h declares 144 bytes (12h × 8)?

Per NXP NTAG213/215/216 Rev. 3.2 Table 5, factory-initialised NTAG213 chips start Page 04h with a 5-byte Lock Control TLV (01 03 A0 0C 34) that tells Type 2 writers where the Dynamic Lock bytes sit, leaving 139 bytes from Page 05h Byte 1 onward. Subtracting 2 bytes for the NDEF TLV tag (03h) and 1-byte length leaves 137 bytes for the NDEF message (132 characters after https://www.; the Terminator TLV FEh is omitted when the NDEF TLV reaches the final byte per NFC Forum T2TOP 1.1). NTAG215 (3Eh × 8 = 496 B → 492 B) and NTAG216 (6Dh × 8 = 872 B → 868 B) omit that initial Lock Control TLV.

Why can writing the wrong Page 03h CC byte permanently break an NTAG213 tag?

Page 03h on NFC Forum Type 2 tags is One-Time Programmable (OTP): each bit can transition from 0 to 1, never back from 1 to 0. If a script writes NTAG216’s TMS byte (6Dh = 0110 1101b) onto an NTAG213 already holding 12h (0001 0010b), bitwise OR produces 7Fh (1,016 bytes). Smartphones then try to read pages far beyond Page 2Bh and abort with a tag-lost error.

How does NTAG 424 DNA’s Type 4 Capability Container differ from NTAG21x?

NTAG 424 DNA (NT4H2421Gx) is an ISO/IEC 14443-4 / 7816-4 Type 4 Tag rather than a flat page-mapped Type 2 Tag. Smartphones select DF Name D2 76 00 00 85 01 01, read File 01 (EF E103h, CCLEN = 0017h in a 32-byte file), parse the NDEF File Control TLV (04 06 E1 04 01 00 00 00), and then select File 02 (EF E104h, 256 bytes: 2-byte big-endian NLEN + up to 254 bytes of NDEF message).

Does setting WriteAccess = 0Fh or FFh in the Capability Container cryptographically lock the tag?

No. On Type 4 (WriteAccess = FFh) and Type 5 (Byte 1 = 43h), the CC access bits are an advisory flag obeyed by compliant NFC Forum apps; a raw APDU or ISO 15693 WRITE_SINGLE_BLOCK command can still overwrite memory unless you lock the file/blocks at the IC hardware level (AES-128 file access rights on NTAG 424 DNA / DESFire, Static & Dynamic OTP lock bits or 32-bit PWD on NTAG21x, or LOCK_BLOCK / 32-bit Write password on ICODE SLIX2).

Sources

Related pages

WhatsApp