The USB standard is so common that almost everyone can recognize some of the basic USB 1.1 connectors, notably the plugs on flash drives and keyboards, and the ports on computers and tablets.
USB Cables Explained | USB 3.0 3.1 3.2 Connectors
However, as USB became more popular in other devices, such as smartphones, and USB 2.0 and USB 3.2 were developed, other connectors became more common, creating confusion in the USB landscape.
Use the USB Physical Compatibility Chart below to see which USB plug (male connector) is compatible with which USB socket (female connector). Some connectors have changed from USB version to USB version, so make sure you use the correct one on both ends.
For example, using the chart below, you can see that USB 3.0 Type B plugs will only fit into USB 3.x Type B receptacles. You can also see that USB 2.0 Micro-A plugs will fit into both USB 3.x Micro-AB and USB 2.0 Micro-AB receptacles.