The USB 2.0 connector is 4-pin, while the USB 3.0 connector uses 9-pin and has more pins than the USB 2.0 connector.
In theory, USB 2.0 has a speed of 480 Mbps and USB 3.0 can reach 4.8 Gbps.
The USB 2.0 connector only has 4pin metal contacts, while the USB 3.0 connector is a 9pin contact. The front 4pin and USB 2.0 are one-to-one, and the rear 5pin is USB 3.0.
As for the USB 3.0 B-type interface, it is better to distinguish. The USB 3.0 standard B-type interface is larger than the USB 2.0, and the upper part is more prominent, and it accommodates the new 5-pin contact.
The USB 3.0 connector's logo "SS" stands for "SuperSpeed" and is available in the USB 3.0 interface section. In addition, the USB 3.0 cable is slightly thicker than the USB 2.0 cable due to the addition of 5 routes.