QR codes encode information into a two-dimensional barcode. When scanned by a QR code reader or smartphone camera, the data is quickly decoded and displayed to the user. This information can include URLs, contact details, or other types of digitally stored data.