User-Agent Example Generator
Generates an illustrative example User-Agent string in the standard public format — for populating test data or documentation. These are constructed examples, never captured from, or representative of, any real visitor or device.
What this generator does
Produces an illustrative User-Agent string in the standard format, for testing parsers and filling documentation. Every string is constructed rather than captured, which matters: a real User-Agent is a fingerprint of a real person's device, and pasting one into a public document is a small privacy leak.
What you'll get
This generator draws from a hand-checked list of 8 entries. Here is a spread of 6 of them, so you can see the style before you generate:
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) ExampleBrowser/120.0
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) ExampleBrowser/120.0
- Mozilla/5.0 (X11; Linux x86_64) ExampleBrowser/120.0
- Mozilla/5.0 (Android 14; Mobile) ExampleMobile/120.0
- Mozilla/5.0 (iPad; CPU OS 17_0 like Mac OS X) ExampleMobile/17.0
- ExampleBot/1.0 (+https://example.com/bot)
A fixed sample of the list, not a live draw — your own results are picked at random from all 8, without repeating until the list runs out. Original HEKNO-curated illustrative example user-agent strings, in the standard public format. Last reviewed 2026-09-01.
How to use this tool
- Press generate for a User-Agent example.
- Generate again for another one.
Understanding the controls
- Seed (optional)
- A word here brings back the same string out of the eight in the bank; it does so for as long as the generator is unchanged. Leave it blank for a fresh draw on each press. After a seeded draw the word sits in the address bar, so the link opens with it in the box and the identical example is one press away. The word is there to repeat a draw: it is non-cryptographic, and anybody holding it gets the same string.
Common use cases
- Test data for request-parsing code
- Documentation examples
- Teaching User-Agent string structure
Limitations and good to know
- These are constructed examples, not strings from any real visitor to this site, and they will not correspond exactly to any shipped browser build.
- User-Agent strings are unreliable for feature detection and are being actively reduced by browsers. Use them for parser tests and logging examples, not for deciding what a client supports.
Entries are chosen with your browser's cryptographic random number generator, so every entry on the list is equally likely. How Generate Random works.
Constructed illustrative examples only — never captured from, or representative of, any real visitor or device.