WebHID API browser support
Published
The WebHID API lets a web app request access to non-standard Human Interface Devices through navigator.hid.requestDevice(), filtered by vendor ID, and exchange input, output, and feature reports with them. requestDevice() resolves with an array of the HID interfaces the chosen device exposes (empty when the user closes the picker), and a device must be opened with open() before sendReport() succeeds; calling it on a closed device rejects with InvalidStateError.
The table covers navigator.hid.requestDevice() and the core HID interface, derived from MDN browser-compat-data.
- Legend
- Yes
- Partial
- Flag
- No
- Unknown
| Browser / Platform | Support | Versions | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop) | Yes | 89 | high | source | — |
| Chrome (Android) | No | — | high | source | 1 |
| Edge (Desktop) | Yes | 89 | 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 | No | — | high | source | 910 |
| WebView (Android) | No | — | high | source | 1112 |
- No Chrome Android support is recorded in browser-compat-data.
- 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.
- No Samsung Internet support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Chrome Android.
- No WebView Android support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Chrome Android.
See also
Section titled “See also”- WebHID API: navigator.hid device access from the web
- Web Serial API browser support
- WebHID API (wicg.github.io)
- WebHID API (developer.mozilla.org)