Browser Diagnostics user agent Client Hints navigator

User Agent

Inspect navigator.userAgent and Client Hints when the browser exposes them.

Interactive tool

Run the test

Runs in your browser

Reads navigator identity strings and User-Agent Client Hints when the browser exposes them. High-entropy hints may prompt or require a secure context.

Reading user agent…

Permission status

Checked in your browser. DeviceHub does not store permission grants.

  • Special permission Not required

Live results

Metrics update as you run the test. Nothing is uploaded.

Loading

Waiting for interactive tool output…

Device information

Labels and capability details reported by your browser.

No device details yet.

Description

About User Agent

Introduction

userAgentData brand lists, so you can read the identity string and hint objects websites historically used for sniffing without installing spoof extensions just to see defaults. Developers debugging legacy server sniffers, IT verifying managed browser bundles, educators teaching UA reduction, and support teams collecting copy-pasteable tokens for CDN tickets all benefit from a calm local-only view. DeviceHub will not pretend frozen major versions or reduced OS tokens are errors, modern Chromium, Firefox, Safari, and Edge deliberately limit passive fingerprint detail, and Client Hints remain incomplete even where implemented. Pair with Browser Information for structured engine summaries, Browser Features when capability beats sniffing, JavaScript Test for runtime syntax smoke, and Screen Resolution when layout context accompanies identity debates. Device Information under Hardware stays separate when the ticket is viewport geometry rather than UA text. CDN engineers comparing edge logs to live browser output use this page to reconcile reduced tokens with what script can still read. Security teams auditing outdated WAF rules paste current reduced strings beside legacy regex expectations to justify rule updates. Edge IE-mode tabs produce dual-engine confusion, capture UA inside the exact mode users enabled for legacy intranet apps. CDN vendors sometimes log Sec-CH-UA headers while JavaScript only exposes userAgentData, discrepancies between server logs and this page are a frequent training topic for junior support staff. Automated Lighthouse runs record UA differently from user sessions, do not mix lab UA with customer UA in one ticket thread. Marketing pixels that still parse full OS versions from reduced strings waste sprint time, paste this page beside log lines when retraining sniffer rules. Spoof extensions for mobile emulation appear in refreshed readings, toggle extensions and reload when fake-mobile bugs are suspected.

What this tool does

The page displays the raw user-agent string and structured Client Hints the browser chooses to expose to script, with copy guidance for support notes. It does not send custom UAs to third parties, forge hints, or compute bot scores. Explanatory copy covers UA reduction and why regexes demanding precise minor versions fail on current browsers. When userAgentData exists, brand arrays, mobile flags, and platform strings appear with notes that getHighEntropyValues may remain gated. Refresh shows changes after toggling spoof extensions. Optional formatting wraps long UA strings for readability without altering content. Hint sections explain which fields are low-entropy by default versus which require optional high-entropy calls that may still return empty. Headless automation defaults differ from interactive Chrome, label capture method in CDN dispute tickets. Reduced Android WebView tokens may omit model identifiers your analytics pipeline still expects, use Browser Features beside UA when planning server-side fallbacks. Automated Lighthouse runs record UA differently from user sessions, do not mix lab UA with customer UA in one ticket thread. Bot scoring vendors asking for “real browser UA” samples should receive tokens captured here during an interactive session, not curl defaults from servers. Legacy intranet apps in Edge IE-mode need UA captured inside that mode toggle, not from the outer Chromium shell alone.

When to use it

Use User Agent when a server log, CDN rule, WAF, or ancient sniffer is the dispute; when verifying a spoof extension actually changed the string; and when teaching why feature detection beats UA parsing. Prefer Browser Features for does this API exist. Prefer Browser Information for a wider dashboard. Prefer Cookie or Storage tests when the symptom is state persistence, not identity. Avoid treating Client Hints as a full restoration of 2015-era UA richness, they intentionally withhold fields. Use when mobile Request Desktop Site toggles shift tokens mid-session, capture before and after. Use when bot mitigation vendors ask for UA samples from real browsers rather than curl defaults. High-entropy hints are not auto-requested here to avoid extra prompts during read-only audits. Automated Lighthouse runs record UA differently from user sessions, do not mix lab UA with customer UA in one ticket thread. In-app WebViews for social apps append custom tokens, capture inside the WebView when crashes happen only there, not from desktop Chrome. Safari on iOS reduces model identifiers, plan analytics fallbacks using Client Hints where implemented rather than regex on model tokens.

How it works

userAgent is a DOMString supplied by the browser and subject to reduction policies that freeze or bucket tokens. userAgentData, where implemented, exposes brands, mobile boolean, and platform with optional getHighEntropyValues for additional hints that may prompt, refuse, or return empty depending on browser policy, DeviceHub lists what script can read without claiming every high-entropy field appears. Reading these values needs no microphone or camera grant; DeviceHub typed permissions remain none for this diagnostic even when hint APIs have their own browser rules. Secure HTTPS is standard sitewide. Server-side Client Hints headers Sec-CH-UA are not duplicated here, this page shows JavaScript-visible surfaces only. Automated Lighthouse runs record UA differently from user sessions, do not mix lab UA with customer UA in one ticket thread. getHighEntropyValues may exist yet refuse platformVersion, DeviceHub lists availability without auto-triggering extra prompts during read-only audits. Firefox ESR rollouts change reduced tokens mid-year, retest UA after ESR upgrades before blaming application middleware.

Step-by-step instructions

  1. Open User Agent in the exact browser and profile that hits the failing site or CDN rule, including private windows if that is where the bug lives. Step 1 for user-agent: record browser version and OS build alongside smoke outcome.
  2. Copy navigator.userAgent into notes when a vendor insists on the raw string, annotating reduced tokens as expected privacy behavior.
  3. Inspect userAgentData and related hint fields when present; treat blank sections as normal under current policies, not as DeviceHub failure.
  4. Open Browser Information alongside so structured engine fields accompany any sniffer debate in the same ticket.
  5. If an extension spoofs UA, disable it temporarily, refresh, and confirm the string changed to isolate extension versus default behavior.
  6. When hints and UA disagree with server logs, note whether the server reads request headers while this page shows JavaScript-visible hint objects, they are related but not identical.

Common problems

0 folklore fail on reduced UAs. Bots and real browsers can look similar by design. In-app WebViews append tokens that confuse home-grown parsers. Assuming Client Hints always restore full OS and version detail wastes escalation time. Parsing Windows 10 tokens on Windows 11 reduced strings misroutes fixes. Treating JavaScript userAgentData as identical to Sec-CH-UA request headers confuses backend versus frontend teams. Automated Lighthouse runs record UA differently from user sessions, do not mix lab UA with customer UA in one ticket thread. Frozen Chrome major versions under UA reduction still update security patches, train support that “version looks old” is not always an outdated install. Automated Lighthouse lab UAs differ from customer interactive UAs, never mix both in one escalation thread without labeling source.

Privacy explanation

The UA string is already available to sites you visit; DeviceHub shows it locally without uploading it for ad profiling on this check. No extra device permissions are requested. Closing the tab clears the on-page view. Be mindful when pasting full strings into public trackers if policy requires redaction. Hint objects may include coarse platform data, handle according to your org data classification policies. Automated Lighthouse runs record UA differently from user sessions, do not mix lab UA with customer UA in one ticket thread. userAgentData in script requires backend logging, this page covers script-visible half only. WAF regex maintenance should attach current reduced strings from this tool when retiring rules written for 2015-era tokens. Comparing Sec-CH-UA request headers on servers to navigator.userAgentData in script requires backend logging, this page covers script-visible half only.

Runtime principles

Built for the browser

What happens when you run this test — without downloads or accounts.

  1. 01

    Runs in your browser

    User Agent uses standard web APIs — no install, extension, or desktop app required.

  2. 02

    Reads what the browser allows

    Results come from events and capability signals the web platform exposes for this session.

  3. 03

    Private by default

    Input and diagnostic values stay in your browser session for display — nothing is sold as media.

Compatibility

Supported browsers

Expected support for modern engines. Individual APIs may still vary by device.

  • Chrome

    supported

    Latest stable

  • Firefox

    supported

    Latest stable

  • Safari

    supported

    Latest stable

  • Edge

    supported

    Latest stable

Devices

Supported devices

Hardware and form factors this browser test is designed to exercise.

  • Desktop browsers

    Chrome, Firefox, Safari, and Edge on Windows, macOS, Linux.

  • Laptops

    Reports identity and feature signals for the active session.

  • Phones & tablets

    Mobile browsers with web platform capability probes.

Privacy

Your data stays with you

User Agent is built privacy-first. Diagnostics run in your browser session whenever web APIs allow.

Read our privacy policy

Troubleshooting

Common problems

Quick fixes before you dig into FAQs.

The user agent looks frozen or overly generic
UA reduction is intentional. Check Client Hints / userAgentData when available, and pair with Browser Information for structured fields.
Client Hints fields are empty
Not every browser exposes navigator.userAgentData, and many hints stay incomplete. Absence is common, not proof DeviceHub failed.
String does not match another site parser
Parsers disagree on reduced tokens. Prefer structured Browser Information fields over regex folklore when filing bugs.

FAQ

Frequently asked questions

Structured answers for users and FAQ rich results.

Browse FAQs
Why does my user agent look reduced or frozen?
Modern browsers intentionally reduce fingerprintable UA detail. That is expected privacy behavior, not a DeviceHub bug.
What are Client Hints?
Structured signals such as navigator.userAgentData brand lists. They are often incomplete or missing depending on the browser.
Should I still parse the UA string for features?
Prefer feature detection via Browser Features. UA sniffing is brittle under reduction policies.
Does DeviceHub upload my user agent?
This page displays the string locally. DeviceHub does not use it to build advertising profiles during the check.
Can extensions change what I see?
Yes. UA spoofers rewrite navigator.userAgent. Capture the string in the same profile that hits the failing site.
Is this the same as Browser Information?
User Agent focuses on the string and hints. Browser Information adds a broader engine and feature overview.

Newsletter

Updates coming soon

A lightweight email digest for new tools and release notes is planned. No signup form is live yet — check Release Notes for product updates.

Release notes

Need another diagnostic after User Agent?

Explore related DeviceHub tools that pair well with this test.