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 arrow_forward
Hero Image

Learn About New APIs

Web USB
WebUSB
For devices needing unique IDs or advanced USB communication.

Explore WebUSB

arrow_right_alt
Web Serial
WebSerial
For peripherals communicating over serial ports fast and simple.

Explore WebSerial

arrow_right_alt

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
Yes
close
No
Driver Requirement (Windows)
info
Requires WinUSB driver setup
check
No driver required
Supported Platforms
Windows / macOS / Linux / ChromeOS
Windows / macOS / Linux / ChromeOS
Connection Type
check
USB
check
USB / Bluetooth
Data Type
check
Structured packets
check
Streamed data

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.

Read the overview

arrow_right_alt
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.

Explore now

arrow_right_alt

Developer Tools & References

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

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