For Developers
Enable direct serial communication between Chrome and your devices using JavaScript no native installation or system drivers required.
The WebSerial API allows websites to connect directly to devices that communicate over serial ports or Bluetooth RFCOMM channels.
It’s ideal for devices such as microcontrollers, sensors, point-of-sale peripherals, and other embedded hardware all from within the browser.
Chrome manages permissions and connections securely, making it simple for developers to exchange serial data without custom driver installation.
The WebSerial API opens a secure, permission-based serial channel between Chrome and your device, enabling direct read/write access through JavaScript.
check_small Communicate with serial devices directly in the browser
check_small No additional drivers needed for most USB-to-Serial adapters
check_small Works across major platforms — Windows, macOS, Linux, ChromeOS
check_small Supports both physical serial ports and Bluetooth RFCOMM
check_small Secure permission prompt before any serial connection opens.
Testing & Development
You can test WebSerial connections directly from Chrome DevTools or using browser-based sample apps.For devices using USB-to-Serial adapters, no additional drivers are needed on most platforms.
Device Configuration & Debugging
Connect to and configure embedded devices directly from the browser ideal for microcontrollers, development boards, or robotics systems.
Real-Time Data Streaming
Stream live data from sensors, IoT modules, or diagnostic tools for monitoring and analytics dashboards.
Industrial & POS Control
Manage and control lab instruments, industrial peripherals, or point-of-sale systems using secure, browser-based interfaces.
Education & Prototyping
Enable students and engineers to experiment with serial devices without installing extra software.
Developer Docs
Explore technical documentation, permission models, and API methods.
Go to Docs arrow_forwardGitHub Samples
Browse live sample projects to test device connections using WebSerial.
View Samples arrow_forwardCompatibility Information
Works On
Windows, macOS, Linux, ChromeOS
Not Supported
iOS
Bluetooth Support:
Partial (RFCOMM channels)
settings Key Technical Notes
settings Windows-only Setup Note
When to Use WebSerial
Use WebSerial when your device
Tags