• April 19, 2024

Example User Agent

User-Agent – HTTP – MDN Web Docs

SyntaxUser-Agent: /
Common format for web browsers:
User-Agent: Mozilla/5. 0 () ()
Directives A product identifier — its name or development codename. Version number of the product.

Zero or more comments containing more details. For example, sub-product information.
Firefox UA stringFor more on Firefox- and Gecko-based user agent strings, see the Firefox user agent string reference. The UA string of Firefox is broken down into 4 components:
Mozilla/5. 0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion
Mozilla/5. 0 is the general token that says that the browser is Mozilla-compatible. For historical reasons, almost every browser today sends it.
platform describes the native platform that the browser is running on (Windows, Mac, Linux, Android, etc. ) and if it is a mobile phone. Firefox OS phones say Mobile — the web is the platform. Note that platform can consist of multiple “;”-separated tokens. See below for further details and examples.
rv:geckoversion indicates the release version of Gecko (such as “17. 0”). In recent browsers, geckoversion is the same as firefoxversion.
Gecko/geckotrail indicates that the browser is based on Gecko. (On the desktop, geckotrail is always the fixed string 20100101. )
Firefox/firefoxversion indicates that the browser is Firefox and provides the version (such as “17. 0”).
ExamplesMozilla/5. 0 (Windows NT 6. 1; Win64; x64; rv:47. 0) Gecko/20100101 Firefox/47. 0
Mozilla/5. 0 (Macintosh; Intel Mac OS X x. y; rv:42. 0) Gecko/20100101 Firefox/42. 0
Chrome UA stringThe Chrome (or Chromium/Blink-based engines) user agent string is similar to Firefox’s. For compatibility, it adds strings like KHTML, like Gecko and Safari. ExamplesMozilla/5. 0 (X11; Linux x86_64) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/51. 0. 2704. 103 Safari/537. 36
Opera UA stringThe Opera browser is also based on the Blink engine, which is why it almost looks the same as the Chrome UA string, but adds “OPR/“. 106 Safari/537. 36 OPR/38. 2220. 41
Older, Presto-based Opera releases used:
Opera/9. 80 (Macintosh; Intel Mac OS X; U; en) Presto/2. 2. 15 Version/10. 00
Opera/9. 60 (Windows NT 6. 0; U; en) Presto/2. 1. 1
Microsoft Edge UA stringThe Edge browser is also based on the Blink engine. It adds “Edg/“. 0 (Windows NT 10. 0; Win64; x64) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/91. 4472. 124 Safari/537. 36 Edg/91. 864. 59
Safari UA stringIn this example, the user agent string is mobile Safari’s version. It contains the word “Mobile”. 0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605. 15 (KHTML, like Gecko) Version/13. 1 Mobile/15E148 Safari/604. 1
Internet Explorer UA stringExamplesMozilla/5. 0 (compatible; MSIE 9. 0; Windows Phone OS 7. 5; Trident/5. 0; IEMobile/9. 0)
Crawler and bot UA stringsExamplesMozilla/5. 0 (compatible; Googlebot/2. 1; +)
Mozilla/5. 0 (compatible; YandexAccessibilityBot/3. 0; +)
Examplescurl/7. 64. 1
PostmanRuntime/7. 26. 5
SpecificationsSpecificationHypertext Transfer Protocol (HTTP/1. 1): Semantics and Content (HTTP/1. 1)# compatibilityBCD tables only load in the browserSee also
User-Agent detection, history and checklist
Firefox user agent string reference
Browser detection using the user agent
List of User Agent strings - DeviceAtlas

List of User Agent strings – DeviceAtlas

The User-Agent (UA) string is contained in the HTTP headers and is intended to identify devices requesting online content. The User-Agent tells the server what the visiting device is (among many other things) and this information can be used to determine what content to return. Of course this requires using a device detection solution which translates UAs into understandable software and hardware information.
User-Agent list for different device types
There are millions of User-Agent combinations given that UAs change with the software and hardware. For example, a Chrome browser on an iPhone 6 will introduce itself using a different UA than a Safari browser on the same phone.
Every device type, including phones, tablets, desktops, may come with its own UA that makes it possible to detect this device for any purpose. Interestingly bots and crawlers also come with their unique UAs.
Here is a list of example User-Agents for different device types that can be detected. If you’d like to learn more on these devices, just copy and paste the UAs to our User-Agent testing tool. You’ll see all the properties of a detected device.
Android User Agents
iPhone User Agents
MS Windows User Agents
Tablet User Agents
Desktop User Agents
Set Top Box User Agents
Games Console User Agents
Bots and Crawlers User Agents
E-Readers User Agents
Android Mobile User Agents
Samsung Galaxy S9
Mozilla/5. 0 (Linux; Android 8. 0. 0; SM-G960F Build/R16NW) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/62. 3202. 84 Mobile Safari/537. 36
Samsung Galaxy S8
Mozilla/5. 0 (Linux; Android 7. 0; SM-G892A Build/NRD90M; wv) AppleWebKit/537. 36 (KHTML, like Gecko) Version/4. 0 Chrome/60. 3112. 107 Mobile Safari/537. 36
Samsung Galaxy S7
Mozilla/5. 0; SM-G930VC Build/NRD90M; wv) AppleWebKit/537. 0 Chrome/58. 3029. 83 Mobile Safari/537. 36
Samsung Galaxy S7 Edge
Mozilla/5. 0 (Linux; Android 6. 1; SM-G935S Build/MMB29K; wv) AppleWebKit/537. 0 Chrome/55. 2883. 91 Mobile Safari/537. 36
Samsung Galaxy S6
Mozilla/5. 1; SM-G920V Build/MMB29K) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/52. 2743. 98 Mobile Safari/537. 36
Samsung Galaxy S6 Edge Plus
Mozilla/5. 0 (Linux; Android 5. 1. 1; SM-G928X Build/LMY47X) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/47. 2526. 36
Nexus 6P
Mozilla/5. 1; Nexus 6P Build/MMB29P) AppleWebKit/537. 36
Sony Xperia XZ
Mozilla/5. 1; G8231 Build/41. 2. A. 219; wv) AppleWebKit/537. 0 Chrome/59. 3071. 125 Mobile Safari/537. 36
Sony Xperia Z5
Mozilla/5. 1; E6653 Build/32. 253) AppleWebKit/537. 36
HTC One X10
Mozilla/5. 0; HTC One X10 Build/MRA58K; wv) AppleWebKit/537. 0 Chrome/61. 3163. 36
HTC One M9
Mozilla/5. 0; HTC One M9 Build/MRA58K) AppleWebKit/537. 3
If you’re wondering which devices are most common where you are, read our list of the world’s most popular Android devices.
Below are examples of User Agent strings used by the most popular iPhone devices. As Apple do not pass much info through the User Agent, version numbers don’t allow us differentiate between iPhone models.
However, with DeviceAtlas client-side, you can classify these user agents to return correct device model.
The Complete Guide To User Agents.
Download our free e-book on User Agents to learn:
What is a User Agent?
How do you parse them?
What can you do with them?
Download the Free Guide
For more on how to detect exact iPhone 8/8 Plus and iPhone X models, read our guides on How To Detect iPhone 8/X and how to detect the latest iPhones – the XR, XS and XS Max.
Apple iPhone XR (Safari)
Mozilla/5. 0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605. 15 (KHTML, like Gecko) Version/12. 0 Mobile/15E148 Safari/604. 1
Apple iPhone XS (Chrome)
Mozilla/5. 15 (KHTML, like Gecko) CriOS/69. 3497. 105 Mobile/15E148 Safari/605. 1
Apple iPhone XS Max (Firefox)
Mozilla/5. 15 (KHTML, like Gecko) FxiOS/13. 2b11866 Mobile/16A366 Safari/605. 15
Apple iPhone X
Mozilla/5. 0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604. 38 (KHTML, like Gecko) Version/11. 0 Mobile/15A372 Safari/604. 1
Apple iPhone 8
Mozilla/5. 34 (KHTML, like Gecko) Version/11. 0 Mobile/15A5341f Safari/604. 1
Apple iPhone 8 Plus
Mozilla/5. 0 Mobile/15A5370a Safari/604. 1
Apple iPhone 7
Mozilla/5. 0 (iPhone9, 3; U; CPU iPhone OS 10_0_1 like Mac OS X) AppleWebKit/602. 50 (KHTML, like Gecko) Version/10. 0 Mobile/14A403 Safari/602. 1
Apple iPhone 7 Plus
Mozilla/5. 0 (iPhone9, 4; U; CPU iPhone OS 10_0_1 like Mac OS X) AppleWebKit/602. 1
Apple iPhone 6
Mozilla/5. 0 (Apple-iPhone7C2/1202. 466; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3. 0 Mobile/1A543 Safari/419. 3
MS Windows Phone User Agents
Microsoft Lumia 650
Mozilla/5. 0 (Windows Phone 10. 0; Android 6. 1; Microsoft; RM-1152) AppleWebKit/537. 116 Mobile Safari/537. 36 Edge/15. 15254
Microsoft Lumia 550
Mozilla/5. 0; Android 4. 1; Microsoft; RM-1127_16056) AppleWebKit/537. 36(KHTML, like Gecko) Chrome/42. 2311. 135 Mobile Safari/537. 36 Edge/12. 10536
Microsoft Lumia 950
Mozilla/5. 1; Microsoft; Lumia 950) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/46. 2486. 0 Mobile Safari/537. 36 Edge/13. 1058
Google Pixel C
Mozilla/5. 0; Pixel C Build/NRD90M; wv) AppleWebKit/537. 0 Chrome/52. 98 Safari/537. 36
Sony Xperia Z4 Tablet
Mozilla/5. 1; SGP771 Build/32. 253; wv) AppleWebKit/537. 36
Nvidia Shield Tablet K1
Mozilla/5. 1; SHIELD Tablet K1 Build/MRA58K; wv) AppleWebKit/537. 91 Safari/537. 36
Samsung Galaxy Tab S3
Mozilla/5. 0; SM-T827R4 Build/NRD90M) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/60. 116 Safari/537. 36
Samsung Galaxy Tab A
Mozilla/5. 2; SAMSUNG SM-T550 Build/LRX22G) AppleWebKit/537. 36 (KHTML, like Gecko) SamsungBrowser/3. 3 Chrome/38. 2125. 102 Safari/537. 36
Amazon Kindle Fire HDX 7
Mozilla/5. 0 (Linux; Android 4. 4. 3; KFTHWI Build/KTU84M) AppleWebKit/537. 36 (KHTML, like Gecko) Silk/47. 79 like Chrome/47. 80 Safari/537. 36
LG G Pad 7. 0
Mozilla/5. 2; LG-V410/V41020c Build/LRX22G) AppleWebKit/537. 0 Chrome/34. 1847. 118 Safari/537. 36
If you’re looking for a list of mobile browser user-agents, we’ve got them too – List Of Mobile Browser User-Agent Strings.
Windows 10-based PC using Edge browser
Mozilla/5. 0 (Windows NT 10. 0; Win64; x64) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/42. 135 Safari/537. 246
Chrome OS-based laptop using Chrome browser (Chromebook)
Mozilla/5. 0 (X11; CrOS x86_64 8172. 45. 0) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/51. 2704. 64 Safari/537. 36
Mac OS X-based computer using a Safari browser
Mozilla/5. 0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601. 3. 9 (KHTML, like Gecko) Version/9. 2 Safari/601. 9
Windows 7-based PC using a Chrome browser
Mozilla/5. 0 (Windows NT 6. 1; WOW64) AppleWebKit/537. 111 Safari/537. 36
Linux-based PC using a Firefox browser
Mozilla/5. 0 (X11; Ubuntu; Linux x86_64; rv:15. 0) Gecko/20100101 Firefox/15. 1
Bring device intelligence to your web applications in minutes.
For the web, native apps and mobile operator environments.
Compare options and pricing
Set Top Boxes User Agents
Chromecast
Mozilla/5. 0 (CrKey armv7l 1. 5. 16041) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/31. 1650. 0 Safari/537. 36
Roku Ultra
Roku4640X/DVP-7. 70 (297. 70E04154A)
Minix NEO X5
Mozilla/5. 0 (Linux; U; Android 4. 2; he-il; NEO-X5-116A Build/JDQ39) AppleWebKit/534. 30 (KHTML, like Gecko) Version/4. 0 Safari/534. 30
Amazon 4K Fire TV
Mozilla/5. 1; AFTS Build/LMY47O) AppleWebKit/537. 0 Chrome/41. 99900. 2250. 0242 Safari/537. 36
Google Nexus Player
Dalvik/2. 0 (Linux; U; Android 6. 1; Nexus Player Build/MMB29T)
Apple TV 5th Gen 4K
AppleTV6, 2/11. 1
Apple TV 4th Gen
AppleTV5, 3/9. 1
Game Consoles User Agents
Nintendo Wii U
Mozilla/5. 0 (Nintendo WiiU) AppleWebKit/536. 30 (KHTML, like Gecko) NX/3. 12 NintendoBrowser/
Xbox One S
Mozilla/5. 0; Win64; x64; XBOX_ONE_ED) AppleWebKit/537. 79 Safari/537. 36 Edge/14. 14393
Xbox One
Mozilla/5. 1; Xbox; Xbox One) AppleWebKit/537. 10586
Playstation 4
Mozilla/5. 0 (PlayStation 4 3. 11) AppleWebKit/537. 73 (KHTML, like Gecko)
Playstation Vita
Mozilla/5. 0 (PlayStation Vita 3. 61) AppleWebKit/537. 73 (KHTML, like Gecko) Silk/3. 2
Nintendo 3DS
Mozilla/5. 0 (Nintendo 3DS; U;; en) Version/1.
We’ve compiled a more in-depth list of User-Agent strings of the most active web crawlers and bots.
Google bot
Mozilla/5. 0 (compatible; Googlebot/2. 1; +)
Bing bot
Mozilla/5. 0 (compatible; bingbot/2. 0; +)
Yahoo! bot
Mozilla/5. 0 (compatible; Yahoo! Slurp;)
E Readers User Agents
Amazon Kindle 4
Mozilla/5. 0 (X11; U; Linux armv7l like Android; en-us) AppleWebKit/531. 2+ (KHTML, like Gecko) Version/5. 0 Safari/533. 2+ Kindle/3. 0+
Amazon Kindle 3
Mozilla/5. 0 (Linux; U; en-US) AppleWebKit/528. 5+ (KHTML, like Gecko, Safari/528. 5+) Version/4. 0 Kindle/3. 0 (screen 600×800; rotate)
Learn more about User-Agents
If you’re looking for more information on User-Agents, be sure to read these posts on the DeviceAtlas blog:
How User-Agent parsing works and how it can be used
List of Mobile Browser User Agents
User-Agent string Analysis
Building device databases with User-Agent strings
How to switch UA in your desktop browser
Get Instant access to a DeviceAtlas Cloud trial
DeviceAtlas Cloud offer a great way to start detecting mobile device traffic to your site:
Optimize website content for mobile, tablet, and other devices
Boost website loading time and minimize page weight
Handle traffic from any device as you want
Get started with a DeviceAtlas Cloud trial today.
Get started
User Agent - Definition, Types, and Importance - Seobility Wiki

User Agent – Definition, Types, and Importance – Seobility Wiki

Contents
1 Definition
2 Transmitting the user agent through the HTTP header
3 Types of user agents
4 Importance of user agents
5 Related links
6 Similar articles
Definition
A user agent (short: UA) is software that communicates with servers in a network. An example would be a web browser that retrieves a web page from a server on the internet and displays it. The user agent acts as a mediator between the user and the web server just like a human agent. It processes the user’s instructions, transfers them and receives the requested data. The user agent transmits information such as the browser version, installed plugins, and other data to the web server. Based on this data, the server can assess the capabilities of the user agent and deliver the appropriate data to it.
Figure: User Agent – Author: Seobility – License: CC BY-SA 4. 0
The information that identifies the user agent is transferred to the web server in the HTTP request header. Each header contains a characteristic string that servers can use to identify the application type, operating system, software vendor, or software version of the requesting user agent.
The structure and content of this information are not standardized. Each developer can insert and submit his own information. For example, the basic syntax for a Firefox web browser is:
Mozilla/5. 0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion
Mozilla/5. 0 is a general token stating the web browser is compatible with Mozilla. Modern browsers use this token for historical reasons only, since it is no longer of great importance.
platform describes the native platform the web browser operates on – for example, Windows, Mac, Linux or Android and whether it is a mobile phone or not. Firefox OS for mobile simply puts the word “Mobile” here.
rv:geckoversion indicates the version of Gecko. Gecko is an HTML rendering engine that web browsers use to display a web page. In current browsers, geckoversion is the same as firefoxversion.
Gecko/geckotrail indicates that the browser is based on Gecko. On desktop, geckotrail has the fixed string “20100101”.
Firefox/firefoxversion indicates the browser is a Firefox version with the specified version number.
An example of a Firefox browser on a desktop operating on Windows would look like this:
Mozilla/5. 0 (Windows NT 6. 1; Win64; x64; rv:64. 0) Gecko/20100101 Firefox/64. 0
Information provided by the agent can be modified or falsified. One example would be some mobile web browsers, which can switch between mobile or desktop mode to get access to websites that only allow desktop computers.
In the early days of the internet, Microsoft’s first Internet Explorer pretended to be a Netscape browser to access web pages designed for Netscape Navigator, the dominant browser on the market back then.
Types of user agents
Browsers like Mozilla Firefox, Google’s Chrome as well as Safari and Opera are examples of user agents. However, other applications can also act as user agents. Examples are:
Crawlers: Googlebot, Yahoo! Slurp, MSN bot
Game consoles: PlayStation, Wii, PlayStation Portable and Bunjalloo (the browser on the Nintendo DS)
Legacy operating systems: AmigaVoyager
Link checkers: e. g. W3C-Checklink
SEO tools / on-page crawlers: e. SeobilityBot
Web applications: Flash Player, Adobe Acrobat Reader, feed readers, screen readers, validators, media players, streaming portals
Not all user agents are controlled or instructed by humans. Search engine crawlers are an example of user agents that visit websites automatically.
Importance of user agents
Once a user agent has identified itself to the web server, a process called content negotiation begins. Content negotiation is a mechanism defined in HTTP that allows you to provide different versions of a document or another resource using the same URL. Browsers can specify which version best suits their capabilities with the help of user agent information and request the fitting resource for their needs. A classic application of this mechanism is providing an image in GIF as well as PNG format, and delivering the GIF version to user agents that cannot display PNG images (such as older versions of MS Internet Explorer). Similarly, different stylesheets (CSS), JavaScript, or the mobile version of a web page can be rendered based on browser capabilities. If the user agent transmits the language setting, the appropriate language version of a document can be delivered. A PDF reader can access PDF documents and a media player can access videos.
When an application receives content tailored to its user agent, this process is referred to as agent name delivery. Search engine optimization uses this process to present different content to search engine bots compared to real visitors’ user agents. When this black hat SEO tactic referred to as cloaking is used, visitors see a web page optimized for humans whereas crawlers access content and structure that is mostly simple and optimized for high rankings in search results. However, search engines know this spam technique and therefore often act as browsers.
Similar articles
Proxy Server
Black Hat SEO
Dedicated Server

Frequently Asked Questions about example user agent

What is an example of user agent?

Types of user agents Browsers like Mozilla Firefox, Google’s Chrome as well as Safari and Opera are examples of user agents. However, other applications can also act as user agents. Examples are: Crawlers: Googlebot, Yahoo!

What are the different types of user agent?

User-Agent list for different device typesAndroid User Agents.iPhone User Agents.MS Windows User Agents.Tablet User Agents.Desktop User Agents.Oct 23, 2018

What are the two types of user agent?

User Agent Types: There are two types of user agents: command-driven and GUI- based.

Leave a Reply

Your email address will not be published. Required fields are marked *