Device Test
Check your microphone, webcam, keyboard, mouse clicks, space bar or game controller, right in the browser. Every test runs on this device: nothing is recorded or uploaded.
This browser
6 tests
Pick a test. Each runs in this tab, and nothing is recorded or uploaded.
Every test runs on this device. Nothing is recorded or uploaded.
How this works: Method, 9 sources, Checked against 11 worked examples,
How this works
Method
Every test uses your browser’s own interfaces, in this tab only. The mic test measures the microphone’s samples with the Web Audio API (their RMS level in dB relative to full scale), the webcam test reads the size and counts the frames of the video the camera actually delivers, the keyboard, click and spacebar tests count the key and pointer events the page receives, and the gamepad tester reads the Gamepad API once per screen refresh. Nothing is recorded to storage or sent anywhere: a recording or snapshot stays in the tab’s memory until you delete it or leave.
Sources
- Media Capture and Streams (W3C)
- MediaDevices: getUserMedia() (MDN)
- Web Audio API (W3C)
- MediaStream Recording (W3C)
- UI Events KeyboardEvent code Values (W3C)
- UI Events (W3C)
- Pointer Events (W3C)
- Gamepad (W3C)
- Gamepad API (MDN)
How it’s tested
11 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Changes
- First version: mic, webcam, keyboard, click speed, spacebar and gamepad tests, all on the device.
Nothing is recorded or uploaded
Each test uses the browser’s own interfaces and nothing else. The mic and webcam tests ask for the device with getUserMedia (Media Capture and Streams), and the sound and picture go from the device into this tab, where the meter and the preview show them. There is no server on the other end and nothing is stored: the 5 second recording and the webcam snapshot are kept in the tab’s memory until you delete them or leave the page.
The keyboard, click and spacebar tests count events on this page (UI Events, Pointer Events), and the gamepad tester reads the controller with the Gamepad API (Gamepad). As soon as you press Stop or leave the page, the microphone and camera are released, and your browser’s recording indicator goes out.
You don’t have to take our word for it: the “On this device” line at the foot of every page counts every request the page makes, and lists them when you tap it. During a test it stays at 0 uploads.
Which test do you need?
For a video call, check the microphone first (can people hear you, and is it the headset or the laptop’s own mic?), then the webcam (is the picture there, and at what resolution?). For a new or second-hand keyboard, press every key in the keyboard test and hold a few together to check rollover. For gaming, the click speed test and the spacebar counter measure how fast you are, and the gamepad tester shows every button of a controller and whether its sticks drift.
Sources
Frequently Asked Questions
Are these tests private?
Yes. Every test runs in your browser. The microphone and camera streams go to this tab and nowhere else, a recording or snapshot stays in the tab’s memory until you delete it or leave, and key presses and clicks are only counted on the page. The “On this device” counter at the foot of every page lists what the page has sent: 0 uploads.
Why does the browser ask for permission?
Browsers never let a page use the microphone or camera without asking you first. Choose Allow to run the test. You can take it back at any time in the site settings, the icon at the left of the address bar, and the tests stop the device as soon as you press Stop or leave the page.
Do the tests work on phones and tablets?
The mic, webcam, click speed and spacebar tests work on phones and tablets: tap instead of clicking, and the spacebar counter has a big bar to tap. The keyboard test needs a physical keyboard, and the gamepad tester a controller connected to the phone or tablet.
Which browsers are supported?
Current versions of Chrome, Edge, Firefox and Safari, on computers and phones. The camera and microphone only work on secure (https://) pages, and some in-app browsers (inside social or chat apps) block them: open the page in your main browser if a test says it is unavailable.