---
title: "Firefox 151 adds Web Serial API support for hardware communication"
url: https://daily.dev/posts/firefox-151-adds-web-serial-api-support-for-hardware-communication-1qq1wm39w
source_url: https://daily.dev/posts/firefox-151-adds-web-serial-api-support-for-hardware-communication-1qq1wm39w
type: collection
source: "Collections"
published: 2026-05-24T22:48:14.443Z
updated: 2026-06-25T02:16:22.065Z
tags: ["firefox", "webdev"]
reading_time: 1
upvotes: 4
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Firefox 151 adds Web Serial API support for hardware communication

**[Collections](https://daily.dev/sources/collections)** · 1 min read · 4 upvotes · 2 comments

## Summary

Firefox 151 adds support for the Web Serial API, enabling web apps to communicate directly with serial-connected hardware like microcontrollers, 3D printers, and development boards without native software. Mozilla collaborated with Adafruit to validate the implementation, which now supports tools like WebSerial ESPTool for ESP32 flashing and CircuitPython workflows on Raspberry Pi Pico and LEGO hardware. The security model requires explicit user permission and uses add-on gating to prevent fingerprinting. Enterprise deployments have the API disabled by default. Mozilla is also pushing for WHATWG standardization, closing a gap with Chrome that has supported the API for some time.

## Content

Firefox 151 for desktop now supports the [Web Serial API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API), letting web apps talk directly to serial-connected hardware without any native software installed. That means microcontrollers, development boards, 3D printers, USB power meters, and similar devices can be accessed straight from the browser.

Mozilla worked with Adafruit to test and validate the implementation against real-world workflows. Adafruit's browser-based tools — including the WebSerial ESPTool used to flash ESP32 boards — now work in Firefox. CircuitPython workflows on devices like Raspberry Pi Pico and LEGO hardware are supported as well.

## Security model

Firefox won't silently enumerate connected devices. Access requires an explicit user permission prompt, and the implementation uses add-on gating to prevent fingerprinting exposure. Enterprise deployments have Web Serial disabled by default, with policy controls available for IT administrators who want to manage access.

## Standardization

Mozilla is also pushing to get the Web Serial API standardized through WHATWG. Chrome has supported the API for a while, so Firefox 151 closes a meaningful gap for makers, educators, and embedded-device communities who've been waiting to use browser-based hardware tools without switching browsers.

## Community discussion

Top comments from developers on daily.dev.

**@allinonetools** · 1 upvotes

> Nice to see Firefox finally adding Web Serial. I've had to switch browsers a few times just to flash boards and test hardware, so this removes a lot of unnecessary friction for makers and students.

**@petermrozek** · 0 upvotes

> Cool. Maybe WebMIDI is somewhere on the drawing board as well? Keeping my fingers crossed. 😉
>
> EDIT: Actually... 😁 It seems I've been keeping my fingers crossed for so long without checking that it got implemented over 40 versions ago, in 108. 😅

## Similar posts on daily.dev

- [Build Adafruit projects right from Firefox](https://daily.dev/posts/build-adafruit-projects-right-from-firefox-xcmr3qtu7) · Hacker News · 1 upvotes · 0 comments
- [Firefox is cooking again](https://daily.dev/posts/firefox-is-cooking-again-mhu1kt5o3) · Bytes by ui.dev · 147 upvotes · 38 comments

---

Tags: [#firefox](https://daily.dev/tags/firefox), [#webdev](https://daily.dev/tags/webdev)

[View this post on daily.dev](https://daily.dev/posts/firefox-151-adds-web-serial-api-support-for-hardware-communication-1qq1wm39w)
