AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I parse a user agent string?

Paste a user-agent string (or use your own) and AnyTool breaks it into browser, engine, OS, device, and CPU in real time, with bot/crawler detection and a live Client-Hints panel. Parsing is pure regex running in your browser, so the UA is never sent to a server.

  • Parses browser, engine, OS, device, and CPU live
  • Detects bots and crawlers (Googlebot, GPTBot, Bytespider)
  • Live UA Client-Hints panel for the current browser
  • Copy or export the parsed result as JSON
  • 100% in-browser — your UA is never uploaded

What is

User Agent String

A user-agent string is text a browser or client sends in the User-Agent HTTP header to identify itself. A parser decodes it into structured fields such as browser name and version, rendering engine, operating system, and device.

Developer Tools

Related terms

User-AgentBrowser DetectionClient HintsBot DetectionHTTP Header

Frequently Asked Questions

No — parsing is pure regex that runs entirely in your browser.

Your user-agent string never leaves the device. Parsing is sub-millisecond local regex, so unlike database-backed tools such as WhatIsMyBrowser, nothing is logged on a server.

Yes — it flags crawlers like Googlebot, GPTBot, Claude-Web, and Bytespider.

The parser includes a bot/crawler list covering search and AI crawlers (Googlebot, Bingbot, GPTBot, Claude-Web, Bytespider) and flags suspicious defaults like python-requests and curl.

A modern, privacy-friendlier replacement for the user-agent string, shown live where supported.

UA Client Hints (navigator.userAgentData) expose browser and platform info in structured fields. The tool shows your current browser's high-entropy values where supported (Chromium over HTTPS) and notes when Safari or Firefox do not provide them.

Detailed Explanation

Methodology

How the User Agent Parser Works

AnyTool parses a user-agent string into structured fields — browser (name, version, major), engine, OS, device (type/model/vendor), and CPU — using ua-parser-js (pinned to the MIT 1.x line) entirely in the browser. Parsing is sub-millisecond regex over the string, updated live as you type, with bot/crawler detection and a UA Client-Hints panel reading the current browser's navigator.userAgentData where supported.

  • Parses browser, engine, OS, device, and CPU
  • Bot/crawler detection (Googlebot, GPTBot, Claude-Web, Bytespider)
  • Live UA Client-Hints panel (Chromium, secure context)
  • Pure local regex via ua-parser-js (MIT 1.x) — no network
  • Copy or export the parsed result as JSON
Privacy & Security

Privacy vs Database-Backed Parsers

WhatIsMyBrowser, UserAgents.io, and similar leaders perform server-side database lookups, so your UA is sent to and can be logged by their backend. AnyTool parses locally with a bundled regex engine, so the user-agent string never leaves the device and the tool works offline.

User Agent Parser: AnyTool vs typical tools
CapabilityAnyToolTypical tools
ParsingIn your browserSometimes server/DB lookup
Bot detectionYes (incl. AI crawlers)Varies
Client-Hints panelYesRare
Export as JSONYesVaries
Works offlineYesNo

Capabilities reflect the live AnyTool tool; competitor behavior varies by service.