Free Tool
4.9/5

What Is My User Agent?

A free device and browser detector. See what your browser and device report: your user agent string and client hints, the OS, device and browser as Flyn analytics record them, whether an iPad is presenting itself as a Mac, and which field of a smart link you match. Or paste any user agent to decode it.

Want to know whether you are inside Instagram's or TikTok's built-in browser? Use the In-App Browser Detector.

Reading your browser

For support teams: ask a customer to open this page and copy the string above, or take it from your logs. The pasted string is analyzed in this page and never sent anywhere. Touch support cannot be known from a pasted string, so a Safari string that says Mac could be a Mac or an iPad.

Flyn Pro

One link for iPhone, Android, Windows and Mac

Give one short link its own iOS, Android, Windows and Mac destinations. On links with a Mac destination, the Safari check above tells an iPad from a Mac. Every other device gets your country rules, A/B split or default page. Pro starts at $9 a month billed annually, or $12 monthly.

iOSapps.apple.com/app/...
Androidplay.google.com/store/apps/...
Windowsapps.microsoft.com/detail/...
Macapps.apple.com/app/...

Sharing one link with iPhone, Android, Windows and Mac users?

Create Flyn short links with click counts for free. On Pro, add device, OS and browser breakdowns, and give each link its own iOS, Android, Windows and Mac destinations.

Shorten for free

How to Check Your User Agent in 3 Steps

Step 1: Open the page on the device you want to check, What Is My User Agent tool
1

Open the page on the device you want to check

The tool reads your browser the moment the page loads: the user agent string (with a copy button) and, in Chrome, Edge and other Chromium browsers, the client hints. On a computer without a touch screen, scan the QR code with an iPad or phone to run the same check there.

Step 2: Read the device, OS, browser and the iPad check, What Is My User Agent tool
2

Read the device, OS, browser and the iPad check

See the device type, operating system and browser as Flyn analytics record them, then the iPad or Mac panel: when Safari presents a Mac user agent, touch support decides, the same rule Flyn short links use.

Step 3: See which smart link field you match, What Is My User Agent tool
3

See which smart link field you match

The last panel shows which destination a link with iOS, Android, Windows and Mac fields would serve this device, and what happens to a device with no field. Paste any user agent to run the same analysis for someone else.

What Is a User Agent?

A user agent is the line of text a browser sends in the User-Agent header of every request. It names the browser and its version, the rendering engine, and the operating system, in a format that grew by imitation: nearly every browser still starts with Mozilla/5.0 and many mention Safari and KHTML, like Gecko, so that old sites written for one browser keep working in the others. Reading one means looking for the tokens that matter (iPhone, Android, Windows NT, Macintosh, CrOS, Edg/, Firefox/) and ignoring the rest.

Websites use it to pick a layout, to count which devices their visitors use, and, on a short link, to decide where to send each visitor. Chromium-based browsers now add User-Agent Client Hints, short structured headers for the brand, a mobile flag and the platform, because the string itself has been trimmed to protect privacy. Flyn reads both: the string, and the hints when a browser sends them. The tool above runs the very same code, which is why its labels match what a Flyn click records.

Why Does My iPad Say It Is a Mac?

Since iPadOS 13, Safari on iPad asks for desktop websites by default, and to get them it sends the same user agent as Safari on a Mac. It sends no client hints either. So for any server, Flyn's included, a request from Safari on an iPad and one from Safari on a Mac look the same. That is great for getting the full desktop version of a site, and a problem for anything that routes by device: an iPad sent to a Mac download page is in the wrong place.

The browser itself knows the difference. An iPad has a touch screen and reports it (navigator.maxTouchPoints is 5), and a Mac reports 0. So on a Flyn link that has a Mac destination, Safari visitors whose user agent says Mac see a blank page for a moment that checks touch support, then the link continues: a Mac to the Mac destination, an iPad (or an iPhone using Request Desktop Website) to the iOS destination. With JavaScript off, it continues as a Mac. Chrome, Edge and Firefox on a Mac skip the check and go straight to the Mac destination, and on links without a Mac destination nothing changes: Safari on an iPad still reads as a Mac and gets the link's country rules, A/B split or default. The iPad or Mac panel in the tool above applies the same touch rule to your own browser.

For both strings side by side, why user agent checks get iPads wrong, and how to route iPads correctly, read iPad Safari says it is a Mac: how to detect and route iPads.

What Each Device Tells a Website

Common browsers, what their user agent and client hints say, and what Flyn records and routes for each. Every row is the output of Flyn's own detection code.

Device and browserUser agent saysClient hintsFlyn recordsSmart link field
iPhone, SafariiPhoneNoneiOS, mobile, SafariiOS
iPad, Safari (default)MacintoshNonemacOS, desktop, Safari; iOS, tablet on a link with a Mac destinationiOS on a link with a Mac destination; otherwise country rules, A/B split or default
Mac, SafariMacintoshNonemacOS, desktop, SafariMac
Mac, ChromeMacintosh, ChromePlatform "macOS"macOS, desktop, ChromeMac
Windows, EdgeWindows NT 10.0, EdgPlatform "Windows"Windows, desktop, EdgeWindows
Android phone, ChromeLinux; Android 10; KPlatform "Android", mobileAndroid, mobile, ChromeAndroid
Large Android tablet, ChromeX11; Linux x86_64Platform "Linux"Linux, desktop, Chrome (Chrome asks for the desktop site by default here)None: country rules, A/B split or default
Chromebook, ChromeX11; CrOSPlatform "Chrome OS"Chrome OS, desktop, ChromeNone: country rules, A/B split or default
Linux, FirefoxX11; LinuxNoneLinux, desktop, FirefoxNone: country rules, A/B split or default

How a Flyn Smart Link Routes Each Device

  1. 1

    Device rules first

    A Pro link can hold an iOS, an Android, a Windows and a Mac destination. Windows and Mac take http or https URLs only, so use the store's web page (apps.microsoft.com, apps.apple.com) rather than a store scheme.

  2. 2

    Then country rules

    A device with no field of its own (Linux, ChromeOS, anything unrecognized), or a field left blank, moves on to the link's country rules. There is no combined device and country rule, and no city, region or time rule.

  3. 3

    Then the A/B split, then the default

    If no country rule matches, the link's A/B split applies when it has one, and otherwise its default destination.

  4. 4

    Where rules do not apply

    Routing rules do not apply to crawlers, password-protected links, links past their click limit, or mailto, tel and sms links.

More on the idea behind it in what smart links are, and the full setup on the device targeting page.

Detect It Here, Route It with Flyn

This page reads one browser. Flyn short links use the same detection code for their click analytics and device rules.

Four device destinations

On Pro, one link can send iOS, Android, Windows and Mac visitors to their own pages, with everyone else on your country rules or default.

iPads go to iOS

On links with a Mac destination, a quick touch check sends Safari on an iPad to your iOS destination instead of the Mac one.

The same labels in analytics

This tool runs the detection code Flyn analytics use. Click counts are free; device, OS and browser breakdowns are on Pro.

No visitor identity

Flyn records no visitor identity and no unique visitors, only labels such as device, OS, browser, country, city and referrer.

Frequently Asked Questions

What is my user agent?
Your user agent is a line of text your browser sends with every request, naming the browser, its engine and the operating system, for example Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) followed by the engine and browser tokens. The tool at the top of this page shows yours with a copy button, and turns it into the device, OS and browser labels Flyn analytics record. The string does not contain your name or account, and common browsers send strings that many people share, though an unusual string is rarer and so says more about a browser.
Why does my iPad say it is a Mac?
Since iPadOS 13, Safari on iPad asks for desktop websites by default and sends the same user agent as Safari on a Mac, so sites serve it the full desktop layout. Safari sends no client hints either, so a server cannot tell the two apart from the request alone. The difference shows up only inside the browser: an iPad reports touch support (navigator.maxTouchPoints of 5) and a Mac reports none. If you turn off Request Desktop Website in Safari, the user agent says iPad again.
How does Flyn tell an iPad from a Mac on a short link?
Only on links that have a Mac destination. There, a Safari visitor whose user agent says Mac gets a blank page for a moment that checks touch support, then the link continues: a Mac to the Mac destination, an iPad to the iOS destination, and an iPhone using Request Desktop Website to the iOS destination too. With JavaScript off it continues as a Mac. Chrome, Edge and Firefox on a Mac skip the check and go straight to the Mac destination, and links without a Mac destination behave exactly as before.
What are User-Agent Client Hints?
Client hints are a structured way for Chromium-based browsers such as Chrome and Edge to describe themselves. Three low-detail hints, the brand list, a mobile flag and the platform, travel with requests as the Sec-CH-UA, Sec-CH-UA-Mobile and Sec-CH-UA-Platform headers, and Flyn reads them to tell Chrome from other Chromium browsers and to place the operating system. Details such as the platform version and device model are released only when a page asks, which this tool does inside your browser. Safari does not send client hints.
Why does my Mac user agent say Mac OS X 10_15_7?
Browsers froze that part of the string, so a Mac on a newer macOS still reports 10_15_7 in Safari and Chrome, and says Intel even on Apple silicon (Firefox writes 10.15). It does not mean the Mac is out of date. In Chrome, the platform version client hint carries the real version, and this tool shows it under Client Hints when the browser shares it.
Why does my Android user agent say Android 10; K?
Chrome reduced the detail in its user agent string: on Android it reports Android 10 and the model K whatever the real phone is. The real values are still available as client hints, so on Chrome for Android this tool shows the model and platform version under Client Hints when Chrome shares them. Flyn routes and records by operating system, so the reduced string does not change where an Android visitor goes.
Can a user agent be faked?
Yes. Browser extensions, developer tools, privacy browsers and Safari's own Request Desktop Website setting all change what a browser reports, and a script can send any string it likes. Treat a user agent reading, this tool's and Flyn's included, as a strong hint rather than proof. Some browsers also present another device on purpose: Safari on iPad presents a Mac, and Chrome on large Android tablets requests the desktop site by default and presents a Linux computer. Flyn routes by operating system only, and on links with a Mac destination it checks touch support to tell an iPad from a Mac.
Which field of a Flyn smart link would my device match?
A Flyn Pro link can carry an iOS, an Android, a Windows and a Mac destination. iPhones and iPads match iOS (an iPad in Safari through the touch check, on links with a Mac destination), Android phones match Android, and Windows and Mac computers match their own fields. Chrome on large Android tablets (by Chrome's definition, a display of at least 10 inches and 8GB of RAM) requests the desktop site by default and reports Linux, so Flyn records such a tablet as Linux and it matches no field; on the mobile site it reports Android and matches Android. Linux, ChromeOS and anything unrecognized have no field and fall through to the link's country rules, then its A/B split if it has one, then its default destination. Rules cannot combine a device with a country, and there are no city, region or time rules.
Does Flyn record who I am when I click a short link?
No. Flyn records no visitor identity and no unique visitors. A click is stored with labels like the ones this tool shows (device type, operating system and browser) plus country, city and referrer. Click counts and timing are free; the device, OS, browser, country, city and referrer breakdowns are on Pro.
Is my user agent sent anywhere by this tool?
A string you paste is never sent: the analyzer checks it in the page. Your own user agent is a different matter. Every web request carries it, so any site, this one included, receives it with each page load. If you accept analytics cookies, the site analytics on this page, as on every flyn.to page, record your browser's user agent with page views and events, including this tool's events, which also carry the OS, device type and browser it detected. Unless you accept, those analytics do not load.
Is this the same as the In-App Browser Detector?
No, the two answer different questions. This page shows what your browser and device report (the user agent string, client hints, OS, device type and browser) and which field of a Flyn smart link that matches. The In-App Browser Detector answers whether a page opened inside the built-in browser of an app such as Instagram, Facebook or TikTok, and how to reopen it in Safari or Chrome.

Give iPhone, Android, Windows and Mac visitors their own page

Start with free short links and click counts. Add iOS, Android, Windows and Mac destinations on Pro, with the iPad check built in on links that have a Mac destination.