4Internet / web http

User-Agent Parser

Identify browser and device claims in a user-agent string.

Local rules · no navigation · spoofable text

Parse a supplied user-agent

2,048 bytes

Classification is heuristic. Unknown or ambiguous is a valid result and no person or device identity is inferred.

A practical guide

How to use User-Agent Parser

Read the browser, operating-system, and device-class signals inside a supplied User-Agent string. This parser applies a disclosed local ruleset and reports unknown fields when the text supplies too little information.

  1. Paste one User-Agent value of up to 2,048 bytes, such as the value shown by Request Header Echo.
  2. Parse the text and read the browser family and version separately from the operating-system and device classifications.
  3. Record the rules version when comparing results over time; changed rules can change the interpretation of identical text.

Worked example

Illustrative input and expected interpretation. This example is not a live measurement.

Input

curl/8.0

What to expect

Browser family: curl
Browser version: 8.0
Operating system: Unknown or ambiguous
Device class: Command-line client

What to watch for

  • Clients can send arbitrary User-Agent text. A recognized name does not authenticate a browser, crawler, person, or device.
  • Browsers can reduce or freeze these details. Use feature detection for application behavior; an unknown field is an expected result.

Your input: submitted to this server for processing. This tool does not send it to an AI provider. Your input is processed for this request. Temporary processing files are removed afterward. Avoid pasting secrets or personal data.

References