Random User-Agent Generator

Choose a browser, device, or crawler type and how many strings you need, then press Generate user agents. Each string comes with its browser, version, system, and device type, ready to copy or export.

Try a preset

About this User-Agent generator

Every browser and crawler sends a User-Agent header that names its software, version, and operating system. Developers need realistic examples to test how a site reacts to different devices, to check server logs and analytics filters, to write tests for bot detection, or to seed sample data. This generator builds strings from the formats real browsers use today, with recent version numbers: Chrome, Firefox, Safari, Edge, and Opera on desktop, Safari on iPhone and iPad, Chrome and Samsung Internet on Android, Googlebot and Bingbot, AI crawlers, game consoles, and smart TVs. The real-world mix follows rough browser market shares.

How to generate user agents

  1. Choose a type. Pick the real-world mix, an even spread of everything, or one browser, device, or crawler. Presets set common choices for you.
  2. Choose how many. Pick from 1 to 100 strings, and keep Only unique on to avoid duplicates.
  3. Generate and export. Press Generate user agents, check the details table, and copy or download the list as text, JSON, CSV, Python, or JavaScript.

Frequently asked questions

Why do almost all user agents start with Mozilla/5.0?

It is a leftover from the 1990s, when sites sent better pages to Netscape (Mozilla). Other browsers copied the prefix to get the same pages, and it has stayed ever since.

Why does Chrome show 0.0.0 in its version?

To reduce fingerprinting, Chrome and Edge now report only the major version, such as Chrome/143.0.0.0. The full version is available to sites only through Client Hints.

Can I use these to pretend to be Googlebot?

You can test how your own site responds, but other sites verify real Googlebot visits by checking the IP address with a reverse DNS lookup, so a copied User-Agent alone does not pass as Google.

Are these real user agents?

They follow the exact formats real browsers send, with plausible current version numbers, but each string is generated rather than collected from a real visitor.

How do I use a user agent in code?

Set it as the User-Agent header of your HTTP request. The Python and JavaScript exports give you a ready list to pick from, for example in requests or fetch calls.