What Your Browser Knows About Your Device (and How to Print It as JSON)
November 19, 2026 · DevTools
Every support ticket asks the same vague question: "What browser are you on?" The honest answer involves a screen, a pixel ratio, a CPU core count, a set of capability flags, and a timezone — none of which fit in a text box. The Device Information page reads everything the browser is willing to share about the device it runs on, groups it into five cards, and copies the whole report as structured JSON for your ticket.
The five cards
- Browser — the classic user-agent string alongside the modern User-Agent Client Hints: the brand list, the platform hint, and the mobile flag.
- Screen — viewport, physical screen resolution, device pixel ratio, color depth, and whether the display covers the Display-P3 wide gamut or drives HDR content, detected through CSS
color-gamutanddynamic-rangemedia queries. - Hardware —
hardwareConcurrency(logical CPU cores), the approximatedeviceMemoryfigure where the browser exposes it, andmaxTouchPoints. - Platform — an operating-system and device-type estimate from UA-CH and UA markers, plus the browser languages and IANA timezone.
- Capabilities — six yes/no answers: WebGL, WebGPU, WebAssembly, WebRTC, the MediaDevices camera/microphone API, and motion/orientation sensors.
Unknown beats guessed
Browsers disagree about what to expose. Firefox hides deviceMemory; Safari omits UA-CH entirely. The tool displays those fields as unknown instead of fabricating a plausible value — an honest gap is debuggable, a wrong guess sends the investigation in the wrong direction. That policy is the difference between a device report and a device rumor.
Why you'd open this page
Three recurring cases:
- Answering a bug report precisely — open the page, hit Copy JSON, and paste a structured environment report instead of a paragraph of guesses.
- Shipping wide-color or high-DPI assets — the Screen card tells you whether the target device actually covers Display-P3 and what DPR it renders at, before you commit to the asset pipeline.
- Feature-detecting before wiring a feature — the Capabilities card answers "does this hardware even have motion sensors?" before you write the accelerometer code.
Zero network calls, by construction
Everything on the page is read locally: no value is uploaded, no lookup is performed remotely, and the report is not persisted between visits. That makes it safe to open on any machine — including a customer's — without turning a diagnostic into a data leak. It also means the page works offline, which is occasionally the point.
For the narrower but deeper question of parsing a specific user-agent string, the User Agent Parser breaks one UA into its components, and the Network Info page answers the connection-side questions this report deliberately doesn't.