Random User Agent Generator creates a list of random user agent strings. Enter how many you need, choose a browser and device, then copy the list. It is free and runs in your browser.
Number of random user agents: 3
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool creates a list of random user agent strings. A user agent is the line of text a browser sends to a website to say which browser, version and system it is. Enter how many you want and the tool builds that many strings, one on each line.
Choose Chrome, Firefox, Safari or Edge, and Desktop or Mobile, to limit the list. Leave them on Any to get a mix of Windows, macOS, Linux, Android, iPhone and iPad strings.
You can make up to 1000 at a time. They suit testing, sample data and learning, but changing a user agent does not hide who you are. Nothing leaves your browser.
Each row shows the settings you choose and what you get. The strings are random, so your list will differ. Unless stated, the browser is Any browser and the device is Any device.
| Settings | Result |
|---|---|
| 5 user agents, any browser, any device | Five lines that mix Chrome, Firefox, Safari and Edge on desktop and mobile, each starting with Mozilla/5.0. |
| Chrome, any device | Chrome strings for Windows, macOS, Linux, Android or iPhone, such as Mozilla/5.0 (Windows NT 10.0; Win64; x64) ... Chrome/138.0.0.0 Safari/537.36. |
| Chrome, Desktop | Chrome on Windows, macOS or Linux only. |
| Firefox, Mobile | Firefox on Android or iPhone, such as Mozilla/5.0 (Android 14; Mobile; rv:132.0) Gecko/132.0 Firefox/132.0. |
| Safari, Desktop | Safari on a Mac, such as Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ... Version/17.5 Safari/605.1.15. |
| Safari, Mobile | Safari on iPhone or iPad, ending in Mobile/15E148 Safari/604.1. |
| Edge, Desktop | Edge on Windows or macOS, ending in Edg/ followed by the version. |
| Number is 0 | Enter a whole number of user agents from 1 to 1000. Your list was not changed. |
| Number left empty | Enter a whole number of user agents from 1 to 1000. Your list was not changed. |
Testing a site or app in different browsers and devices, filling test data, building log and analytics samples, and learning how user agent strings are put together.
The strings are generated to look real but may not match a browser release that was actually published. Changing a user agent does not hide you, so follow the terms of any site you use them with.
For related jobs, try Random IP Address Generator, Random Email Generator, Random Name Generator or Randomly Sort Lines of Text.
It creates a list of random user agent strings that look like the ones sent by real browsers. You choose how many you want, and you can limit them to one browser or one kind of device.
Enter the number of user agents you want and click Generate User Agents. The strings appear in the box, one on each line, and you can copy them with the Copy button.
A user agent is a line of text that a browser sends to a website with each request. It names the browser, its version and the system it runs on, such as Windows, macOS, Linux, Android or iOS.
Yes. Choose Chrome, Firefox, Safari or Edge, and choose Desktop or Mobile. The default is Any browser and Any device, which mixes them.
They follow the same patterns real browsers use, with version numbers in a recent range. They are generated, so a string may not match a browser release that was actually published.
They are handy for testing how a website or app responds to different browsers and devices, for filling test data, for analytics and log samples, and for learning how user agent strings are built.
Current Chrome and Edge report only the major version in the user agent string, for example 138.0.0.0. The tool does the same.
From 1 to 1000 at a time. If the number is not allowed, the tool shows a message and leaves the list as it is.
No. Changing a user agent string does not hide your identity, your IP address or other signals a website can read. Use these strings for testing and follow the terms of any site you use them with.
The tool is free, needs no account and runs in your browser, so nothing you do here is uploaded to a server.
Last updated: 21 November 2026