---
title: USBDevice.serialNumber
slug: Web/API/USBDevice/serialNumber
tags:
  - API
  - Property
  - Reference
  - USB
  - USBDevice
  - WebUSB
  - WebUSB API
  - serialNumber
browser-compat: api.USBDevice.serialNumber
---
{{SeeCompatTable}}{{APIRef("WebUSB API")}}

The **`serialNumber`** read only property of the
{{domxref("USBDevice")}} interface is the manufacturer-defined serial number for the
specific USB device.

## Syntax

```js
var serialNumber = USBDevice.serialNumber
```

### Value

The serial number for the specified USB device

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
