GS1 QR codes for pet food brands: lot codes, recalls and Sunrise 2027
When a recall names lot codes, owners have to find a three-line code on the back of the bag. In one FDA recall, owners who could not find it were told to stop feeding the food. This guide puts the lot in a GS1 Digital Link QR code, so a scan shows the recall notice for that bag, or your normal page.
DLCode · Updated · 8 min read
Who regulates your label
FDA regulates pet food under the Federal Food, Drug, and Cosmetic Act, which requires all animal foods to be safe to eat. FDA says that FDA and state and local agencies all play a role in regulating pet food.
Federal rules require the product identity and a net quantity statement on the label. They also require the name and place of business of the manufacturer or distributor, and ingredients listed by weight, from most to least. Under 21 CFR 501.5, the place of business includes the street address, city, state and ZIP Code. The name needs wording such as "Manufactured for" or "Distributed by" when someone else makes the food.
Many state labeling rules are based on the model regulations of the Association of American Feed Control Officials (AAFCO). AAFCO has no regulatory authority, but most states have adopted a version of its models. The AAFCO label adds the species, a guaranteed analysis, a nutritional adequacy statement, and feeding directions for most complete and balanced foods.
AAFCO's new model rules for pet food labels, called Pet Food Label Modernization (PFLM), make the label look more like a human food label. The intended life stage and purpose must be on the front display panel. AAFCO recommends a six-year transition, and each state decides when it adopts the new rules. If you redesign bags for PFLM, add the QR code in the same print run.
A QR code adds to your label. The required text stays printed on the bag. For the general US rules on QR codes on food labels, see Can I put a QR code on my food label?
State registration and your QR code
State feed programs can require you to register each product before you sell it there. North Dakota, for example, requires a registration for each product, with the product label attached. Its fee is $100 per product made out of state, and registrations renew every two years.
A GS1 Digital Link QR code holds a fixed web address. You can change the page it opens at any time in DLCode, and the printed code stays the same. The label you register keeps working when your pages, offers or recall notices change.
Pet food runs on lot codes
Pet food is made, recorded and recalled by lot. Several FDA rules depend on lot codes.
- Canned pet food must follow FDA's low-acid canned food rules. 21 CFR 113.60(c) requires a permanent code on each sealed container that identifies the plant, the product, the year, the day and the packing period.
- The FDA records rule in 21 CFR Part 1, Subpart J covers animal feed, including pet food. If you make, process or pack the food, your records of food you receive and release include the lot or code number, to the extent it exists.
- Your records of food you release must also include information reasonably available to you to identify the source of each ingredient used to make every lot of finished product.
- For animal food with a hazard that requires a preventive control, 21 CFR 507.38 requires a written recall plan. The plan covers notice to your direct customers, public notice when needed to protect human and animal health, and effectiveness checks.
Your batch records and your test results already point to a lot code. A QR code that carries the same lot code lets a scan reach information about that exact lot.
How recalls reach pet owners today
FDA keeps a list of animal and pet food recalls. Its 2026 list includes dog food and dog supplement recalls for Salmonella.
Recalls name the lots. In the 2020 and 2021 Sportmix aflatoxin recall, FDA told owners to find a three-line code on the back of the bag. Affected products had an expiration date on or before 07/09/22 and the plant code 05. The expanded recall covered more than 1,000 lot codes.
FDA told owners who could not find the lot code or expiration date to stop feeding the product. A scan that shows the status of the bag in hand is easier than comparing a code to a long list.
Put the lot and best-by date in the QR code
A GS1 Digital Link QR code is a web address that contains your GTIN. GS1 Application Identifier 10 is the batch or lot number. Application Identifier 17 is the expiration date.
DLCode puts the lot in the path after /10/ and the expiry in the query after ?17= in YYMMDD form.
https://qr.yourbrand.com/01/00850012345671/10/K2611A?17=280531A lot code can be up to 20 characters from the GS1 character set. Use the same lot text that you print on the bag today. A checkout scanner reads the GTIN from the code. A phone opens your page.
The hosted product page shows the lot and the best-by date. The date comes from the code, or from the lot record if you saved one.
Recall one lot from the scan
In DLCode, you can mark a whole product as recalled. You can also mark only listed lots, or every lot that expires on or before a date.
Starting a recall needs a paid pack or the 30-day trial. Ending a recall works on every plan.
Scans of an affected lot open the hosted page with your recall notice. Scans of other lots open your normal link. The GS1 linkset for the product also reports the recall status. Every change is written to the product's recall history.
A recall by date matches every lot of that product with an expiry on or before the date. If only one plant or one line is affected, list the lots instead.
Pair the scan notice with the notices your recall plan already sends to FDA and to the stores that sell your food. For the full steps, see How to tell customers which batch is recalled.
Send each lot to its own page
If you test lots for Salmonella or aflatoxin, show the result for the lot in the owner's hand. A scan answers the question before the owner calls you.
In DLCode, any link on a product can be limited to one lot. A scan of that lot opens that link. Scans of other lots open the product's main link. Lot links need a paid pack or the trial.
- Put the lot's test report on your own website or file storage.
- Open the product in DLCode and add a link of type pip (product information page) limited to that lot, with the report URL as the target.
- Make the QR code for that lot and scan it to check that the report opens.
Because the lot is part of the address, each lot has its own QR code. Point the main link at a page that stays useful for every lot, such as the product page on your store.
Retail and Sunrise 2027
GS1 US describes Sunrise 2027 as a global transition from 1D UPC barcodes to 2D barcodes, such as QR codes, and as the retail industry's goal for point-of-sale systems to read 2D barcodes by the end of 2027. GS1 US tells brands to add 2D barcodes to existing packaging and to use the GS1 Digital Link standard for QR codes.
Bags and cans you print today can still be on shelves at the end of 2027.
You keep your UPC and add a GS1 Digital Link QR code that holds the same GTIN. See Sunrise 2027 for sizes and placement.
Printer workflow
Lot files need a paid pack or the trial.
- Pre-printed labels and bags: download the lot's QR code from the product page as SVG, PDF, EPS or 600 dpi PNG and send it to your printer.
- Label software such as BarTender or NiceLabel: build the address in the template from your GTIN-14, lot and expiry, using the pattern https://{your domain}/01/{GTIN-14}/10/{lot}?17={YYMMDD}.
- Automated files: request GET /api/v1/products/{gtin}/qr.svg?lot=K2611A&expiry=2028-05-31 with your API key. PDF and EPS are also available.
The QR module is 0.495 mm with a 4-module quiet zone. Label files place your linear barcode 4 mm to the left of the QR code.
On paid packs and the trial, import a lot CSV of up to 5,000 rows to keep lot records in DLCode. See Print specs for a QR code next to your UPC or EAN.
Cost for a 40-SKU brand
If each recipe and bag size has its own GTIN, a brand with 40 SKUs needs 40 products in DLCode. Lots do not count toward the product limit.
| DLCode 100 pack | Subscription at $80 per month | |
|---|---|---|
| Price | $499 one time | $960 per year |
| Products | 100 | 100 |
| Cost through 2030 | $499 | $3,840 for 2027 to 2030 |
| After 2030 | $29 per year for hosting | $960 per year |
The 100 pack includes 5 custom domains and 10 seats. It also includes lot links, lot recalls and up to 100,000 serial numbers. The REST API is on every plan, free included.
What to do this month
- Confirm each recipe and bag size has a GTIN licensed to your company by GS1.
- Find the lot code and best-by date format on each package, and use the same text in the QR code.
- Decide where a normal scan goes, such as the product page on your store.
- Choose how the lot reaches the code. The printer workflow above covers each option.
- Print a proof, scan it with an iPhone and an Android phone, and check the lot and best-by date on the page.
- Write your recall notice text now, and test a recall on one lot before you need it.
- Put the codes on your own domain, such as qr.yourbrand.com. See Use your own domain for GS1 QR codes.
For other food categories, see DLCode for food brands and GS1 QR codes for supplement brands.
Get lot-level recalls running before your next bag run
Set up one recipe, put the lot on its bag, and have a recall ready before you ever need it.
- Each lot of each recipe and bag size gets its own QR code.
- Recall listed lots, or every lot that expires on or before a date.
- Link a lot to its Salmonella or aflatoxin test report.
- Download lot files as SVG, PDF, EPS or 600 dpi PNG for your bag and label printer.
- Use your own domain so every code on the bag carries your brand.
Start free for 10 products, with no card. When you need more, pay once from $249 for 25 products. Hosting and unlimited scans are included through December 31, 2030, with no subscription. Lots do not count toward the product limit. New accounts get lot links and recalls free for 30 days on up to 25 products.
Make the code for your next bag run today. Start free or See pricing.
Sources
- Pet Food · U.S. Food and Drug Administration
- FDA's Regulation of Pet Food · U.S. Food and Drug Administration
- 21 CFR 501.5: Animal food; name and place of business of manufacturer, packer, or distributor · eCFR
- Reading Labels · Association of American Feed Control Officials
- Introducing the New Model Pet Food and Specialty Pet Food Regulations · Association of American Feed Control Officials
- Pet Food Program · North Dakota Department of Agriculture
- 21 CFR 113.60: Containers · eCFR
- 21 CFR 1.328: Definitions (records subpart) · eCFR
- 21 CFR 1.337: Records of immediate previous sources · eCFR
- 21 CFR 1.345: Records of immediate subsequent recipients · eCFR
- 21 CFR 507.38: Recall plan · eCFR
- Animal and Veterinary Recalls and Withdrawals · U.S. Food and Drug Administration
- FDA Alert: Certain Lots of Sportmix Pet Food Recalled for Potentially Fatal Levels of Aflatoxin · U.S. Food and Drug Administration
- What is GS1 Sunrise 2027? · GS1 US
- GS1 Digital Link URI syntax · GS1
- GS1 Application Identifier (10): Batch or lot number · GS1
- GS1 Application Identifier (17): Expiration date · GS1
Get your QR code
Get a print-ready file with your barcode and a GS1 Digital Link QR code side by side. 10 products free, and pack features free for 30 days. No card. Then pay once from $249.