Skip to main content
For Developers

How Chrome Connects to Peripherals

Cross platform reach, simpler deployment, faster iteration all through JavaScript drivers that run natively in Chrome.

Learn More about how Chrome connects to peripherals
Hero Image

Learn About New APIs

Web USB
WebUSB
For devices needing unique IDs or advanced USB communication. Explore WebUSB
Web Serial
WebSerial
For peripherals communicating over serial ports fast and simple. Explore WebSerial

Choosing the Right API

Compare WebUSB and WebSerial to find the best fit for your device.

Feature
WebUSB
WebSerial
Ideal for

Devices requiring structured USB communication

Devices using standard serial protocols

Device Identification
check
close
Driver Requirement (Windows)
info
check
Supported Platforms

Windows / macOS / Linux / ChromeOS

Windows / macOS / Linux / ChromeOS

Connection Type
check
check
Data Type
check
check

Learn With The Official Docs

Start here for the concepts then dive into the developer.chrome.com articles and samples for code.

Build web-connected devices FEATURED
Build web-connected devices

See how Chrome enables direct device access from the browser using WebUSB and WebSerial, with minimal OS-specific setup.

What's new for device access in Chrome LATEST NEWS
What's new for device access in Chrome

Stay current on API changes, samples, and guidance added to the docs.

Developer Tools & References

Access official documentation, samples, and testing resources to build and validate your JavaScript drivers.

API Overview
API Overview
Learn how to choose the right API (WebUSB or WebSerial) for your device
Samples & Quickstarts
Samples & Quickstarts
Explore sample code, permission prompts, and 'hello-device' walkthroughs.
Testing & Troubleshooting
Testing & Troubleshooting
Find tips for debugging device connections and verifying API support.