← How-Tos
electronics 3 days ago ◑ 6 views ◯ 6 min read

Choosing the Right NFC Tag Type for a Project: MIFARE Classic, MIFARE Ultralight, and NTAG213/215/216 Compared

nfcmifare classicmifare ultralightntag213ntag215ntag216rfid tagsesp32pn532

Walk into the NFC tag section of any electronics marketplace and you'll find a bewildering list of part numbers — MIFARE Classic 1K, MIFARE Ultralight, NTAG213, NTAG215, NTAG216 — usually with little explanation of what actually separates them beyond price. For a maker building something that reads or writes its own NFC tags (an access-control project, an inventory label, a smart-home trigger tag, or a game piece that stores small amounts of data), picking the wrong chip means either paying for security features you don't need or discovering too late that your tag can't hold the data you wanted to store. This guide breaks down what each common tag type actually offers, which reader hardware supports which, and how to pick the right one for a given project.

The Two Different Families

These chips split into two distinct technical families that are easy to conflate because they're both sold as "NFC tags" and both work with the same 13.56MHz reader hardware.

MIFARE Classic 1K / 4K

MIFARE Classic organizes its memory into sectors, each independently protected by a pair of keys (A and B) and access bits that control whether a sector can be read, written, or used for value-block operations (increment/decrement, useful for things like stored-value cards). The 1K variant has 1024 bytes split across 16 sectors; the 4K variant has 4096 bytes across 40 sectors. This sector-and-key structure is what makes MIFARE Classic historically popular for access badges and transit cards — different sectors can hold different data with different access permissions on the same physical card.

The well-publicized weaknesses in the Crypto1 cipher (which is why tools exist that can recover MIFARE Classic keys from captured data) mean MIFARE Classic should not be treated as cryptographically secure against a motivated attacker. For a maker project, this mostly matters in one direction: if you're building something where someone cloning or reading a tag would be a real problem (an actual access-control system protecting something valuable), MIFARE Classic is not where to put your trust. For most maker projects — a game piece, an inventory tag, a personal automation trigger where the stakes of someone else reading it are low — the sector/key structure is simply a way to organize data, not a meaningful security boundary, and that's a fine way to use it as long as you're clear-eyed about what it isn't providing.

MIFARE Ultralight

MIFARE Ultralight strips away the sector/key encryption model entirely in favor of a simple flat memory space (typically 64 bytes of user memory on the original Ultralight, more on Ultralight EV1 and C variants) that's cheap to manufacture and fast to read. There's no Crypto1 authentication at all on the base Ultralight — it's openly readable and writable unless you add your own application-layer protection. This makes it a poor choice for anything resembling access control, but an excellent, inexpensive choice for throwaway or high-volume applications: event wristbands, single-use promotional tags, or any case where the tag is meant to be read freely and the cost per unit matters more than any data protection.

The NTAG Family: 213, 215, 216

NTAG213/215/216 are NXP's modern NFC Forum Type 2 tags, essentially a more capable evolution of the Ultralight line, and they're what most maker-oriented NFC tags and stickers sold today actually are. The three numbers differ almost entirely in memory size:

TagUser MemoryTypical Use Case
NTAG213~144 bytes (about 137 usable for NDEF)Short URLs, simple triggers, WiFi/contact tags where space is tight
NTAG215~504 bytes (about 492 usable for NDEF)Longer URLs with parameters, small structured data, the tag type used by some NFC-enabled toys/figures
NTAG216~888 bytes (about 872 usable for NDEF)Larger NDEF records, multiple records per tag, vCards with more fields

All three support a password protection feature (NTAG's own, distinct from MIFARE Classic's Crypto1 keys) that can lock pages against writing, and a one-time-programmable lock feature that can permanently prevent further writes once you're happy with the tag's content — useful for a finished product where you want to guarantee the tag's data can't be altered later, while still being freely readable. They also support NFC Forum NDEF natively, which is why a phone can tap an NTAG tag and immediately open a URL or add a WiFi network with zero custom app required, something that takes extra work to replicate on MIFARE Classic.

Matching Reader Hardware to Tag Type

Not every NFC/RFID reader module speaks to every tag type equally well:

A Practical Decision Guide

Most maker projects that reach for "an NFC tag" without much more specification are well served by an NTAG213 or NTAG215 — cheap, broadly compatible with phones out of the box, and large enough for the kind of small automation and labeling tasks that make up the bulk of hobbyist NFC use. Reaching for MIFARE Classic specifically makes sense when you need its sector/key organization for a multi-purpose card, not because it offers meaningfully better security for a hobby project.