BROWSER INFO

What is my user agent? Your browser, OS and screen at a glance

See the exact user agent string your browser sends to websites, plus your browser version, operating system, screen resolution and more.

Your user agent string
Detecting…
CopyThis is what your browser tells every website it visits.
Browser
—
Operating system
—
Device type
—
Screen resolution
—
PropertyValue
These values are read by your browser and shown on this page. This page does not send them to our server.
The basics

What is a user agent?

A user agent is a short piece of text your browser sends with every web request to say what it is: which browser, which version, and which operating system. Websites use it to serve the right layout, work around browser quirks and, in analytics, to count how many visitors use each browser.

Why do they all start with "Mozilla/5.0"?

It is a historical accident. Early websites sent richer pages only to Netscape (codename "Mozilla"), so every other browser added "Mozilla" to its user agent to get the same treatment, and then added hints about the engines it resembled. The result is a string where Chrome claims to be Mozilla, AppleWebKit, KHTML, Gecko and Safari all at once.

Reading an example

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
  • Windows NT 10.0; Win64; x64: Windows 10 or 11, 64-bit. Windows 11 still reports "10.0".
  • AppleWebKit/537.36 and Safari/537.36: frozen compatibility tokens kept so old sites still work.
  • Chrome/120.0.0.0: the real browser and its major version. Recent Chrome versions zero out the minor numbers on purpose.

Edge adds Edg/, Opera adds OPR/, and Firefox uses Gecko/ and Firefox/.

Screen size

Screen resolution, window size and pixel ratio

Screen resolution

The size of your whole display in pixels, such as 1920 × 1080. Browsers report it in CSS pixels, so a high-density display may show a smaller number than its physical resolution.

Viewport (window) size

The area of your browser window that shows the page. Resize the window and the value above updates. Web designers use this to decide when a layout switches between phone, tablet and desktop.

Device pixel ratio

How many physical pixels make up one CSS pixel. A ratio of 2 (common on Retina and most phones) means text and images are drawn with four times as many pixels for sharpness.

Good to know

Changing or hiding your user agent

Developers sometimes change their user agent to test how a site behaves on a phone. In Chrome and Edge, open DevTools, choose More tools → Network conditions and untick "Use browser default". Firefox and Safari offer similar overrides in their developer menus.

Browsers are also shrinking the amount of detail in the string. Chrome now sends a "reduced" user agent, and sites that need more (such as the exact OS version or CPU architecture) are expected to ask for it through User-Agent Client Hints, which is what the extra rows above use when your browser supports them. Your user agent is only one small part of how a site can recognise a browser. To see the other thing sites always learn about you, check your public IP address.

FAQ

Frequently asked questions

What is my user agent?

It is the text string shown at the top of this page. Your browser sends it automatically with every request so websites know which browser and operating system you are using.

How do I find my screen resolution?

It is shown in the "Screen resolution" box above and updates as soon as the page loads. The table also lists your browser window (viewport) size and device pixel ratio, which are different measurements.

Why does my user agent say Windows 10 when I use Windows 11?

Windows 11 still reports "Windows NT 10.0" in the user agent string for compatibility. Browsers that support Client Hints can tell the difference, and this page uses them when available to show the real version.

Why does my Mac report macOS 10.15.7?

Safari and Chrome freeze the macOS version at 10_15_7 in the user agent to reduce fingerprinting, so the string no longer reveals your exact macOS version.

Can websites see my user agent?

Yes. It is sent automatically with every request. It is one of several pieces of information, along with your IP address, that a website receives when you visit.

Is the user agent the same as my browser version?

It contains the browser name and version, but it is not always accurate. Browsers can reduce it or imitate each other, and extensions can change it.

Guides

Read more