Skip to content
Toolspire

Device Tests

What Is My Browser

What Is My Browser is part of Toolspire and is ready as soon as this page loads. Edge’s user-agent also contains Chrome and Safari. The name is Edge if Edg/ is present. You can paste another agent string to see how it is classified.

Runs in this tabFreeNo account

On this page

What you can do here

A deliberate order

The bugs in naive parsers are the order. Edge is not reported as Chrome, and Chrome is not reported as Safari.

This device, then any string

The box fills with this browser’s agent. Replace it to classify a string you copied from a log.

Language and screen beside your own agent

Those two facts are added only while the box still holds this browser’s string. A pasted agent does not inherit your screen size.

The sequence

How to use the What Is My Browser

  1. 1

    Read the name before you edit the box

    On first load the box is this browser. The headline should match the browser you opened the page in.

  2. 2

    Paste a foreign agent to test the order

    An Edge string that also says Chrome should still come back as Microsoft Edge.

  3. 3

    Do not treat the major version as a full build

    120 means the 120 series. The long patch number is not the headline.

Worth knowing

  • What Is My Browser on Toolspire: Edg/ is checked before Chrome/, because Edge’s agent string contains both.
  • Chrome/ is checked before Safari/, because Chrome’s agent string contains Safari too.
  • Firefox/ is its own token. Opera is recognised from OPR/.
  • The version is the major number after that browser’s token, not the AppleWebKit build.

Why the token order matters

Chromium browsers share a user-agent shape. A string can include Mozilla, AppleWebKit, Chrome, Safari and Edg at once. The product the person is using is the most specific token: Edg for Edge, OPR for Opera, then Firefox, then Chrome, then Safari. Version is read from that token. Language and screen size are read from this browser only, and only while you have not replaced the agent string.

FAQ

Questions about What Is My Browser

Where does What Is My Browser run?

What Is My Browser runs in this tab on Toolspire. What you type or drop in is not sent to us and is not stored on a server.

Why does Edge’s user-agent mention Chrome?

Edge is built on Chromium, so the string keeps Chrome/ for compatibility. The Edg/ token is what identifies Edge, and this page checks that first.

Why is Chrome not called Safari?

Chrome’s string includes Safari/. The page only uses Safari when Chrome/ is absent and Safari/ is present.

What version is shown?

The major version on the token that named the browser. Edg/120.0.0.0 is reported as Microsoft Edge 120.

Does pasting an agent string upload it?

No. The classification runs in this tab. Language and screen size are not attached to a string you pasted.

Keep going

Open the full directory

Last updated Report a problem or suggest a feature