Web serialLimited availability
The navigator.serial API communicates with devices over serial ports, such as microcontrollers.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–88Not supported
89+Supportedsince Mar 2, 2021
Current: 155Edge
12–88Not supported
89+Supportedsince Mar 4, 2021
Current: 154Firefox
1–150Not supported
151+Supportedsince May 19, 2026
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18–147Not supported
148+Supportedsince May 5, 2026
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Safari, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: serial.
Feature detection
JS · check before using
if ("Serial" in globalThis) {
// Serial is available
} else {
// load a polyfill or use a fallback
}Documentation (MDN)
Specification
Usage share
Sub-features
Support for each part of the feature (24). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Navigator.serial | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| Serial | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| Serial.getPorts | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| Serial.requestPort | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| Serial.requestPort.allowedBluetoothServiceClassIds_option | 117 | 117 | ✕ | ✕ | 148 | ✕ | ✕ |
| Serial.requestPort.filters_bluetoothServiceClassId | 117 | 117 | ✕ | ✕ | 148 | ✕ | ✕ |
| SerialPort | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.close | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.connect_event | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.connect_event.bluetooth_rfcomm | 130 | 130 | ✕ | ✕ | 148 | ✕ | ✕ |
| SerialPort.connected | 130 | 130 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.disconnect_event | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.disconnect_event.bluetooth_rfcomm | 130 | 130 | ✕ | ✕ | 148 | ✕ | ✕ |
| SerialPort.forget | 103 | 103 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.getInfo | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.getInfo.bluetoothServiceClassId | 117 | 117 | ✕ | ✕ | 148 | ✕ | ✕ |
| SerialPort.getSignals | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.open | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.readable | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| SerialPort.setSignals | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
Show 4 more
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| SerialPort.writable | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| WorkerNavigator.serial | 89 | 89 | 151 | ✕ | 148 | ✕ | ✕ |
| iframe.allow.serial | 89 | 89 | 151 | ✕ | 89 | ✕ | ✕ |
| http.headers.Permissions-Policy.serial | 89 | 89 | ✕ | ✕ | 89 | ✕ | ✕ |