A barcode only keeps information in a horizontal direction, whereas a QR code can keep information in both horizontal and vertical directions or it is a 2D format. Because of this, a QR code keeps hundreds of times more information than one barcode. Not all 2d barcodes are QR codes—there's many different kinds!