NFC for Beginners: Your First Project
Build Your First NFC Project in 30 Minutes
Hands-on tutorial to build your first NFC project from scratch with step-by-step instructions. Buy a tag, write a URL, test with your phone, and explore next steps like automation and business cards.
Your First NFC Project
The fastest path from zero to a working NFC tap experience is under 15 minutes with the right hardware. This guide walks through reading a blank tag, writing a URL, and verifying the result — with no custom app required.
What You Need
Hardware
- One or more blank nfc-tags — NTAG213 stickers are the cheapest starting point (~$0.10 each)
- An nfc-enabled-device — any Android phone with NFC (Settings → Connected devices → NFC) or an iPhone XR/later (iOS 14+ for background reading)
Software
- Android: NFC Tools (by wakdev) or NFC TagWriter by NXP — both free
- iOS: NFC Tools for iOS or NFC TagWriter — same apps, same functionality
No coding, no additional hardware, no reader module needed. The phone is both your reader and writer.
Use the NFC Compatibility Checker if you are unsure whether your phone supports the required NFC features.
Reading Your First Tag
- Open NFC Tools (or any NFC reader app).
- Navigate to "Read" mode.
- Hold the back of your phone over an NFC tag and hold still for 0.5 seconds.
The app displays the tag's uid (7-byte serial number), chip type, total-memory, user-memory, and any existing NDEF content. A factory-blank NTAG213 shows "Empty tag" — no NDEF message yet.
Writing Your First URL
- In NFC Tools, tap "Write" → "Add a record" → "URL / URI".
- Enter
https://nfcfyi.comand confirm. - Tap "Write / 1 record" and hold your phone over the tag.
- The write completes in under 200 ms. The app confirms success.
What just happened: the app constructed an ndef-message containing one ndef-uri record, encoded the message into binary following the NDEF spec, and wrote it to the tag's EEPROM via the phone's NFC controller.
Now tap the tag again with your phone's screen on — the OS intercepts the NDEF message and opens the URL in the browser automatically. No app needed on the reading device.
Writing Other Data Types
| Record type | Use case | Example payload |
|---|---|---|
| ndef-uri | Open URL | https://example.com |
| ndef-text | Display plain text | en:Hello from NFC |
| Wi-Fi (MIME) | Join Wi-Fi network | SSID + password + auth type |
| vCard (MIME) | Share contact | Full vCard 3.0 blob |
| smart-poster | URL + title + action | URL + en:Visit Our Site |
Construct and preview your NDEF payload before writing using the NDEF Message Encoder.
Next Steps
- Add password protection: NFC Tools → Write → Security → Password
- Lock the tag permanently: Write → Lock tag (irreversible — do this only on final content)
- Embed the tag: stickers adhere to most surfaces; avoid placing directly on metal without an on-metal-tag variant
For custom app development, continue with Android NFC Programming Guide or iOS Core NFC Programming Guide.
자주 묻는 질문
A beginner NFC kit needs: (1) an NFC-enabled smartphone (any modern Android or iPhone 7+); (2) a pack of NTAG213 stickers or key fob tags (the most compatible and cheapest option at ~$0.15–0.30 each); and (3) a free NFC writing app such as NFC Tools (iOS/Android) or NXP TagWriter (Android). For development and bulk operations, a USB NFC reader like the ACR122U ($30–50) is recommended.
The simplest NFC project is a smart business card: write a vCard NDEF record or a URL to your LinkedIn profile onto an NTAG213 sticker using NFC Tools, then attach it to the back of your physical card. When someone taps it with their phone, the profile opens automatically — no app required on the reading device. This project takes under five minutes and costs less than $1.
Enable NFC in your Android manifest with the NFC_FOREGROUND_DISPATCH intent filter or use enableReaderMode() in your Activity. When a tag is detected, the system delivers an Intent containing the NdefMessage. Parse the NdefRecord payloads to extract URLs, text, or custom MIME types. The android.nfc.tech.Ndef and NdefMessage classes in the Android NFC API handle all NDEF parsing — no third-party library is required.
The Web NFC API allows web pages running in a browser to read and write NFC tags using the NDEFReader interface, without needing a native app. As of 2025, Web NFC is supported only in Chrome on Android (version 89+) behind the 'nfc' permission. iOS Safari and desktop browsers do not support Web NFC. It is useful for low-friction deployments where installing a native app is a barrier.
Our guides cover a range of experience levels. Getting Started guides are written for beginners with no prior NFC knowledge. Programming guides target developers integrating NFC into mobile apps or embedded systems. Security guides are for engineers designing secure NFC deployments for payments, access control, or authentication.
Most guides require only an NFC-enabled smartphone (iPhone 7+ or any modern Android device) and a few NFC tags (NTAG213 or NTAG215 recommended for beginners, available for under $1 each). Advanced guides may reference USB NFC readers like the ACR122U or Proxmark3 for development and testing.
Yes. Programming guides include code examples for Android (Kotlin/Java with the Android NFC API), iOS (Swift with Core NFC), and web-based tools (Web NFC API for Chrome on Android). All code samples are tested and include inline comments explaining each step.