Skip to main content
ToolsHub

User Agent Parser

Paste a user-agent string (or detect your own) to break it into browser, version, engine, OS, and device type — parsed in your browser.

Files never leave your browser

Parsing happens entirely in your browser — nothing is uploaded.

How to use User Agent Parser

The User-Agent Parser breaks down any browser UA string into its constituent parts: browser name and version, rendering engine, operating system and version, device type and vendor, and CPU architecture. It can also detect and parse your own browser's user-agent automatically. Parsing is done locally in the browser using ua-parser-js — no data leaves your device.

  1. Click "Use My User-Agent" to auto-populate your browser's current UA string.
  2. Or paste any user-agent string into the input field manually.
  3. The parsed result appears immediately, broken into Browser, Engine, OS, Device, and CPU sections.
  4. Use the information for compatibility testing, bug reports, or analytics debugging.

Your data never leaves your device — 100% private processing.

Anatomy of a user-agent string

A user-agent string is a text header sent by browsers in every HTTP request. It identifies the application, operating system, vendor, and version. Modern UA strings are notoriously complex due to decades of browser compatibility theatre: most browsers claim to be Mozilla/5.0 for historical reasons, then append tokens identifying their actual engine (AppleWebKit, Gecko, Blink). Chrome's UA includes "Safari" to receive Safari-targeted content. Firefox includes "Gecko". A typical Chrome 120 string on Windows looks like: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 — despite Chrome being a Blink browser, not WebKit.

Common UA string tokens
TokenMeaningExample value
Mozilla/5.0Historical compatibility prefixAlways present in modern browsers
Windows NT 10.0Windows 10 OS identifierNT 6.1 = Windows 7, NT 10.0 = Win 10/11
Win64; x64Architecture — 64-bit WindowsAlso: WOW64 (32-bit on 64-bit OS)
AppleWebKit/537.36Rendering engine versionChrome and Edge both use this
Chrome/120.0.0.0Actual browser and versionThe meaningful version token
MobileMobile device indicatorPresent in mobile UAs

User-Agent Client Hints and privacy

Modern browsers are moving away from the traditional UA string towards User-Agent Client Hints (UA-CH), which allow servers to request only the specific information they need. This addresses privacy concerns: the traditional UA string reveals OS version, exact browser version, and sometimes device model — data that can be used for fingerprinting. Under UA-CH, the default frozen UA string reveals only the major browser version and platform, while additional details are disclosed only on demand via Sec-CH-UA headers. Chrome started freezing UA minor version numbers in 2023. For user-agent parsing in server-side analytics, migrating to UA-CH is recommended for both privacy and accuracy.

Glossary

User-Agent
An HTTP request header identifying the client software, including browser, OS, and device information.
UA-CH
User-Agent Client Hints — a modern replacement for the UA string that lets clients disclose only the information a server explicitly requests.
Rendering engine
The browser component that parses HTML/CSS and renders the page; Blink (Chrome/Edge), Gecko (Firefox), and WebKit (Safari) are the main ones.
Fingerprinting
Identifying a user across sessions by combining browser attributes (UA, screen size, fonts, etc.) into a unique signature without cookies.
OUI
Organizationally Unique Identifier — the first three bytes of a MAC address that identify the network hardware manufacturer.

Related reading

Frequently Asked Questions

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Why use User Agent Parser?

  • No installation — use directly from any browser
  • Handles large inputs without crashing or timeouts
  • Syntax highlighting and formatted output for readability
  • Copy to clipboard shortcut for fast workflow integration

Common use cases

  • Validate and format JSON responses from APIs
  • Encode/decode Base64 strings during debugging
  • Generate UUIDs for database seeds or test data
  • Minify CSS or JavaScript before deployment
  • Diff two code snippets to spot regressions

Related Developer Tools

Explore all Developer Tools.