From EPC to UPC
A buyer asks for RFID tags, and your system holds barcodes. The two meet in a single code. This guide explains how, and where factories most often get it wrong.

The idea
Two codes for one product
What each one is
A UPC or EAN is the number printed under a barcode. It says what kind of product this is, and every unit of that product carries the same one.
An EPC, the Electronic Product Code, is the number stored in an RFID tag. In apparel it is almost always built from the same product number plus a serial number, so each individual item has its own.
Why it matters
The product number keeps the RFID system in step with the buyer's catalogue and advance ship notice. The serial number lets a single item be told apart, counted once and followed.
How it is built
Reading an SGTIN-96 code, part by part
SGTIN-96 is the encoding scheme named in retailer RFID requirements for apparel.
| Part | What it is | Where it comes from |
|---|---|---|
| GTIN | The product number, 14 digits (a 12-digit UPC or 13-digit EAN with zeros added on the left) | Your existing barcode or your buyer's catalogue |
| Company prefix | The part of the GTIN that identifies the brand owner, between 6 and 12 digits long | Issued by GS1 to the brand owner |
| Item reference | The part of the GTIN that identifies the style, colour and size | Set by the brand owner |
| Serial number | A number that is unique for every item of that product | Generated by the encoding software, never reused |
In practice
From a purchase order to an encoded tag
Five steps, in order
Get the GTIN
The product number for every style, colour and size on the order.
Know the company prefix length
The encoder needs it to split the GTIN correctly.
Generate serials
One unique serial per item, in ranges that cannot collide.
Encode and lock
Write the code to the tag, then lock it so nobody can overwrite it.
Verify
Read every tag back, and compare with the order, before it is applied.
Where it goes wrong
The mistakes that cause rejected shipments
In the code
- Wrong company prefix length
- Serial numbers repeated across orders
- Tags left unlocked
In the data
- Advance ship notice and tag contents disagree
- Product number for the wrong size or colour
- Old catalogue numbers
In the process
- Tags never tested before packing
- Encoding done once, with no read-back
- No record of which serial went where
Have a buyer's tagging guide?
Send it over. We will check the encoding and the process against it.
How RILITS helps
Encode once, then check at every handoff
RILITS prints, encodes and finishes tags in-house, then verifies them again when the carton is sealed. The same code carries the item from the factory to the store, so the buyer's system and yours agree.
- Unique code per item, applied at the source
- Read-back verification at the packing line
- Item record linked to order, carton and pallet

Questions
Questions about codes
Need a number for your own line? Our team will size it with you.
No. A UPC identifies a type of product. An EPC identifies an individual item and, in apparel, is usually built from the UPC's product number plus a serial number.
The brand owner holds the prefix. A factory working for a brand normally uses the brand's prefix and product numbers, supplied by the buyer.
Retailer requirements ask for it so that the code cannot be overwritten by a later read or by a mistake.
Tags following the EPC Gen2 standard can be read by any compliant UHF reader, which is why the standard is used across brands and retailers.
Sources
Encoding details follow the GS1 Tag Data Standard. The rules for a particular buyer are in the buyer's own vendor guide, which always takes priority.