# User agent inspector: platform, in-app browser and bot detection

> Free user agent parser for deep links: paste a user agent and see the platform, device, OS version, in-app browser (Instagram, Facebook, WhatsApp, TikTok), web view and bot detection, using the same code as the link server.

Source: https://straitlink.in/tools/ua-inspector/
Markdown: https://straitlink.in/tools/ua-inspector.md

## User agent inspector

Paste a user agent and see what Strait's link server makes of it: phone or computer, Android or iPhone, which app's in-app browser, web view or bot, and what a tap from there gets. Runs the server's own detection code in your browser.

## What the link server detects

## What a tap from here gets

For an example app on Google Play and the App Store. [See every step in the simulator](https://straitlink.in/tools/will-it-open/)

Technical details

```

```

## What the detection looks at

This page runs the same detection function Strait's link server runs on every tap, copied from its source and checked against it by our tests. It reads the user agent in a fixed order.

First, **is it a person?** Search crawlers, tools like curl, and the fetchers that WhatsApp, Slack, Telegram and Discord use to build link previews are marked as bots. They get a preview card, never a redirect, and are never billed as taps. An empty user agent is treated the same way.

Next, **which platform?** iPhone, iPad and iPod mean iOS; Android means Android; everything else is treated as a computer. Android tablets are told apart from phones by the missing "Mobile" token. The iOS version comes from the "OS 17_5" part, and the Android version from "Android 14", unless Chrome's reduced user agent hides it.

Last, **which browser?** Instagram, Facebook, TikTok, X, Snapchat, LinkedIn, WeChat, LINE, WhatsApp and Telegram add their names, so their in-app browsers are recognised by name. An Android web view without a name carries "; wv)"; on iPhone, a browser without "Safari" is an app's web view.

## Why links behave differently in each app

The same link can open your app from Chrome, stall inside Instagram and show a preview card in WhatsApp. The difference is the browser the tap happens in, and the user agent is how a link server tells them apart.

Phone browsers such as Chrome, Samsung Internet and Safari can hand a tap to an installed app. In-app browsers often can't, so a deep-linking service shows them a page with an "Open in app" button on Android, or how to open the link in Safari on iPhone. Computers have no app to open and go to your web page.

Paste user agents from your server logs to see which of your visitors arrive inside which apps. When a channel sends many people through an in-app browser, test it in the [Will it open my app?](https://straitlink.in/tools/will-it-open/) simulator, and check your [assetlinks.json](https://straitlink.in/tools/assetlinks-checker/) so Android opens the app directly from phone browsers. On iPhone, Strait links open the app through Universal Links.

## Questions

What is a user agent?

A line of text every browser sends with each request. It names the operating system, the browser engine and often the app the browser runs inside, such as Instagram or WhatsApp. Link servers read it to decide where to send a tap.

Why does my Android phone say Android 10?

Chrome and other Chromium browsers now send a reduced user agent: the model is replaced by K and the version is always 10. The real version is only available in the Sec-CH-UA-Platform-Version client hint, which servers have to ask for. Paste it into the hint field to see the version the engine would use.

Why does it matter whether a tap came from an in-app browser?

Instagram, Facebook, TikTok and similar apps open links in their own browser, which often blocks hand-offs to other apps and to the store. A link that works in Chrome can leave people stuck on a web page there, so the in-app browser gets a different page.

Is the user agent I paste sent anywhere?

No. The detection runs in your browser with the same code the link server uses, and nothing you paste leaves the page. Only the page address changes, so you can share a result.

Can a user agent be faked?

Yes, any client can send any user agent, which is why it is used to pick the right page for a tap, never for security decisions. Bots that pretend to be phones are a known case; the engine also filters common crawlers and preview fetchers by name.

## See the browser behind every tap

Strait records each tap with its platform, in-app browser and outcome, so the dashboard shows which channels open the app and which get stuck.

[Start free](https://app.straitlink.in/?signup=1)

## More free tools

[### Is my app link broken? Paste a page.link, Branch, OneLink, Adjust or any deep link and see what Android, iPhone and desktop get: the app, the store, a web page, or nothing.](https://straitlink.in/tools/link-checker/)
[### Will it open my app? Pick where the link is tapped (WhatsApp, Instagram, Gmail, Chrome, Safari) and see the decision Strait makes for that tap, step by step.](https://straitlink.in/tools/will-it-open/)
[### Test my link on your phone Send a link to your own phone by QR, WhatsApp, Telegram, email or SMS, then tick off what each in-app browser shows against what it should.](https://straitlink.in/tools/test-my-link/)
