User Agent Parser
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
See your browser's user agent and what it means: browser and version, operating system, engine and device type. Paste any user agent string to decode it.
- Browser
- 0
- Operating system
- 0
- Engine
- 0
- Device
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
What is my user agent?
When this page opens, the box above already contains your browser's own user agent, and the user agent parser has decoded it: your browser and its version, your operating system, the rendering engine, and whether you're on a desktop, a phone or a tablet.
To decode a different one, paste any user agent string into the box: from your server logs, your analytics, an error report or a support ticket. Press "Use my browser's user agent" to go back to your own. Nothing you paste is sent anywhere.
What a user agent string is
Every time a browser asks a website for a page, it sends a short line of text called the user agent, in the User-Agent header. It's meant to tell the website what kind of software is asking, so the site can send something that works. A typical one from Chrome on Windows looks like this:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
It's confusing because of history. Almost every browser starts with "Mozilla/5.0", and Chrome mentions Safari, WebKit, KHTML and Gecko. Over the years, websites checked for the names of popular browsers, so newer browsers copied those names to avoid being sent a worse version of the page. The result is a string where most of the words are there for compatibility rather than accuracy, which is why a user agent parser is useful.
How the user agent parser reads it
The parser looks for known patterns in a careful order, because many browsers include each other's names:
- Browser: Edge, Samsung Internet, Opera, Vivaldi and others are checked before Chrome, because they all include "Chrome" too; Chrome is checked before Safari, because it includes "Safari". The version comes from the matching part, such as
Edg/131.0.2903.70. - Operating system: Windows, iOS, iPadOS, Android, ChromeOS, macOS and Linux, with the version where the string gives one. Apple's
OS 17_5becomes 17.5. - Engine: Blink (Chrome, Edge, Opera and most other browsers), WebKit (Safari, and every browser on iPhone and iPad), Gecko (Firefox) or Trident (old Internet Explorer).
- Device: a bot, a tablet, a phone or a desktop, from words such as "Mobile", "iPad", "Tablet" and "Android".
What a user agent can't tell you (any more)
Browsers have been cutting down the information in the user agent to make it harder to track people. When you read results from the user agent parser, keep these limits in mind:
Chrome and Edge hide minor versions. Since 2022, Chromium-based browsers report versions like 131.0.0.0. Only the major version, 131, is real. The tool points this out when it sees one.
Windows 10 and 11 look the same. Both send Windows NT 10.0, so the user agent can't tell them apart. The parser shows "10 or 11".
macOS is frozen at 10.15.7. Safari, Chrome and Firefox on a Mac report Mac OS X 10_15_7 whatever the real version is, so a Mac on the latest macOS looks years old.
iPads can look like Macs. By default, Safari on iPad asks for desktop websites and sends a Mac user agent. Only extra checks in the page, such as touch support, can tell it's an iPad.
Android models are hidden. Chrome on Android now sends a generic Android 10; K instead of the real version and phone model.
For more detail, modern Chromium browsers offer User-Agent Client Hints, a newer system where a website can ask for specific details, such as the full version or the device model, and the browser decides what to share.
Bots and crawlers
Not every visitor is a person. Search engines, social networks, monitoring services and scrapers also send user agents. The user agent parser flags strings that look automated: names containing "bot", "crawler" or "spider", and the link-preview fetchers used by Facebook, WhatsApp, Discord, Telegram and others.
Some well-known ones:
- Googlebot: Google's search crawler.
- Bingbot: Microsoft Bing.
- facebookexternalhit: Facebook fetching a link preview.
- GPTBot, ClaudeBot, PerplexityBot: AI companies' crawlers.
Remember that a user agent is just text: anyone can send any user agent. A scraper can claim to be Googlebot. To verify a real search crawler, check its IP address with a reverse DNS lookup, as Google and Bing document. To control which crawlers may visit your site, use robots.txt.
Why user agents matter for your website
Analytics. Knowing which browsers and devices your visitors use tells you where to test. If 70% of your customers are on phones, the mobile layout is the one that matters most.
Debugging. When a customer reports "the checkout doesn't work", the user agent from your logs or their support message tells you which browser to reproduce it in.
Logs. Server logs record the user agent of every request. Paste lines into the user agent parser to see who's visiting, and spot crawlers that are hitting your site too often.
Don't build features on it. Changing what a page does based on the user agent is fragile, for all the reasons above. Use feature detection in your code instead, checking whether the browser supports something rather than which browser it is.
Your user agent and privacy
Your user agent is sent to every website you visit, so it's not secret, but combined with your screen size, time zone, language and other details, it can help websites recognise your browser even without cookies. That's called fingerprinting, and it's why browsers are now reducing what the user agent reveals. Privacy-focused browsers go further and make many users look the same.
To see your screen size, pixel ratio and window size, the other half of what websites see about your device, use the screen resolution checker.
Changing your user agent
Browsers let developers send a different user agent for testing. In Chrome and Edge, open the developer tools, then the Network conditions panel, and untick "Use browser default". In Firefox, you can change it in about:config. Safari has a "User Agent" menu under Develop. After changing it, reload this page and the user agent parser shows what websites now see.
Changing it doesn't change how your browser actually works, only how it describes itself. Some sites may send you a layout meant for a different device as a result.
A worked example
A bakery's online shop gets a support email: "Your order button does nothing on my phone." The customer can't say much more, but the developer finds the matching request in the server log, with this user agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Mobile/15E148 Safari/604.1
She pastes it into the user agent parser. It shows Safari 15.6 on iOS 15.8, WebKit engine, Phone. That's a phone several years old. She checks the shop's new checkout code and finds it uses a JavaScript feature that Safari only added in version 16.4. On older iPhones the script stops with an error, so the button does nothing.
She adds a fallback for older browsers, tests it in an older Safari, and replies to the customer that it's fixed. She also checks the shop's analytics: about 4% of visitors use iOS 15 or older, enough that the fix was worth making.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.
More developer tools: the URL parser for web addresses, the JSON formatter for API responses and the regex tester for searching logs.
Frequently asked questions
What is my user agent?
It's shown in the box at the top of this page, already decoded by the user agent parser into your browser, version, operating system, engine and device type.
What is a user agent string?
A line of text your browser sends to every website, in the User-Agent header, describing the browser and system. Websites use it for analytics, logging and compatibility.
Why does my user agent say Mozilla and Safari when I use Chrome?
For compatibility. Old websites checked for those names, so newer browsers include them to avoid being treated as unsupported. The parser looks past them to the real browser.
Can a user agent be faked?
Yes. It's just text, and browsers, tools and bots can send anything. Treat it as a hint, not proof.
Why does my Chrome version end in .0.0.0?
Chromium-based browsers hide the minor version numbers for privacy. Only the major version (the first number) is accurate.
Is this user agent parser free?
Yes. It's free, needs no sign-up, and works in your browser; nothing you paste is uploaded.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.