All specs
WICG Web SerialW3CNicheProduct

Web Serial API

Device Access & Sensors·World Wide Web Consortium
WHY YOU NEED THIS

Enables web-based communication with serial devices: Arduino/microcontroller consoles, GPS receivers, lab equipment, POS terminals, and CNC machines. Uses the Streams API for data flow.

What It Defines

Defines navigator.serial.requestPort() for accessing serial ports (USB-to-serial adapters, Bluetooth serial, built-in UART). Supports baud rate, data bits, stop bits, parity, flow control, and readable/writable streams for data transfer.

Canonical (Normative)

Convenient (Practical)

serialuarthardwaremicrocontrollerdevice-accessbrowser
Standards Body
World Wide Web Consortium

Publishes web platform specs including CSS, accessibility, security policies, Service Workers, Web App Manifest, and many browser APIs. Also maintains some versioned HTML/DOM specs.

Visit

Related Specs

WICG WebUSBW3CNiche

WebUSB

Enables web-based firmware updates, microcontroller programming (Arduino, ESP32), and custom USB device control without native drivers. Chrome-only but the only web path to raw USB access.

ProductDevice Access & Sensors
Details
WHATWG StreamsWHATWGShould Know

Streams

Streams are how modern browsers handle large data: fetch response bodies, file reads, compression, and encoding are all stream-based. Understanding backpressure and piping is essential for efficient data processing.

ProductBrowser Platform
Details
W3C PermissionsW3CMust Know

Permissions

The gating mechanism for every sensitive browser API. Check permission state before requesting access to avoid unexpected prompt dialogs. The change event lets you react when users revoke permissions in browser settings.

ProductDevice Access & Sensors
Details