Connect a website to a USB, Serial, or HID device

Chrome lets you connect a website to your computer’s USB, Serial, and HID devices. For example, keyboard, headset, speaker, gamepad, camera, and even microcontroller. On Android, you can connect a website to a USB device.

Important: Currently, iPhone and iPad don’t allow USB, Serial, or HID devices to connect to webpages in Chrome.

When to give access to your device

Only give device access to a trusted site. If you pair a website with your device, the site gets all the information on the device and can even reprogram it. You can choose your default permission setting for these devices on your computer.

  1. Open Chrome .
  2. At the top right, click More More and then Settings.
  3. Click Privacy and security and then Site Settings and then Additional permissions.
  4. Choose your device type:
    • USB devices
    • Serial ports
    • HID devices
  5. To choose a default setting, select an option.

Pair a webpage in Chrome with your device

  1. Connect your device with the appropriate cables.
    • You can also connect HID devices to your device via Bluetooth.
  2. In Chrome, open a webpage that can connect to your device.
  3. Click or tap the page. You'll be asked to add a device.
  4. Choose a device from the list.
  5. Select Pair or Connect.

Tip: To access the connected device on the Linux system, the udev rule needs to be configured appropriately.

Remove a website's access to your device

  1. On the left of the web address, tap View site information Default (Secure).
  2. Next to the USB device, Serial port, or HID device, tap Remove Remove.

Was this helpful?

How can we improve it?
8163583854626375130
true
Search Help Center
true
true
true
true
true
237
Search
Clear search
Close search
Main menu
false
false
false