Webcam Tester
Preview your camera and check the resolution and frame rate it really delivers.
Camera controls
0 cameras foundPick a camera and a resolution, then start the preview. The readout on the right shows what the camera actually delivers.
Requested
1280×720 · 30 fps
ideal · front camera
Delivered
not reported · not reported
No camera selected
Shortcuts: Mod+Enter starts or stops, M mirrors, S saves a snapshot, F opens fullscreen.
Camera diagnostics
No previewCamera preview is off
Start the preview to see the image and the settings your browser actually receives.
Examples
720p call check
Camera: default · Preset: 1280×720 · 30 fps · Mirror onDelivered 1280×720 at 30 fps; measured 29.8 fps, 2.1 ms jitterA normal built-in webcam. The image looks natural in the mirrored self-view, and the snapshot will be mirrored too.
720p camera asked for 1080p
Preset: 1920×1080 · 30 fps on a 720p cameraDelivered 1280×720 at 30 fps; supported width 320–1280 pxIdeal constraints fall back to the closest mode. The capability range explains the fallback instead of presenting it as an error.
Claimed 60 fps, delivered 30
Preset: 1280×720 · 60 fpsDelivered 1280×720 at 30 fps; measured 30.1 fps with high interval jitterThe requested value and the track settings disagree; the measured counter and jitter confirm which one to trust.
About this tool
The Webcam Tester opens a live, local preview of any camera your browser can see and shows what the device actually delivers instead of what you asked for. It calls getUserMedia with ideal constraints, attaches the stream to a video element, and reads the running track's getSettings() result next to your requested resolution and frame rate. When a 720p webcam cannot deliver 1080p, the readout says 1280×720 — not the 1920×1080 you selected.
The device list comes from enumerateDevices() and refreshes when permission is granted, when you open the picker, and whenever the browser fires devicechange. Built-in webcams, USB cameras, and virtual cameras such as OBS all appear as ordinary choices; switching one stops the old tracks before requesting the new device, so the camera indicator turns off instead of leaving a hidden stream running. A front or back camera switch is also available for phones, where device labels are often cryptic.
Four resolution presets — 320×240, 640×480, 1280×720 and 1920×1080 — cover the usual webcam modes, with 30 or 60 fps targets. Ideal constraints choose the closest available mode and never make the preview fail; exact mode is available when you deliberately want a strict request and are prepared for a rejection. Custom width, height and frame rate fields cover cases the presets cannot express, such as 4K capture or 25/50 fps video common outside North America.
Measured frame rate is counted from requestVideoFrameCallback callbacks over a rolling two-second window, so it reflects frames the browser really received rather than a number from the camera's spec sheet. Where that API is missing, the tool falls back to animation frames and labels the estimate approximate. It also reports interval jitter: a camera that alternates fast and slow frames can average 30 fps while still looking choppy, and the jitter number makes that visible.
Snapshots are drawn from the video frame to a canvas and downloaded as PNG files; the mirror setting is honored in the saved image as well as the on-screen preview, so a mirrored selfie does not come back reversed. The diagnostics report copies requested settings, delivered settings, capability ranges, measured fps and any error code as plain text for a support ticket. Nothing is uploaded, recorded, or analyzed remotely — the video never leaves your browser tab.
What this tool does not do
- Camera capture requires a secure context: https or localhost. Plain http pages cannot call getUserMedia.
- A browser or operating system may keep a camera exclusive; if another app holds it, the tool reports NotReadableError rather than forcing access.
- requestVideoFrameCallback is unavailable in older browsers; the fallback rAF counter is labeled approximate and cannot measure exact media-time jitter.
- Multi-camera grids, recording, filters, and audio capture are deliberately out of scope — this tool previews and diagnoses one video track at a time.
How to use this tool
Choose a camera and start
Pick a device from the Camera list (Default camera is fine) and press Start preview. Allow camera access when the browser asks. The image appears as soon as the stream is attached.
Set a resolution and frame rate
Use a preset chip or enter custom width, height and fps. Changes apply to the running track with applyConstraints; if the camera rejects them, the tool re-requests the stream with the same settings.
Read the delivered values
Compare Requested with Delivered in the settings table. Capability ranges explain what the camera supports, and the measured counter plus jitter show real frame pacing.
Save a snapshot or report
Press Snapshot to download a PNG (mirrored if the preview is mirrored), or use Copy diagnostics to paste a plain-text report into a bug ticket.
Use cases
Pre-meeting camera check
Open the page before a video call, confirm the image and lighting, and verify the camera is not already held by another app — all without installing a platform-specific utility.
Streaming equipment validation
Switch an external USB or capture camera, request 1080p60, and compare delivered settings, capability ranges and real frame pacing before going live.
Constraint debugging
Reproduce getUserMedia behavior with exact or custom constraints, capture the error code, and copy a diagnostics report that shows the request beside the delivered values.
Requested constraints and what they mean
| Setting | Behavior |
|---|---|
| 320×240 / 640×480 | 4:3 modes used by older webcams; the preview letterboxes rather than cropping the frame |
| 1280×720 / 1920×1080 | 16:9 HD and Full HD targets, the usual preset for meeting software |
| Custom size | Any whole-number width and height up to 7680×4320; very high values may be rejected or delivered at lower fps |
| Ideal mode | Browser picks the closest supported mode and normally never fails |
| Exact mode | Browser must match the value or the request fails; useful for reproducing constraint bugs |
| 30 / 60 fps | Ideal frame-rate targets; the delivered rate can be lower and the measured counter reveals it |
An exact deviceId is used when you select a camera, so a device that was unplugged fails clearly instead of silently switching to another one.
Common mistakes
Mistake:Trusting the requested resolution instead of the delivered one.
Fix:getSettings() is the source of truth. Ideal constraints may fall back to a lower mode, and the table explicitly labels the values the camera returned.
Mistake:Believing an averaged fps number rules out stutter.
Fix:Check the jitter readout too. Irregular intervals with the same average look choppy; requestVideoFrameCallback mediaTime is used when available to measure the variation.
Mistake:Wondering why the saved snapshot is reversed.
Fix:Mirror is applied to the canvas draw as well as the video element, so a mirrored preview produces a mirrored PNG. Turn mirror off before capturing if you want the raw camera image.
Frequently asked questions
Why is my camera not detected?
First press Refresh devices: cameras plugged in after the page loaded appear when the browser fires devicechange. If the list is still empty, allow camera permission once — some browsers hide device labels until access is granted — then check that the OS recognizes the camera and that it is not disabled. USB cameras may need a different port, and virtual cameras such as OBS appear as videoinput devices too.
How do I fix camera permission denied?
Click the lock or camera icon beside the address bar and set Camera to Allow, then reload the page and press Start preview. In Chrome and Edge this lives in Site settings; Firefox uses the padlock menu; Safari uses Settings for This Website. If a policy or another tab has blocked the camera, the error card shows the exact code so you know which case you are in.
What resolution is my webcam actually outputting?
The Delivered column reads the live track's getSettings() values, not your request. If you asked for 1920×1080 and the camera only supports 1280×720, the preview shows 1280×720 and a note explains that ideal constraints chose the closest mode. Supported width, height and frame-rate ranges come from getCapabilities() when the browser exposes them, which explains why a mode is unavailable.
Does this work with external or USB cameras?
Yes. Every videoinput device the browser reports is listed, including USB webcams, built-in cameras, and virtual devices from OBS or similar tools. Select one and the tool stops the current tracks before requesting that exact deviceId, so switching does not require a page reload. If a device is unplugged mid-preview, the stream ends and the device list refreshes automatically.
Is my video uploaded anywhere?
No. The preview is rendered locally in your tab, snapshots are drawn to a canvas and downloaded as PNG files, and the diagnostics report is plain text you copy yourself. There is no recording, server upload, or frame analysis. Pressing Stop preview stops the MediaStreamTrack, which turns off the camera indicator light.
Why does the measured fps differ from the camera's advertised frame rate?
Advertised rates are maxima under ideal light and bandwidth; the browser may deliver fewer frames because of USB bandwidth, compression, or another app using the camera. The measured counter counts real frames over a rolling two-second window using requestVideoFrameCallback, with an rAF fallback labeled approximate. Jitter shows interval variation, so even an average of 30 fps can be flagged as uneven.
Does the saved snapshot match the mirrored preview?
Yes. Mirroring is applied to the canvas drawing as well as the video element, so what you see is what the PNG contains. If you need the unmirrored camera image — for a document scan, for example — turn Mirror off before taking the snapshot. Up to six recent snapshots stay visible in the panel until you clear them; each can be downloaded again.
Why does exact mode fail when ideal mode works?
Exact constraints require the camera to match the requested value; ideal constraints ask for it and let the browser choose the closest supported mode. A 720p webcam cannot satisfy width: { exact: 1920 }, so the request is rejected with OverconstrainedError. Use exact mode only when you want to reproduce that behavior; otherwise leave the tool in ideal mode and read the delivered values.
References & standards
Related tools
Battery Status Monitor
Watch battery level, charging state and discharge rate live with a rolling chart and time-to-empty projection.
Bluetooth Device Inspector
Inspect BLE GATT trees in the browser: services, characteristics, descriptors, live values and notifications.
Browser Benchmark
Measure JavaScript and DOM performance with deterministic, transparent benchmark suites.
Device Information
See what your browser reveals about your device — screen, hardware hints, platform and capabilities.
Digital Bubble Level
Measure surface tilt with a visual bullseye and a ±0.2° level threshold.
Digital Compass
Read a device heading with a manual desktop simulator and magnetic interference guidance.