leonllr / browser system I/O API test bench

Browser system I/O test bench

Every API of this page is run for real against your hardware and files, nothing is simulated and nothing leaves your browser. Most of them only work over HTTPS, from a click, and in Chromium-based browsers (Chrome, Edge, Opera); some only on Android or with flags (chrome://flags/#enable-experimental-web-platform-features).

API support in this browser

Permission states

From navigator.permissions.query(), updated live when they change.

Environment

Web Bluetooth navigator.bluetooth

Find a Bluetooth Low Energy device, connect to its GATT server, browse services and characteristics, then read, write and subscribe to notifications. Services must be listed (filter or optional services) to be reachable after connecting.

Request a device

Device

no device
Scan all advertisements (requestLEScan, experimental flag)

Web Serial navigator.serial

Open a serial port (USB-serial adapter, Arduino, ESP32, 3D printer, Bluetooth RFCOMM…), stream what it sends and write to it.

Port

Settings

closed

Control signals

Terminal

RX 0 B · TX 0 B

   

WebUSB navigator.usb

Talk to a USB device without a driver: read its descriptors, claim interfaces and run control, bulk and interrupt transfers. Interfaces of protected classes (HID, mass storage, audio/video, smart card…) and devices already owned by an OS driver cannot be claimed. On Windows a device must use the WinUSB driver to be opened.

Device

no device
(no device selected)

Configuration & interfaces

Control transfer

Bulk / interrupt transfer

WebHID navigator.hid

Open a Human Interface Device (gamepad, macro pad, barcode scanner, LED controller, UPS, custom firmware…), inspect its report descriptor and exchange input, output and feature reports. Keyboards and mice are protected and mostly unreadable.

Device

no device
Report descriptor (collections)
(no device selected)

Input reports

0 reports/s
last input report: —

Send

Web NFC NDEFReader

Read and write NDEF tags. Chrome on Android only, the screen must stay on and unlocked; hold the tag against the back of the phone.

idle

Write a tag

Web MIDI navigator.requestMIDIAccess

List MIDI ports, monitor every incoming message and send notes, controllers, program changes, pitch bend or raw bytes (including SysEx).

dirnamemanufacturerstateconnectionid

Send

Play with the mouse, touch or your computer keyboard (A W S E D F T G Y H U J K). Incoming notes light up the keys.

File System Access showOpenFilePicker

Open, edit and save real files and folders of your disk. Edits are written to the actual file, so use a copy if it matters.

Drop files or folders here (getAsFileSystemHandle())

Folder

(no folder open)

File

Origin Private File System navigator.storage.getDirectory

A private, sandboxed file system for this site. Files survive reloads but are invisible from the OS. Includes a speed test with the synchronous access handle used by SQLite-wasm.

Tree

(click Show tree)

Content

Speed test

Media Capture & Streams navigator.mediaDevices

Cameras, microphones and screen capture: pick a device and constraints, inspect what the hardware really delivers, tune camera controls live, take photos and record.

kindlabeldeviceIdgroupId

Camera & microphone (getUserMedia)

Screen capture (getDisplayMedia)

Camera / mic preview

mic level

Screen preview

Tracks (settings, capabilities, live controls)

No live track.

Recording (MediaRecorder)

Web Audio AudioContext

Generate sound, test every output channel, route the microphone, pick the output device and look at the signal. Start at a low volume.

Output device

Signal generator

Microphone input

Sensors Generic Sensor API · DeviceMotionEvent

Raw readings from the motion and environment sensors of the device (mostly phones, tablets and some laptops).

Legacy events (work on iOS / Firefox too)

devicemotion

—

deviceorientation

—

Gamepad navigator.getGamepads

Connect a controller and press any button so the browser exposes it. Every button, trigger and axis is shown live; rumble works on most Xbox / PlayStation pads.

No gamepad yet — connect one and press a button.

Async Clipboard navigator.clipboard

Read and write text, HTML, images and custom formats on the system clipboard.

Click here and press Ctrl+V / ⌘V to inspect a paste event (no permission needed)

Other system APIs

Location, vibration, power, network, screens, fonts, notifications, GPU and other bits of the system reachable from a page.

Part of leonllr.ch · source code · cookie settings