User Agent Parser
🔒 In your browserDecode a user-agent into browser, OS and device.
How it works
Every browser sends a User-Agent string with each request, identifying the browser, its version, the operating system and device. Paste one to decode it — or parse your own with one click.
🔒 Parsed entirely in your browser — nothing is sent to a server.
About the User Agent Parser
Every browser sends a User-Agent string that encodes the browser, version, operating system and device. This free user-agent parser decodes any UA string into readable details — handy for analytics, debugging and testing device-specific behaviour.
Parsing happens in your browser; nothing is uploaded.
What it decodes
- Browser name and version.
- Operating system and version.
- Device type (desktop, mobile, tablet or bot).
Why user-agent strings are so messy
For historical, compatibility reasons almost every browser's user-agent still begins with "Mozilla/5.0" and name-drops other engines — Chrome mentions Safari, Edge mentions Chrome, and so on. That's why raw UA strings are hard to read by eye. A parser untangles the tokens to report the browser, version, OS and device that actually matter.
Frequently asked questions
What is a user-agent string?
A header your browser sends with every request that describes the browser, its version, the operating system and the device, so servers can adapt their responses.
What is my user agent?
Your own current user-agent is shown so you can see exactly what your browser reports; paste any other UA string to decode it too.
Is the parsing private?
Yes. The user-agent is parsed locally in your browser and isn't uploaded.
Why does my user-agent say Mozilla when I don't use Firefox?
It's a legacy convention from the 1990s browser wars: sites once checked for "Mozilla" to serve modern pages, so every browser kept it for compatibility. It no longer indicates Firefox.
Is the user-agent a reliable way to detect a device?
It's a useful hint but not authoritative — user-agents can be spoofed or frozen for privacy. For features, prefer capability detection; use UA parsing for analytics and rough segmentation.
Related searches
Related Networking tools
🔗 Embed this tool on your website — free
Copy this and paste it into your page's HTML. The tool runs in the visitor's browser, just like here. Change height to fit, or add the optional auto-resize snippet below. Add ?theme=dark to the URL for dark mode.
<iframe src="https://toolhq.dev/embed/user-agent-parser/" title="User Agent Parser — ToolsHub" width="100%" height="520" style="border:1px solid #e5e7eb;border-radius:12px;max-width:680px" loading="lazy"></iframe>Optional: auto-resize the iframe height
Add this once on the same page so the iframe grows to fit the tool:
<script>
addEventListener("message", function (e) {
if (e.data && e.data.type === "toolshub:resize") {
document.querySelectorAll('iframe[src*="/embed/"]').forEach(function (f) {
if (f.contentWindow === e.source) f.style.height = e.data.height + "px";
});
}
});
</script>