2 of 3
added 978 characters in body
Nick2253
  • 364
  • 3
  • 5

All you have to do is follow the USB convention!

Every USB plug has (or is supposed to have) one side labeled with the USB symbol. The pins should be exposed towards the side that is labeled with the USB symbol. See below for an example:

USB plug.

On computers and chargers that have horizontal USB ports, the convention generally has the ports oriented such that, when a USB cable is installed, the USB symbol would point upwards. For computers and devices that have vertical USB ports, the USB symbol would point leftward as viewed from the front of the device (or, if you rotated device 90 degrees clockwise as viewed from the front, the USB symbol would point upwards). Some devices may be opposite this, depending on the device's "preferred" horizontal orientation (for example, a PC tower that can lay flat may need to be rotated either CW or CCW, and the USB port orientation should be set based on that horizontal orientation).


As some of the comments have pointed out, this is not always followed by all manufacturers. But it is in the USB specification. Referring to the USB 2.0 spec:

6.5.1: The USB Icon is embossed, in a recessed area, on the topside of the USB plug. This provides easy user recognition and facilitates alignment during the mating process. The USB Icon and Manufacturer’s logo should not project beyond the overmold surface. The USB Icon is required, while the Manufacturer’s logo is recommended, for both Series “A” and “B” plug assemblies. The USB Icon is also located adjacent to each receptacle. Receptacles should be oriented to allow the Icon on the plug to be visible during the mating process.

Nick2253
  • 364
  • 3
  • 5