WebUSB API browser support
Published
The WebUSB API lets a web app request access to a non-standard USB device through navigator.usb.requestDevice(), filtered by vendor and product ID, and communicate with it directly after open(). The configuration and interface numbers to select and claim come from the device’s own descriptors in device.configurations; claimInterface() takes an interface for exclusive use until releaseInterface() or close(). The request needs a secure context and transient user activation.
The table covers navigator.usb.requestDevice() and the core device pairing flow, derived from MDN browser-compat-data.
- Legend
- Yes
- Partial
- Flag
- No
- Unknown
| Browser / Platform | Support | Versions | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop) | Yes | 61 | high | source | — |
| Chrome (Android) | Yes | 61 | high | source | 1 |
| Edge (Desktop) | Yes | 79 | high | source | 2 |
| Firefox (Desktop) | No | — | high | source | 3 |
| Firefox (Android) | No | — | high | source | 45 |
| Safari (macOS) | No | — | high | source | 6 |
| Safari (iOS) | No | — | high | source | 78 |
| Samsung Internet | Yes | 8.0 | high | source | 9 |
| WebView (Android) | No | — | high | source | 10 |
| Opera | Yes | 48 | high | source | — |
- Derived by browser-compat-data mirroring from Chrome.
- Derived by browser-compat-data mirroring from Chrome.
- No Firefox support is recorded in browser-compat-data.
- No Firefox for Android support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Firefox.
- No Safari support is recorded in browser-compat-data.
- No Safari on iOS support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Safari.
- Derived by browser-compat-data mirroring from Chrome Android.
- No WebView Android support is recorded in browser-compat-data.
See also
Section titled “See also”- WebUSB API: connecting to non-standard USB devices from the web
- Web Bluetooth API browser support
- WebUSB API (wicg.github.io)
- WebUSB API (developer.mozilla.org)