Web BluetoothLimited availability
The Web Bluetooth API enables selecting and communicating with nearby Bluetooth devices.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–69Not supported
70+Supportedsince Oct 16, 2018
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18–55Not supported
56+Supportedsince Feb 1, 2017
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Firefox, 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: Bluetooth.
Feature detection
JS · check before using
if ("Bluetooth" in globalThis) {
// Bluetooth is available
} else {
// load a polyfill or use a fallback
}Sub-features
Support for each part of the feature (61). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Bluetooth | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| Bluetooth.getAvailability | ✕ | ✕ | ✕ | ✕ | 78 | ✕ | ✕ |
| Bluetooth.getDevices | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ |
| Bluetooth.requestDevice | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| Bluetooth.requestDevice.options_exclusionFilters_parameter | ✕ | ✕ | ✕ | ✕ | 114 | ✕ | ✕ |
| Bluetooth.requestDevice.options_filter_manufacturerData_parameter | ✕ | ✕ | ✕ | ✕ | 92 | ✕ | ✕ |
| BluetoothCharacteristicProperties | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.authenticatedSignedWrites | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.broadcast | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.indicate | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.notify | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.read | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.reliableWrite | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.writableAuxiliaries | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.write | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothCharacteristicProperties.writeWithoutResponse | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothDevice | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothDevice.gatt | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothDevice.gattserverdisconnected_event | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |
| BluetoothDevice.id | ✕ | ✕ | ✕ | ✕ | 56 | ✕ | ✕ |