What Is My User Agent? Check and Parse Any UA String
See your browser's user agent instantly or paste any UA string to get the browser and version, OS, device type, engine and CPU. Runs in your browser.
Updated November 2026
Reviewed by Rafael Duarte
Paste the full HTTP User-Agent header from any client or log file. The result updates as you type.
What is my user agent, and how do I parse one?
Your own user agent is detected automatically
1. Your user agent is already filled in
When the page opens, the box shows the exact user agent your browser sends. To check another one, replace it with any string from a server log or bug report.
2. Read the summary cards
Browser, OS, device type and rendering engine update as you type, with a technical breakdown below (CPU architecture, browser vendor, full version and, for your own UA, your browser languages).
3. Copy the results
Click Copy to copy the full breakdown as plain text. Shift+Enter does the same, but only when the cursor is outside the text box.
When you'd reach for a user agent parser
The scenarios that come up most for people who use this tool
Debugging access logs
Figure out which browser or client made a request without reading the UA spec by hand.
Bot and crawler detection
See whether a string carries a crawler token (Googlebot, Bingbot) and gets flagged as "Bot / Crawler" in the Device card. Note that crawler strings that also include Chrome/ and Safari/, like Googlebot's smartphone agent, show up as Chrome in the Browser card, so check the Device card.
Building adaptive interfaces
Confirm exactly what a UA string reports before you build progressive enhancement or feature detection around it.
Cross-browser QA
Verify the exact browser version from a bug report before trying to reproduce the issue.
What you can extract from a user agent
Six structured fields pulled from one raw string
Browser and version
Chrome 124, Firefox 125, Safari 17, Edge 124, and so on.
Operating system
Windows 10/11, macOS, Android 14, iOS 17.4, iPadOS, Linux, Chrome OS. The UA string can't tell Windows 11 from Windows 10, and Macs report a frozen 10.15.7.
Device type
Desktop, Mobile, Tablet, or Bot/Crawler.
Rendering engine
Blink (Chrome/Edge), Gecko (Firefox), WebKit (Safari), Trident (IE).
CPU architecture
x86_64, ARM64, ARM, i686.
Browser vendor
Google Inc., Apple Inc., Microsoft, Mozilla, Samsung, Opera Software, Yandex.
Parsing examples
Common mistakes when reading a UA string
Assuming legacy tokens name the real engine
like Gecko shows up in browsers that never touched Gecko — it's a compatibility token, and the parser filters it out.
Trusting a "Bot / Crawler" label blindly
Malicious bots sometimes spoof real browser strings specifically to avoid being flagged, so treat detection as a signal, not proof.
Not knowing where to find your own UA
Open DevTools (F12), go to the Console, and type navigator.userAgent to get the exact string your browser sends.
Why use this tool
It turns raw UA strings — packed with legacy compatibility tokens that exist for historical reasons — into structured, readable fields, without you having to read the specification by hand.
Everything runs in your own browser — no string is ever sent to a server, which makes it safe to paste UAs pulled from sensitive access logs.
Frequently asked questions
Just open this page: the box is pre-filled with the user agent your browser is sending right now, already broken down into browser, OS, device and engine. You can also press F12 to open DevTools, switch to the Console tab, and type navigator.userAgent to see the raw string.
Take Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36. Mozilla/5.0 is a historical prefix every modern browser sends. The parentheses hold the platform (Windows NT 10.0, 64-bit). AppleWebKit/537.36 and (KHTML, like Gecko) are compatibility tokens, Chrome/124.0.0.0 is the real browser and major version, and Safari/537.36 is another compatibility token. The .0.0.0 is not a mistake: Chrome's user agent reduction shows only the major version and replaces the rest with zeros.
Because that's all the string says. Windows 11 still sends Windows NT 10.0, so the two can't be told apart from the UA alone (only User-Agent Client Hints can). Chrome and Safari on Mac freeze the version at Mac OS X 10_15_7, so this tool shows macOS 10.15.7 even on a current Mac. And Safari on most iPads (iPadOS 13 and later) sends the same string as Safari on macOS, so an iPad can show up as a Mac desktop.
It's a tool that reads the User-Agent string sent by browsers and HTTP clients and breaks it into structured fields: browser name and version, operating system, device type, and rendering engine. It saves you from manually decoding the raw string against the HTTP spec.
A typical Chrome-on-Windows string looks like Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36. It's dense with legacy compatibility tokens, which is exactly why parsing it by hand is error-prone.
Yes, to an extent. Known bots carry identifiable tokens such as Googlebot, Bingbot or anything with "bot", "crawl" or "spider", and this tool flags the device type as "Bot / Crawler" when it finds them. Keep in mind a malicious bot can spoof a normal browser string, so UA-based detection alone isn't a security guarantee. Need a test string instead? The User Agent Generator builds realistic ones.
Yes — popular options include ua-parser-js for JavaScript/Node, ua-parser for Python, and DeviceDetector for PHP and .NET. This tool is useful for quickly testing a string by hand before you wire up one of those libraries in code.
For backward compatibility. Early websites checked for these tokens to decide whether a browser supported certain features, so newer browsers kept including them even though they don't use Gecko or Safari's engine. This tool strips that noise out and reports the actual engine, Blink, for Chrome-based browsers.
References
Related Tools
- User Agent Generator Developer Free online User Agent Generator. Create custom UA strings for Chrome, Firefox, Safari, Edge, bots & mobile devices instantly. No signup required.
- URL Encoder: Encode Query Strings, Spaces & UTF-8 Developer Turn spaces, accents and symbols into %20, %C3%A9 and %26 for links and query strings, with spaces as %20 or +. Runs locally in your browser.
- HTTP Status Codes List: Meanings, SEO & API Notes Developer Searchable list of all HTTP status codes and what each means: 200, 301, 404, 429, 500, 502, 503 and more. Filter by class, with SEO and REST API tips.
- JWT Decoder Online — Decode & Verify JSON Web Tokens Developer Decode and inspect JSON Web Tokens instantly — view header, payload, verify HMAC signatures, and generate JWT code in PHP, JavaScript, Python, and Java.
- ASCII Table Generator: Plain-Text & Markdown Tables Developer Turn CSV or typed data into a plain-text table: MySQL, Unicode box, rounded, double-line, Markdown, RST or minimal style. Copy it or download as .txt.