GS1 QR codes for baby food brands: California AB 899 and lot recalls
California bars the sale of baby food that does not meet AB 899, and the Attorney General put manufacturers and retailers on notice in March 2026. This guide shows which products need the QR code today and how to put the lot in it, so each scan opens the results for the jar or pouch in hand.
DLCode · Updated · 8 min read
What California AB 899 requires
AB 899 was signed on October 10, 2023 as Chapter 668, Statutes of 2023. It added Sections 110962 and 110963 to the California Health and Safety Code.
The law covers food packaged in jars, pouches, tubs and boxes that is represented or purported to be specifically for babies and young children less than two years of age. Infant formula is excluded.
Since January 1, 2024, a manufacturer must test a representative sample of each production aggregate of each final baby food product for arsenic, cadmium, lead and mercury. Testing must happen at least once per month, at an ISO/IEC 17025:2017 accredited lab that meets the law's sensitivity and proficiency criteria.
For products sold in California on and after January 1, 2025, you must post the name and level of each toxic element found in each production aggregate on your website. The results must stay up for the product's shelf life plus one month.
The website must also help a parent identify the exact product. The law lists product name, UPC, size, lot numbers and batch numbers as examples of this descriptive information.
When the QR code is required
The QR code applies when a product is tested for a toxic element that has an FDA action level, regulatory limit or tolerance established under 21 CFR Part 109. The label must then carry two things.
- A QR code or other machine-readable code that links to a page on your website with the test results for that element and a link to an FDA page with current guidance and information about the health effects on children.
- This statement: "For information about toxic element testing on this product, scan the QR code."
The Attorney General's advisory, citing the California Department of Public Health, lists the products that currently need the QR code and statement:
- Rice cereal
- Apple juice
- Fruits, vegetables (excluding single-ingredient root vegetables), mixtures (including grain- and meat-based mixtures), yogurts, custards and puddings, and single-ingredient meats
- Single-ingredient root vegetables
- Dry infant cereals
If you make purees, pouches or infant cereal, check each product against this list. The website disclosure applies to every covered baby food, whether or not it needs a QR code.
The list can grow. FDA's Closer to Zero page shows draft guidance for cadmium in processed baby food, published in October 2026, and inorganic arsenic draft guidance targeted for 2027. Watch for final levels, since a new final level can bring more products under the QR requirement.
FDA's lead action levels and Closer to Zero
Closer to Zero is FDA's program to reduce arsenic, cadmium, lead and mercury in foods eaten by babies and young children. In January 2025, FDA issued final guidance with action levels for lead in processed food for children under two.
| Food category | Lead action level |
|---|---|
| Fruits | 10 ppb |
| Vegetables (excluding single-ingredient root vegetables) | 10 ppb |
| Mixtures, including grain- and meat-based | 10 ppb |
| Yogurts | 10 ppb |
| Custards and puddings | 10 ppb |
| Single-ingredient meats | 10 ppb |
| Single-ingredient root vegetables | 20 ppb |
| Dry infant cereals | 20 ppb |
California law uses these FDA levels to decide which products need the QR code. A product in one of these categories that is tested for lead needs the QR code.
Lot codes and recalls under federal rules
If your product is a low-acid food in a hermetically sealed container, 21 CFR 113.60(c) requires a permanent code on each container. The code identifies where and when the food was packed, and the product inside.
If your food has a hazard that requires a preventive control, 21 CFR 117.139 requires a written recall plan. The plan must describe how you notify direct consignees and, when needed, the public. It must also describe how you check that the recall worked and how you dispose of the recalled food.
FDA's general recall rules are in 21 CFR Part 7, Subpart C, and FDA posts company recall announcements on its Recalls, Market Withdrawals and Safety Alerts page.
AB 899's disclosure is per production aggregate, and a recall works best when you know which units came from which run. A QR code that carries the same lot number you print lets one scan reach information for that run.
How a GS1 Digital Link QR code fits
A GS1 Digital Link QR code is a web address that contains your GTIN. GS1 Application Identifier 10 is the batch or lot number, and 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/L2611A?17=270531The same code holds your GTIN, so a checkout scanner that reads 2D barcodes can ring it up. AB 899 needs one QR code on the label, and this code can serve the California disclosure and the register.
There are two ways to send scans to your results:
- One results page for the product. Set the product's main link to the test results page on your website, where the parent finds their lot. This works on every plan, free included.
- One page per lot. On a paid pack or the trial, add a link limited to each lot that opens the results for that production aggregate. A scan of lot L2611A opens the L2611A results with no lot number to type.
AB 899 says the code links to a page on your website, and your results page must also link to FDA. Keep the results page on your own site. DLCode does not host PDF files, so host lab reports on your site or file storage too.
Use your own domain, such as qr.yourbrand.com, in the code. The address printed on the pouch then belongs to your brand, and you can change where it sends scans at any time without a reprint. See Use your own domain for GS1 QR codes.
Your test results and the page that shows them stay on your site. DLCode makes the code and sends each scan to the right page.
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 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 keep opening your normal link. The GS1 linkset for the product also reports the recall status, and every change is written to the product's recall history.
An expiry-date recall needs the date in the code or a saved expiry on the lot record.
Pair the scan notice with the notices your recall plan already sends to FDA, your retailers and parents. For the full steps, see How to tell customers which batch is recalled.
Printing a code for each lot
Each lot has its own QR code because the lot is part of the address. Lot files need a paid pack or the trial.
- Pre-printed labels and pouch film: download the lot's QR code 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 with the pattern https://{your domain}/01/{GTIN-14}/10/{lot}?17={YYMMDD}.
- Automated files: request GET /api/v1/products/{gtin}/qr.svg?lot=L2611A&expiry=2027-05-31 with your API key. PDF and EPS are also available.
Lot codes can be up to 20 characters from the GS1 character set. Use the same lot text that you print next to the best-by date.
The QR module is 0.495 mm with a 4-module quiet zone. Label files place the UPC-A, EAN-13 or EAN-8 4 mm to the left of the QR code. See Print specs for a QR code next to your UPC or EAN.
On paid packs and the trial, import a lot CSV of up to 5,000 rows with columns such as gtin, lot, expiry, packed_on and quantity.
Sunrise 2027
GS1 US describes Sunrise 2027 as the retail industry's goal for point-of-sale systems to read 2D barcodes such as QR codes by the end of 2027. Pouches you print today can still be on shelves then. The QR code you add for California can be the same GS1 Digital Link code that those registers read. See Sunrise 2027 for sizes and placement.
What it costs
Each GTIN counts as one product in DLCode.
| Plan | Price | Products | Lot links and lot recalls |
|---|---|---|---|
| Free | $0 | 10 | No |
| 25 products | $249 one time | 25 | Yes |
| 100 products | $499 one time | 100 | Yes |
| 1,000 products | $1,490 one time | 1,000 | Yes |
Each pack covers hosting and unlimited scans through December 31, 2030, with no subscription. After that, hosting is $29 per year. The 30-day trial includes the paid features for up to 25 products, with no card. See pricing.
What to do this month
- Check each product against the Attorney General's list of products that need the QR code and statement.
- Confirm each product has its own GTIN from GS1.
- Make sure each printed lot maps to one production aggregate in your test records.
- Build a results page on your website that shows each element's level per lot and links to FDA's Closer to Zero page.
- Decide whether scans open one results page per product or one page per lot.
- Connect a domain you control, such as qr.yourbrand.com, before you print.
- Add the QR code and the required statement to your next label run, then scan a proof with an iPhone and an Android phone.
- Write your recall notice text now, and test a lot recall before you need one.
For California rules beyond baby food, see GS1 QR codes in California. For other food categories, see DLCode for food brands and QR codes on food labels: what is allowed.
Have every lot's results one scan away
Set up one product, link each lot to its test results, and have a recall ready before you ever need it.
- Each lot gets its own QR code that opens the results for its production aggregate.
- Scans land on the results page on your own website.
- The same code carries your GTIN for checkout scanners that read 2D barcodes.
- Recall listed lots, or every lot that expires on or before a date.
- Download lot files as SVG, PDF, EPS or 600 dpi PNG for your pouch film and labels.
- Use your own domain so every code 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 label run today. Start free or See pricing.
Sources
- AB 899 Food safety: baby food (Chapter 668, Statutes of 2023), chaptered bill text · California Legislature via CalMatters Digital Democracy
- Enforcement advisory: Assembly Bill 899, Food Safety: Baby Food (March 6, 2026) · California Office of the Attorney General
- Guidance for Industry: Action Levels for Lead in Processed Food Intended for Babies and Young Children · U.S. Food and Drug Administration
- Closer to Zero: Reducing Childhood Exposure to Heavy Metals in Foods · U.S. Food and Drug Administration
- 21 CFR 109.4: Establishment of tolerances, regulatory limits, and action levels · eCFR
- 21 CFR 113.60: Containers · eCFR
- 21 CFR 117.139: Recall plan · eCFR
- 21 CFR Part 7, Subpart C: Recalls (including product corrections) · eCFR
- Recalls, Market Withdrawals, & Safety Alerts · 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.