ShareYourGroupShareYourGroupIP and Internet

What is my user agent?

The user agent is one line of text your browser sends with every request. It names the browser and the system it runs on.

What a user agent is for

When your browser asks a server for a page, it introduces itself with a line called the user agent. Servers use it to send the right version of a page (mobile or desktop), to work around the quirks of old browsers, and to count which browsers their visitors use. Search engine crawlers and other automated programs announce themselves the same way.

Reading the line

A typical line from Chrome on Windows looks like this:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

PartWhat it says
Mozilla/5.0A leftover from the 1990s that every browser still sends so that old servers do not turn it away. It means nothing today
(Windows NT 10.0; Win64; x64)The system: Windows 10 or 11, 64-bit
AppleWebKit/537.36 (KHTML, like Gecko)The engine family the browser descends from. More history than fact
Chrome/130.0.0.0The browser and its main version
Safari/537.36Another leftover, kept so that sites written for Safari accept Chrome

The line reads oddly because each new browser, to avoid being shut out by sites that checked for a rival's name, copied the rival's words and added its own. Edge adds Edg/, Opera adds OPR/, Samsung Internet adds SamsungBrowser/. That is why the decoder has to look for the most specific name first.

What it can no longer tell you

Browsers have been cutting detail out of the line, because it helped fingerprinting.

Chromium browsers now offer the missing details separately, as "client hints", and only to sites that ask.

Why you might need yours

Can it be changed?

Yes. The "request desktop site" option in mobile browsers works by sending a desktop user agent. Developer tools in every desktop browser can pretend to be any device. Because the line is so easy to change, websites must never treat it as proof of anything; it is a polite label, not an identity.

Is my user agent personal information?

Not by itself: millions of people share the same line. It becomes identifying only in combination with other details and your IP address.

Why does every browser say "Mozilla"?

In the 1990s some sites sent their best pages only to Netscape, whose code name was Mozilla. Other browsers began claiming to be Mozilla to get the same pages, and the word stuck.

Does incognito mode change the user agent?

No. A private window sends the same line as a normal one.