Get Free UPC Codes at the Grocery Store If all else fails, you can always go to your local grocery store and write down the UPC from the product you need. UPCs are on the outside of the product packages, so you don't need to buy anything to get the codes you need to enter sweepstakes.