๐Ÿค–

Random User-Agent Generator

Pick a browser and platform to generate a User-Agent from built-in samples for parser and compatibility tests.

Practical Guide
Browser
Chrome
Operating System
Windows
Device TypeDesktop
Generated User-Agent
User-Agent Examples
BrowserOperating SystemDevice TypeUser-Agent
ChromeWindowsDesktopMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
ChromemacOSDesktopMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
ChromeLinuxDesktopMozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
ChromeAndroidMobileMozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
ChromeiOSMobileMozilla/5.0 (iPhone; CPU iPhone OS 17_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/120.0.6099.119 Mobile/15E148 Safari/604.1
FirefoxWindowsDesktopMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
FirefoxmacOSDesktopMozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0
FirefoxLinuxDesktopMozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
SafarimacOSDesktopMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15
SafariiOSMobileMozilla/5.0 (iPhone; CPU iPhone OS 17_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Mobile/15E148 Safari/604.1
EdgeWindowsDesktopMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
EdgemacOSDesktopMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
EdgeLinuxDesktopMozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0

โ“What is this?

User-Agent is an HTTP request header that can report the client software and platform. Several tokens may be present for compatibility, so a token alone can be misleading.

โœจFeatures

โšก

Platform-aware browser selection

The platform list follows the selected browser. The page labels the device class for that platform and clears results when the selection changes.

๐ŸŽฏUse Cases

Header parser regression tests

Use the example table to compare how your parser labels desktop Chrome, Firefox and Edge or mobile Safari.

๐Ÿ“šPractical Guide

Compatibility tokens

A Chromium User-Agent may contain both Chrome and Safari tokens. In the Edge examples, Edg/ is the token that identifies Edge.

๐Ÿ’ฌFrequently Asked Questions

โ“Where do the values come from?
The generator picks from a fixed sample set. The strings represent test fixtures for particular browser versions. Repeated draws can return the same string.
๐Ÿ’ฌDoes the sample change my browser?
The tool produces text to copy. Your active browser, viewport and rendering engine keep their current settings.

๐Ÿ’กPractical Guide

๐Ÿ’ก

Load Sample

Load the Safari on iOS sample, or select a browser and a listed platform. Generate a value and copy it into your test fixture.

๐Ÿ”—Related Documents

๐Ÿ“Update Log

๐Ÿ“Œv1.3.261128
v1.3.261128

Filtered platforms by browser, added a Safari on iOS sample, and tied the example table to the selectable test profiles.

v1.1.251028

Optimized page structure and simplified component architecture for improved code maintainability

๐Ÿ“ฆRecommended Components

User Comments

0 / 2000
Loading...