Label Encyclopedia

How to Make QR Code Anti-Counterfeit Labels: 5-Step Production Process + 7-Step Testing + 4 Case Studies

📅 2026-07-18 ✍️ Wuxi Lexiang Printing & Packaging ⏱ 7min read

💡 💡 At a Glance

From Data Generation to Finished Product Delivery: A Detailed Guide to the Entire Production Process of QR Code Anti-Counterfeiting Labels

Last week, a client running a cosmetics brand asked me: "I want to apply an anti-counterfeit QR code label to each product. What's the process?"

I said: "5-step process + 7-step testing—running it through completely from code library to scan-code verification."

He said, "How exactly do we do it?"

I said: "5-step hands-on process—code library selection + printing + application + scanning + lookup. This article doesn't cover 'what is QR code anti-counterfeiting'—it covers the 5-step hands-on process + 7-step testing + 4 types of real cases + 5 common types of attacks."

5-Step Practical Workflow

Step 1: Select Code Library

3 Code Library Types:

  • GS1 Global Standard — internationally recognized + cross-border compatible
  • Self-built Code Library — flexible + fully controllable
  • Third-party SaaS — fast + low cost

3 Key Elements:

  • Uniqueness (each item different)
  • Capacity (millions to billions)
  • Scalability (upgrade support)

Step 2: Print Labels

3 Printing Methods:

  • Digital Printing (under 1,000 sheets)
  • Offset Printing (1,000–50,000 sheets)
  • Flexographic Printing (50,000+ sheets)

3 Key Requirements:

  • Unique per sheet (variable data)
  • Anti-transfer adhesive (voids when peeled off)
  • QR code + QR code dual-code (compatible)

Step 3: Apply to Product

3 Labeling Methods:

  • Automatic Labeling Machine (production line)
  • Semi-automatic (manual assistance)
  • Manual Labeling (small batch)

3 Key Controls:

  • Label Position (designated location)
  • Label Pressure (≥ 2 kg)
  • Post-application Inspection (100% sampling)

Step 4: Consumer Scanning

3 Scanning Entry Points:

  • H5 Page (mobile)
  • Mini Program (WeChat / Alipay)
  • APP (brand official)

3 Post-scan Actions:

  • Display Authenticity (green / red)
  • Pop up Product Information (ingredients / origin)
  • Trigger Marketing Campaign (red envelope / points)

Step 5: Data Backflow

3 Data Flow Directions:

  • Scan Data → Anti-counterfeiting Verification (cloud)
  • Consumer Profile → CRM System
  • Scan Rate → Marketing Optimization (push timing)

7-Step Validation Testing

Test 1: Scanning Test

3-Step Procedure:

  • Print 100 sheets
  • Scan 100 times
  • 100% recognition rate = Pass

Test 2: Code Database Duplicate Check

3-Step Procedure:

  • Generate 10,000 codes
  • Check for duplicates
  • 0 duplicates = Pass

Test 3: Tamper-Evidence Test

3-Step Procedure:

  • Tear 10 sheets
  • All 10 sheets fail
  • = 100% invalidation = Pass

Test 4: Encryption Test

3-Step Procedure:

  • Attempt reverse decoding
  • Scan known plaintext
  • Undecodable = Pass

Test 5: Database Stress Test

3-Step Procedure:

  • 100,000 queries
  • Response time < 1 second
  • No errors = Pass

Test 6: Concurrency Test

3-Step Procedure:

  • 1,000 simultaneous scans
  • No lag
  • = 100% success = Pass

Test 7: Attack Simulation

3-Step Procedure:

  • Duplicate the genuine product 100 times
  • Scan the duplicates 100 times
  • 100% identified as counterfeit = Pass

4 Real Case Studies

Case 1: A Cosmetics Brand (Annual Sales: 100M)

Configuration:

  • GS1 Code Database
  • Digital Printing + Hot Foil Stamping
  • H5 Anti-Counterfeiting Query

Benefits:

  • Counterfeit Rate -80%
  • Scan Rate 30%
  • Repurchase Rate +25%

Total Investment: 800,000

ROI Period: 6 Months

Case 2: A Baijiu Brand (Annual Sales: 1B)

Configuration:

  • Consortium Blockchain
  • QR Code + RFID Dual Code
  • Mini Program + Marketing

Benefits:

  • Counterfeit Rate -95%
  • Scan Rate 50%
  • Scan-User Repurchase +40%

Total Investment: 5,000,000

ROI Period: 12 Months

Case 3: A Pharmaceutical Brand (Annual Sales: 500M)

Configuration:

  • UDI Code Database
  • DataMatrix + GS1
  • FDA Compatible

Benefits:

  • Compliance 100%
  • Recall Time -80%
  • FDA Fine Risk -2,000,000/Year

Total Investment: 2,000,000

ROI Period: 18 Months

Case 4: A Maternal & Baby Products Brand (Annual Sales: 300M)

Configuration:

  • Code Database + Anti-Transfer
  • H5 + Mini Program
  • Scan-to-Earn Points

Benefits:

  • Counterfeit Rate -70%
  • Scan Rate 60%
  • Members +500,000

Total Investment: 1,000,000

ROI Period: 8 Months

5 Common Types of Attacks and Defenses

Attack 1: Direct Copying

Method: Scanning the genuine product + print copying

Defense:

  • Unique code per item (database deduplication)
  • Anti-transfer (invalidates when peeled off)

Attack 2: Replacing the Code Database

Method: Counterfeiters replace the code database

Defense:

  • Blockchain (tamper-proof data)
  • Multi-party signatures

Attack 3: Altering the Code

Method: Tampering with the numbers

Defense:

  • Anti-counterfeit printing (color change upon alteration)
  • Verification code (mismatch with the original code)

Attack 4: Mass Counterfeiting

Method: Mass production of fakes + code labeling

Defense:

  • Code database integrated with the production system
  • Genuine-product codes are unique (cannot be mass-produced)

Attack 5: Scanning and Copying the Genuine Product

Method: Scanning the genuine product's QR code + printing 1,000 copies

Defense:

  • One-time scanning (invalidates after the first scan)
  • Real-time data feedback (anti-counterfeit verification)

3 Key Quality Control Points

Control 1: Code Library Generation

3-Step Control:

  • Uniqueness (unique database index)
  • Encryption (AES 256)
  • Audit log (record for every operation)

Control 2: Printing Quality

3-Step Control:

  • Printing precision (300 DPI minimum)
  • Sampling inspection per batch (5%)
  • Error correction level (Level H, 30%)

Control 3: System Response

3-Step Control:

  • Query response (< 1 second)
  • Concurrent processing (1000 QPS)
  • Data backup (daily)

To explore one product one code — refer to the one-product-one-code label traceability system, or directly contact a LeXiang Packaging consultant, and receive an anti-counterfeiting solution + quotation within 24 hours.

#QR code anti-counterfeiting #Anti-counterfeiting labels #One item one code #GS1 anti-counterfeiting #Anti-counterfeiting process #Anti-counterfeiting testing #Anti-counterfeiting cases #Anti-counterfeiting attacks #Anti-counterfeiting selection #Anti-counterfeiting cost #Anti-counterfeiting system #LeXiang packaging

FAQ

How to Make a QR Code Anti-Counterfeit Label?

5-Step Practical Workflow: (1) Code library selection — choose GS1 global standard or build a custom code library (unique per item); (2) Label printing — digital printing + QR code (unique per label) + tamper-evident adhesive; (3) Product labeling — automatic labeling machine or manual application; (4) Consumer scanning — H5 pop-up (anti-counterfeit query + marketing campaign); (5) Data feedback — scan data → anti-counterfeit verification + marketing analytics. 3 Key Points: (1) Code library uniqueness (each item different); (2) Tamper-evident (invalidates if removed); (3) Backend data feedback (real-time verification + consumer profiling). 3 Cost Categories: code library ¥10,000–50,000 + labels ¥0.3–1 + system ¥50,000–200,000.

How does the QR code anti-counterfeit label prevent duplication?

5 Anti-Copy Measures: (1) Unique Code Library – each item has a different code (database deduplication + unique index); (2) Anti-Transfer – destroys upon removal (anti-counterfeiting code becomes invalid); (3) Dynamic Encryption – code content can be encrypted (DES / AES); (4) Blockchain – code library uploaded to chain (tamper-proof + trustworthy); (5) Multi-Technology Integration – QR code + RFID + blockchain. 3 Common Types of Attacks: (1) Code Copying – scan genuine product + print (most common); (2) Code Replacement – counterfeiter replaces code library (requires blockchain defense); (3) Code Alteration – alters numbers (requires anti-counterfeiting printing + check code). 3 Types of Defense: unique code + anti-transfer + dynamic encryption.

QR Code Anti-Counterfeiting Label Testing Method?

7-step Test Verification: (1) Scanning test—100 samples scanned 100 times (recognition rate 100%); (2) Code library test—duplicate check (0 duplicates); (3) Anti-transfer test—tear off 10 labels (all 10 become invalid); (4) Encryption test—attempt reverse decoding (cannot be deciphered); (5) Database stress test—100,000 queries (response < 1 second); (6) Concurrency test—1,000 simultaneous scans (no lag); (7) Attack simulation test—replicate genuine products 100 times (100% identified as counterfeit). 3 Test Tools: scanning test instrument (RMB 100) + stress testing tool (professional RMB 10,000+) + penetration testing (professional RMB 50,000+). 3 Verification Standards: (1) scanning rate 100%; (2) anti-counterfeiting 100% effective; (3) system stability.

How much does a QR code anti-counterfeiting label cost?

3 Budget Tiers: (1) Small—50,000–100,000 (code database 10,000–30,000 + labels 0.3–0.5 yuan + system SAAS 10,000–30,000/year); (2) Medium—100,000–500,000 (code database 50,000–100,000 + labels 0.5–1 yuan + custom system 50,000–300,000); (3) Large—500,000+ (code database 100,000+ + labels 1–3 yuan + self-built system 300,000–1,000,000). 3 Types of Cost Savings: (1) Shared code database—multiple companies sharing one 10,000-entry code database (cost-sharing); (2) Digital printing replacing offset printing (30% cheaper for orders under 1,000 sheets); (3) SAAS replacing self-built (faster launch + lower investment). 3 Types of ROI: (1) 100% anti-counterfeiting—avoid counterfeit losses (typically 5–10% of annual revenue); (2) +20% marketing—scan-code traffic diversion + repeat purchases; (3) Data assets—consumer profiling + decision support.

How to use blockchain for anti-counterfeit QR code labels?

3-Step Integration: (1) Select blockchain—public chain (Ethereum / AntChain / Chang'an Chain) or consortium chain (AntChain BaaS); (2) Code library on-chain—unique code + production information (time / batch / factory) written to blockchain for each item; (3) Query & verification—consumer scans code → check on-chain data → compare authenticity. 3 Core Advantages: (1) Tamper-proof data (blockchain feature); (2) Full traceability (each node on-chain); (3) Multi-party trust (no centralized authority needed). 3 Investment Categories: (1) Blockchain platform—public chain free (gas fee) / consortium chain 10,000–100,000 RMB/year; (2) Integration development—50,000–300,000 RMB (one-time); (3) Operating cost—gas fee 0.001–0.01 RMB/query. 3 Applicable Enterprise Categories: (1) High-end brands (luxury goods / alcohol & beverages / pharmaceuticals); (2) High compliance requirements (FDA + China Food and Drug Administration); (3) High-trust scenarios (finance / government affairs).

Need a Custom Packaging Solution?

Learn more about packaging, or consult directly for a custom solution and quote