HOW-TO

How to parse a User-Agent string

Extract the browser, version, OS and device from a User-Agent string. Free parser plus why UA parsing is a hint, not proof.

A User-Agent string packs the browser, version, operating system, and device into one messy header. Parsing it extracts those fields — here is how, and why you should treat the result as a hint.

Parse it instantly

Paste any UA string into our parser and it returns the browser and version, OS and version, device type, and whether it looks like a bot. Leave the field blank to parse your own current User-Agent.

Treat UA as a hint, not proof

User-Agents are client-controlled and trivially spoofed, so never make security decisions on the UA alone. It is great for analytics and serving the right assets, but combine it with other signals for anti-abuse.

Step by step

1

Open the User-Agent parser.

2

Paste a UA string, or leave it empty to parse your own.

3

Read the browser, version, OS, device type, and bot flag.

4

Use it for analytics or asset selection — not as a trusted security signal.

Try it now — free, no signup

Use the User-Agent parser in your browser. Then, when you need it at scale with an API key and higher limits, grab the full Eveses API.

FAQ

Can I trust the User-Agent?›
Only as a hint. It is set by the client and easily faked, so do not gate security on it alone.
Can I parse my own User-Agent?›
Yes — leave the input empty and the tool parses the UA your browser sent.

Related