
User-Agent reduction and frozen OS versions
Since Chrome 113, Chrome and Edge send a reduced User-Agent. The version ends in zeros, like 140.0.0.0, and on Android Chrome reports Android 10 and the model K in place of the real phone. Windows 11 reports itself as Windows NT 10.0 in all of these browsers. The generator follows the same rules, so its strings look like the ones in a site's access log.
Apple froze its OS tokens as well. Safari on a Mac reports Intel Mac OS X 10_15_7, Apple Silicon included, and Safari 26 on iPhone reports iPhone OS 18_6. The real Safari number sits in the Version token. Firefox freezes macOS at 10.15 and puts its own version in rv: and Firefox/.
Chrome, Edge and Firefox ship a new major version every four weeks, and Safari gets one major release a year with point releases between. The page counts forward from known releases to today's date and prints the result under the Format menu. Set Versions to last three or last six, and the pool also takes the two or five releases before the current one; for Safari each step back is one point release, such as 26.3 to 26.2.
Uses for a random User-Agent list
- User-Agent rotation in a scraper, with one string per session or proxy IP.
- Filling the User-Agent field in browser profiles for different systems.
- Testing how a site answers iPhone, Android and desktop browsers.
- Replacing stale strings like Chrome 90 in old scripts.
Latest Chrome, Firefox, Safari and Edge user agents
The line under the Format menu shows the current numbers; put them in place of N. Chrome on Windows sends Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/N.0.0.0 Safari/537.36. Edge sends the same string with Edg/N.0.0.0 at the end, or EdgA/N.0.0.0 on Android. The Android Chrome user agent replaces the system part with (Linux; Android 10; K) and adds Mobile before Safari/537.36. Firefox on Windows sends Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:N.0) Gecko/20100101 Firefox/N.0. The iPhone user agent from Safari reads Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/N Mobile/15E148 Safari/604.1, with the Safari version in major.minor form as N.
Using the User-Agent list in Python and Node
Python requests sends python-requests/2.x by default, and antibot rules block that string first. Pass a string from the list: requests.get(url, headers={'User-Agent': ua}). For rotation, pick the Python list format and press Download. You get user-agents.py with a USER_AGENTS list. Rename it to user_agents.py so Python can import it, then set session.headers['User-Agent'] = random.choice(USER_AGENTS) when you open a requests.Session and keep that string for the whole session. In Node 18 and later, fetch(url, { headers: { 'User-Agent': ua } }) does the same, and axios takes the same headers object. With curl, put the string after -A. To turn a curl command copied from DevTools into Python or Node code, use the cURL converter.
Browsers and systems the generator covers
The generator builds Chrome and Firefox strings for Windows, macOS, Linux and Android. Edge covers Windows, macOS and Android, and the generator skips Edge on Linux. Safari covers macOS and iPhone. That makes 13 browser and system pairs, and with Versions set to last six the pool holds at most 78 unique strings. You can ask for up to 500 per run. Up to the pool size every string in the list is unique; past it the generator repeats strings. It has no iPad, no Chrome for iOS and no search engine bots, so pick another source for those.