Skip to content
Categories
User-Agent Generator
Generate a User-Agent string from a combination of major browsers and operating systems.
Overview
- Generates a realistically formatted User-Agent string from a combination of major browsers (Chrome, Firefox, Safari, Edge) and operating systems (Windows, macOS, Linux, Android, iOS).
- Intended for development and testing purposes, such as testing a browser extension's User-Agent spoofing or checking how server-side User-Agent detection logic behaves.
- Only combinations that actually exist are included (for example, Safari is offered only for macOS and iOS).
Usage
- Select the combination you want to generate from "Browser / OS".
- The corresponding User-Agent string is displayed as soon as you make a selection.
- Use the "Copy" button to copy the result to the clipboard.
Example
Input
Chrome / Windows
Output
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Use Cases
- Preparing a test string for spoofing the User-Agent with a browser extension or proxy tool
- Checking whether server-side or API User-Agent detection logic (such as browser branching) behaves as expected
- Pasting it into "User-Agent Parser" to cross-check that the parsed result is as expected
FAQ
Are the version numbers up to date?
They are fixed values based on the latest stable release at the time this tool was implemented. They are not updated automatically, so they may drift from the actual latest version over time.
Can I specify an arbitrary version number?
No. You choose from a predefined set of combinations. If you need a specific version number, manually edit the version portion of the generated result.
Can I generate a mobile User-Agent as well?
Yes. You can generate User-Agent strings for Chrome for Android and Safari on iOS.
Notes
- The included combinations are Chrome (Windows/macOS/Linux/Android), Firefox (Windows/macOS/Linux), Safari (macOS/iOS), and Edge (Windows).
- Version numbers are fixed and may differ from the actual latest browser versions.
Related Tools
Parse browser, OS, and device information from a User-Agent string.
Look up HTTP status codes by code number, keyword, or category (1xx–5xx).
Convert a curl command into JavaScript fetch() code.