Skip to content
gohacks.dev
Web

User-Agent Parser

Parse a User-Agent string into browser and version, rendering engine, operating system, device type and known bots and HTTP clients.

Free · No sign-up · Your inputs stay in your browser

Input

Parse a User-Agent string

Output

Chrome 141

BrowserChrome 141.0.0.0
EngineBlink
Operating systemmacOS 10.15.7
Device typeDesktop
Bot or toolno

Note

Reduced User-Agent

The version and OS fields here are frozen placeholders, not the real values.

User-Agent strings are self-reported and trivially faked, so never use one for access control. Chrome and Edge now freeze most of the string (UA reduction): the minor version reads 0.0.0 and macOS always reports 10_15_7. The full detail is in the Sec-CH-UA client hint headers.

Runs in this browser. Nothing you paste is sent to a server.

Why Chrome says Safari and Mozilla

Every browser's User-Agent carries tokens copied from older browsers so that sniffing scripts would serve it the modern page, which is why Chrome's string mentions Mozilla, AppleWebKit, KHTML, Gecko and Safari. Parse it in the right order or Chrome is reported as Safari.

User-Agent reduction

Chromium browsers now send a frozen string: the minor version is always 0.0.0, macOS is always 10_15_7 and Android hides the device model. The detail moved to User-Agent Client Hints headers that a server requests. Treat the User-Agent as a hint for analytics and support, never for security: any client can send any string.

Share

Frequently asked questions

How do I verify that a request really came from Googlebot?
Not from the User-Agent. Run a reverse DNS lookup on the IP, check it ends in googlebot.com or google.com, then a forward lookup to confirm, as Google documents.
Why does my macOS version show as 10.15.7?
Browsers freeze that value as part of User-Agent reduction. The real version is only available through client hints.
Is what I paste sent anywhere?
No. The tool runs entirely in your browser with JavaScript. Nothing you type or paste is sent to our server or stored.

Keep planning

Similar tools