Barcodes woven into fabrics could make clothing and other textiles more recyclable and harder to counterfeit by identifying where and how goods are made, as well as what they are made of.