User agent strings are a common feature of web browsers that allow them to identify themselves and provide information about their capabilities to web servers.
Here is a comprehensive list of common user agent strings and the devices and browsers they represent:
Desktop Browsers
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36
: This user agent string represents a desktop computer running the Windows 10 operating system and using the Google Chrome browser.Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
: This user agent string represents a desktop computer running the MacOS operating system and using the Safari browser.Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Mobile Safari/537.36
: This user agent string represents a mobile device running the Android operating system and using the Google Chrome browser.Mozilla/5.0 (iPad; CPU OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Mobile/15E148 Safari/604.1
: This user agent string represents an iPad running the iOS operating system and using the Safari browser.Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 640 XL LTE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Mobile Safari/537.36
: This user agent string represents a Windows Phone device running the Windows Phone operating system and using the Microsoft Edge browser.
Mobile Browsers
Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Mobile Safari/537.36
: This user agent string represents a mobile device running the Android operating system and using the Google Chrome browser.Mozilla/5.0 (iPad; CPU OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Mobile/15E148 Safari/604.1
: This user agent string represents an iPad running the iOS operating system and using the Safari browser.Mozilla/5.0 (iPhone; CPU iPhone OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Mobile/15E148 Safari/604.1
: This user agent string represents an iPhone running the iOS operating system and using the Safari browser.Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Mobile Safari/537.36
: This user agent string represents a mobile device running the Linux operating system and using the Google Chrome browser.
Web Crawlers and Search Engines
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
: This user agent string represents the Googlebot web crawler used by Google to index websites for the Google search engine.Mozilla/5.0 (compatible; Bingbot/2.0; +http://www.bing.com/bingbot.htm)
: This user agent string represents the Bingbot web crawler used by Bing to index websites for the Bing search engine.Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)
: This user agent string represents the Yahoo! Slurp web crawler used by Yahoo! to index websites for the Yahoo! search engine.Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
: This user agent string represents the Baiduspider web crawler used by Baidu to index websites for the Baidu search engine.Mozilla/5.0 (compatible; DuckDuckGo-Favicons-Bot/1.0; +http://duckduckgo.com)
: This user agent string represents the DuckDuckGo Favicons Bot web crawler used by DuckDuckGo to index websites for the DuckDuckGo search engine.Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)
: This user agent string represents the AhrefsBot web crawler used by Ahrefs to index websites for the Ahrefs search engine.
This is just a small sample of the many different user agent strings that exist, but it should give you an idea of the variety of devices and browsers that can be represented by user agent strings.
I hope this list of common user agent strings is helpful for your web development needs! If you have any other questions or need further assistance, please don’t hesitate to ask.