User-Agent Parser
Parse User-Agent strings and identify browser, version, operating system and device type. Perfect for debugging access logs.
Navegador
Sistema Operacional
Dispositivo
Engine
Tipo de Acesso
Exemplos para testar
What that Mozilla/5.0 string actually means
You are staring at an nginx access log, or chasing a bug that only happens on one customer's phone, and what you have is a long line starting with Mozilla/5.0. Paste the string here (or click the button to use your own) and it turns into four cards: browser and version, operating system, device type and rendering engine, plus tags flagging mobile devices, bots and programmatic access from curl, wget and friends.
User-Agents lie for historical reasons: every browser announces itself as Mozilla/5.0, Chrome carries Safari in its string and Edge carries Chrome. The parser (the ua-parser-js library) untangles this by token order and combination, not by naive substring search. Two version gotchas: Windows 11 still identifies itself as Windows NT 10.0, and macOS froze at 10_15_7, so the version you see can be older than the real one.
For log analysis, treat the tags as hints, not proof: bot detection is keyword-based (bot, crawler, spider), so a scraper masquerading as Chrome sails right through. A User-Agent is a claim made by the client, not an identity. Parsing happens in your browser and the string is never sent to a server (the library loads from a CDN). The built-in samples are handy for comparing desktop, iPhone and Googlebot formats.
Frequently asked questions
Why does it say Windows 10 when I run Windows 11?
Can I rely on the User-Agent to block bots?
Why do some fields come back as unknown?
Related Tools
NPM Package Specifier Parser
Parse an NPM package spec (lodash, @scope/[email protected], github:user/repo) into name, scope, version and type.
Data URI Parser
Break a data: URI into mediatype, parameters, base64 flag and payload. Shows decoded byte size of the content.
Pix Decoder
Decode Brazilian Pix BR Code (text starting with 0002...) extracting key, amount, beneficiary, city and identifier.
UUID Parser
Decompose a UUID into version (1, 3, 4, 5, 6, 7, 8), variant, and when applicable, timestamp and node. Supports UUIDs with or without dashes.
Cache-Control Parser
Read a Cache-Control header and show each directive (max-age, no-cache, public, immutable, stale-while-revalidate) with explanation.
Content-Type Parser
Decompose a Content-Type header into mediatype, charset, boundary and other parameters. Useful when debugging APIs and uploads.