{
  "slug": "web-serial",
  "name": "Web Serial API",
  "category": "Capabilities",
  "summary": "The Web Serial API lets a web app request access to a serial port via navigator.serial.requestPort() and read/write data to it. It is a WICG specification.",
  "name_zh": "Web Serial API（网页串口）",
  "summary_zh": "Web Serial API 让 Web 应用通过 navigator.serial.requestPort() 请求访问串口并读写数据。它是 WICG 规范。",
  "spec_url": "https://wicg.github.io/serial/",
  "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API",
  "confidence": "high",
  "verified_at": "2026-10-03",
  "support": [
    {
      "target": "Chrome (Desktop)",
      "os": "Desktop",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "89",
      "version_full": "89",
      "applicable": true,
      "notes": [],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-09-02",
      "confidence": "high"
    },
    {
      "target": "Chrome (Android)",
      "os": "Android",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "148",
      "version_full": "148",
      "applicable": true,
      "notes": [],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Edge (Desktop)",
      "os": "Desktop",
      "browser": "edge",
      "engine": "blink",
      "status": "yes",
      "version_added": "89",
      "version_full": "89",
      "applicable": true,
      "notes": [
        {
          "text": "Derived by browser-compat-data mirroring from Chrome.",
          "text_zh": "由 browser-compat-data 镜像自 Chrome 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Firefox (Desktop)",
      "os": "Desktop",
      "browser": "firefox",
      "engine": "gecko",
      "status": "yes",
      "version_added": "151",
      "version_full": "151",
      "applicable": true,
      "notes": [],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-09-02",
      "confidence": "high"
    },
    {
      "target": "Firefox (Android)",
      "os": "Android",
      "browser": "firefox",
      "engine": "gecko",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No Firefox for Android support is recorded in browser-compat-data.",
          "text_zh": "browser-compat-data 未记录 Firefox for Android 的支持。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Safari (macOS)",
      "os": "macOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No Safari support is recorded in browser-compat-data.",
          "text_zh": "browser-compat-data 未记录 Safari 的支持。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Safari (iOS)",
      "os": "iOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No Safari on iOS support is recorded in browser-compat-data.",
          "text_zh": "browser-compat-data 未记录 iOS 版 Safari 的支持。"
        },
        {
          "text": "Derived by browser-compat-data mirroring from Safari.",
          "text_zh": "由 browser-compat-data 镜像自 Safari 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Samsung Internet",
      "os": "Android",
      "browser": "samsung",
      "engine": "blink",
      "status": "partial",
      "version_added": "30.0",
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "Serial ports are only available if they're provided by Bluetooth RFCOMM serial port emulation.",
          "text_zh": "仅当串口由蓝牙 RFCOMM 串口仿真提供时才可用。"
        },
        {
          "text": "Derived by browser-compat-data mirroring from Chrome Android.",
          "text_zh": "由 browser-compat-data 镜像自 Chrome Android 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "WebView (Android)",
      "os": "Android",
      "browser": "webview",
      "engine": "blink",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "Implementation tracking: https://crbug.com/40740509.",
          "text_zh": "实现跟踪：https://crbug.com/40740509。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Serial.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    }
  ],
  "biz_compat": [],
  "generated_by": "OpenPWA compatibility explorer",
  "licence": "CC BY 4.0",
  "licence_url": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "OpenPWA — https://openpwa.net",
  "attribution_html": "<a href=\"https://openpwa.net\">OpenPWA</a>, <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>"
}