Read a User-Agent string

Read the browser, version, engine, operating system and device type from a User-Agent string, with a note wherever the string carries a frozen value.

How to parse a user agent

  1. 1

    Paste a User-Agent string or a list from a log

  2. 2

    Press Read the user agent

  3. 3

    Read the browser

  4. 4

    system and device for each

What a User-Agent string says, and what it cannot

Every browser request carries a User-Agent header naming the software that sent it. Paste one string, or a column of them from a server log, and each is read into a browser and version, a rendering engine, an operating system and a device type.

How it is read

A User-Agent string is a list of product tokens, and browsers copy each other’s so sites built for one will work in another. Edge’s string contains “Chrome” and “Safari”, and Chrome’s contains “Safari”. So the parser checks the most specific tokens first: Edg before Chrome, OPR before Chrome, Chrome before Safari. Crawlers such as Googlebot and Bingbot and programs such as curl and Python Requests are recognised before any browser.

What a modern string cannot tell you

Browsers have been putting less in the string to make visitors harder to fingerprint. Chromium’s User-Agent Reduction fixed the parts below the major version at 0.0.0, the macOS version at 10_15_7 and the Android version and model at “Android 10; K”. Windows 11 reports itself as “Windows NT 10.0”, the same as Windows 10. The parser says so in a note each time, rather than showing a frozen value as if it were the real one.

The real values are available as User-Agent Client Hints, Sec-CH-UA headers that a server asks for and the browser then sends. A copied string carries none of them, so no parser of strings alone can recover them.

Device type

A string is read as a phone when it has “Mobile” or names an iPhone, and a tablet when it names an iPad or is Android without “Mobile”. Televisions, consoles and crawlers are named where their tokens appear. Anything else with a known system is shown as desktop.

The rule table is short on purpose, and a rare browser built on Chromium may show as Chrome. For a log with many unknown lines, the summary counts them.

Nothing is uploaded. Strings are read in this tab.

Everything you need

Browser, engine, system, device

Edge, Opera, Samsung Internet, Firefox, Chrome, Safari and more, with crawlers and command-line tools named too.

Frozen values flagged

Reduced Chrome strings, Windows 10 or 11 and the fixed Android token are said to be frozen, not shown as fact.

Private by design

Strings from your logs are read in your browser and never sent anywhere.

Nothing uploaded: open the Network panel while it runs and check.

No daily limits or watermarks: free batches take up to 20 images.

Works offline: once the page has loaded, on any current browser.

Frequently asked questions

Why does it say "Windows 10 or 11"?

Both send "Windows NT 10.0" in the User-Agent string, and Microsoft's documentation says the string will not be changed to tell them apart. A site can ask for the Sec-CH-UA-Platform-Version client hint, where Windows 11 reports 13 or above.

Why is the Chrome version 131.0.0.0?

Chromium's User-Agent Reduction fixed the minor, build and patch numbers at 0.0.0, so only the major version in the string is real. The same change fixed macOS at 10_15_7 and Android at "Android 10; K". The full values are in client hints a server must request.

Can a user agent be trusted?

No. It is a header the client chooses, so any program can send any string, and browsers' own settings can change it. Use it for statistics and rough support decisions, not for security. A crawler that names itself should be checked by its IP address as its operator documents.

Why does Chrome on iPhone show the WebKit engine?

Chrome and Firefox on iPhone send their own tokens, CriOS and FxiOS, but their strings carry Apple's WebKit tokens rather than Chrome's or Firefox's engine. The parser reports the engine the string describes.

Sources

Related guides

Work with files privately and confidentlyPractical, sourced explanations for safer file conversion, sharing, and cleanup.