Web Serial API browser support
Published Updated
The Web Serial API lets a web app request a serial port through navigator.serial.requestPort(), filtered by USB vendor ID, and read or write through the port’s readable and writable streams. Both streams are null until port.open({ baudRate }) resolves. Requesting a port requires a secure context and transient user activation. If no port matches, the picker has no options and the request rejects.
MDN browser-compat-data records support for navigator.serial.requestPort() and the core Serial interface. On Chrome for Android, versions 138 to 146 exposed only serial ports provided through Bluetooth RFCOMM emulation; full support arrived in 148.
- Legend
- Yes
- Partial
- Flag
- No
- Unknown
| Browser / Platform | Support | Versions | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop)# | Yes | 89 | high | source | — |
| Chrome (Android)# | Partial | 138 → 148 | high | source | 1 |
| Edge (Desktop)# | Yes | 89 | high | source | 2 |
| Firefox (Desktop)# | Yes | 151 | high | source | — |
| Firefox (Android)# | No | — | high | source | 3 |
| Safari (macOS)# | No | — | high | source | 4 |
| Safari (iOS)# | No | — | high | source | 56 |
| Samsung Internet# | Partial | 30.0 → 31.0 | high | source | 78 |
| WebView (Android)# | No | — | high | source | 9 |
- Serial ports are only available if they're provided by Bluetooth RFCOMM serial port emulation.
- Derived by browser-compat-data mirroring from Chrome.
- No Firefox for Android support is recorded in browser-compat-data.
- 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.
- Serial ports are only available if they're provided by Bluetooth RFCOMM serial port emulation.
- Derived by browser-compat-data mirroring from Chrome Android.
- Implementation tracking: https://crbug.com/40740509.
See also
Section titled “See also”- Web Serial API device access with navigator.serial
- WebHID API browser support
- Web Serial API (wicg.github.io)
- Web Serial API (developer.mozilla.org)