What Is My User Agent?

What is my user agent? It is the line of text your browser sends to every website, and yours is shown at the top of this page, ready to copy. Below it, the string is broken down into browser, engine, operating system, and device. You can also paste any other user agent to parse it.

Read from your browser. Nothing is sent or stored.
Your user agent string
–
Browser
–
Engine inferred from string
–
Operating system
–
Device type
–

Parse another user agent
Browser
–
Engine inferred from string
–
Operating system
–
Device type
–

How to use the user agent checker

  1. Read Your user agent string at the top. It is filled in by your browser as the page loads.
  2. Check the parsed Browser, Engine inferred from string, Operating system, and Device type, and the client hints table if your browser sends them.
  3. To look up another string, paste it under Parse another user agent. Use my user agent puts yours back.

How it works

This page reads navigator.userAgent in your browser and parses the string locally. A user-agent string is a compatibility hint that a browser or another client can change.

The parser checks tokens in a fixed order because browser names overlap. Edge's Edg/ token is checked before Chrome, and Chrome before Safari. The engine result is inferred from tokens such as Gecko/, Chrome/ and AppleWebKit/; the operating system alone does not determine it.

Usual iPhone and iPad strings for Safari, Chrome (CriOS) and Firefox (FxiOS) include WebKit tokens. Apple also permits authorized alternative browser engines for EU users on iOS 17.4 or iPadOS 18 and later. A string containing an iPhone or iPad name therefore does not prove WebKit, and compatibility tokens cannot establish the actual engine.

On supporting Chromium browsers the page requests User-Agent Client Hints through navigator.userAgentData. These can add version, platform, architecture and device details, subject to browser support and permissions.

Source: Apple's alternative browser engine requirements.

Examples

  • Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.2478.80: Microsoft Edge 124, Blink, Windows 10 or 11, desktop.
  • Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1: Safari 17.4, WebKit, iOS 17.4, mobile.
  • Mozilla/5.0 (Linux; Android 10; K) ... Chrome/124.0.0.0 Mobile Safari/537.36: Chrome 124 on Android, mobile. The "10" and "K" are frozen placeholders.

What each part of a user agent string means

A typical desktop string reads Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36. It has four parts:

  • Mozilla/5.0 is a compatibility token that almost every browser sends. It says nothing about the browser itself.
  • (Windows NT 10.0; Win64; x64) is the platform, here 64-bit Windows 10 or 11.
  • AppleWebKit/537.36 (KHTML, like Gecko) names the engine family. Chrome and Edge use Blink, which grew out of WebKit, so they keep this token.
  • Chrome/124.0.0.0 Safari/537.36 is the browser and its major version. The Safari token is there for compatibility.

You may also see it called the browser agent, the UA string, or the User-Agent header. All of these mean the same line of text.

Limitations

  • Chrome, Edge, and other Chromium browsers reduce their user agent: the version reads like 124.0.0.0, Android always shows "Android 10; K", and Windows 10 and 11 both show "Windows NT 10.0". The client hints table is more accurate.
  • Safari and Firefox freeze macOS at 10.15.7, so newer macOS versions look the same.
  • Any program can send any user agent. Bots often copy a browser's string, so the result describes what was sent, not what is really there.

Read the guide

Read a user agent string

What each part of a user agent string means, where it misleads, and which headers and screen values to add to a bug report.

Frequently asked questions

What is a user agent?

A short text your browser sends with every request, naming the browser, its engine, and the operating system. Sites use it for statistics, bug workarounds, and to offer the right download.

Why does my Chrome user agent say Safari and Mozilla?

For compatibility. Old sites sent full pages only to browsers they recognized, so new browsers copied the tokens of older ones. Almost every browser still starts with Mozilla/5.0.

Why does it say Windows 10 when I have Windows 11?

Browsers send Windows NT 10.0 for both. Chromium browsers can report Windows 11 through client hints, shown in the table on this page.

What is my browser agent?

Another name for your user agent: the text your browser sends to identify itself. Yours is shown at the top of this page.

Is my user agent the same on every website?

Yes. Your browser sends the same string to every site, unless an extension or the developer tools change it.

Can I change my user agent?

Yes. Browser developer tools can override it (in Chrome: DevTools, then Network conditions), and extensions can switch it. Sites then see the string you chose.

Often used together with What Is My User Agent.

  • HTTP HeadersNetwork Tools

    Status, final URL, and response headers from one GET.

  • HTTP Request TesterDeveloper Tools

    Online HTTP client for any method with query, headers, and body, plus a matching cURL command.