Where can I find the vendor ID and product ID for a USB device? They are given by the company who manufactured the USB, right?

  • Somewhat related app note by FTDI: USB Vendor ID / Product ID Guidelines. – Nick Alexeev Jul 28 '16 at 20:05
  • 1
    You want to get these IDs for a device you have, or you want to create a new device? – Eugene Sh. Jul 28 '16 at 20:05
  • @EugeneSh. For a device I have – lads Jul 28 '16 at 20:09
  • See my answer.. – Eugene Sh. Jul 28 '16 at 20:10

On Windows: Assuming your device is connected to the computer, go to "Device manager", find your device, right click on it, select "Properties", go to "Details" tab, select "Hardware IDs" from the drop-down, and you will find an entry of a form:


which are correspondingly vendor and product IDs.

On Linux: Run the following command from your terminal:


You will see pairs VID:PID near the names of all of the USB devices connected..


How can I get the vendor id and the PID for a USB device?

If you are running Windows then you can USBDeview from NirSoft.

Screenshot showing VendorID and ProductID (PID):

Enter image description here

USBDeview is a small utility that lists all USB devices that currently connected to your computer, as well as all USB devices that you previously used.

For each USB device, extended information is displayed: Device name/description, device type, serial number (for mass storage devices), the date/time that device was added, VendorID, ProductID, and more...

USBDeview also allows you to uninstall USB devices that you previously used, disconnect USB devices that are currently connected to your computer, as well as to disable and enable USB devices.

You can also use USBDeview on a remote computer, as long as you login to that computer with admin user.


I am not affiliated with NirSoft in any way; I am just an end user of their software.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.