User-Agent Parser

User-Agent Parser: Matches browser family, major/minor engine versions, OS platform, and device architecture tokens.

Loading tool module...

About this user-agent parser

User-Agent Parser — browser-based utility.

How this tool works

Implements client-side User-Agent Parser operations. Matches browser family, major/minor engine versions, OS platform, and device architecture tokens specifically designed for a web security auditor inspects an http user-agent string from an audit log to identify client device details.

  1. Parameter Configuration & Token Extraction: Ingests layout parameters (grid tracks, flex alignment, clamp min/max/ideal) or raw CSS/User-Agent strings.
  2. Mathematical Computation: Calculates responsive fluid typography formulas, aspect-ratio scaling factors, or parses User-Agent token trees.
  3. CSS Rule Synthesis: Generates clean, vendor-prefix-aware CSS declarations ready for production stylesheets.
  4. Live Visual Verification: Renders interactive previews in an isolated shadow DOM container to verify layout behavior.

Worked example

Scenario: Classify a supplied Chrome user-agent string on Linux.

Sample input:

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/120.0 Safari/537.36

Processing: Apply the ordered browser, operating-system, and mobile regex checks.

Illustrative output:

browser: Chrome os: Linux mobile: false

Limits and verification

Ensures CSS clamp minimum bound does not exceed maximum bound. Validates CSS color values and prevents division by zero in responsive aspect-ratio or track calculations. Rejects malformed User-Agent strings with clear diagnostic notifications.

Examples demonstrate an expected workflow; they do not prove every input or every branch of an external specification. Check important results with an independent source before using them for money, security, compliance, safety, or irreversible file changes.

Browser processing boundary

Tool input is processed by code running in the browser and is not intentionally sent to a CZOA processing API. The page can still request ordinary site assets, analytics, or advertising when those services are enabled. Browser extensions and managed-device software remain outside this tool's control.

Relevant references

These references govern or help explain the format, protocol, or calculation used here. Listing a reference does not claim certification or complete implementation of every optional feature.

Content owner: CZOA Tools · Last reviewed: 2026-09-15 · Review methodology

How to use it

  1. Enter, paste, or select your input data into the User-Agent Parser workspace controls.
  2. Review available parameter fields, units, formats, or options configured for your task.
  3. Click the action button or observe immediate live calculations rendered in your browser runtime.
  4. Inspect the resulting output and any diagnostic messages, then copy or download the result if needed.

Frequently asked questions

Which browser fields does User Agent Parser identify?+

It regex-classifies the supplied string as Edge, Chrome, Firefox, Safari, or Unknown, and Windows, macOS, Android, iOS, Linux, or Unknown; mobile is a Boolean regex result.

What does a supplied Chrome/Linux user agent return?+

The supplied Chrome/Linux user agent returns browser Chrome, os Linux, and mobile false.

What does it not parse?+

This parser uses a small ordered set of case-sensitive substring tests. It identifies Edge, Chrome, Firefox, or Safari; Windows, macOS, Android, iOS, or Linux; and marks mobile when Mobile, Android, iPhone, or iPad occurs. Empty input falls back to the current browser user agent. It does not reject malformed strings, extract versions or device models, distinguish bots, or implement full User-Agent Client Hints parsing.

Does it inspect the actual device?+

With supplied text it parses that text locally. It does not verify the physical device or submit the input payload.