Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm testing a library that processes queries based on User-Agent. In my tests, I'd like to feed it as much strings as possible.

Where can I find a public collection of User-Agent strings?

I'm mainly interested in "real" strings, but a collection of specifically interesting strings could be of use (like examples that are likely to put stress on parsers). Plain newline-delimited list is OK.

share|improve this question
Remember that users can come to your site using any user agent string they choose - real or made up. Thus, you should consider testing using strings you create to intentionally "stess" your parser. Base those strings on your knowledge of your parser's design. – Joe Strazzere Aug 29 '13 at 18:59
@JoeStrazzere Definitely, although besides that I need to concentrate on regression tests on "existing" browsers. Which is reason why I want to compile a list as big as possible – Alois Mahdal Aug 29 '13 at 19:14

I searched Google for "User-Agent strings" and found this and this and this. If you work for a company with a website, you might try asking them for a list.

share|improve this answer

I found this site that offers a sample of user agents in csv format:

Actual download link:

The format is: "Type","Name","useragentstring"

share|improve this answer

I searched google and found another which is pretty GOOD. You can find them here and here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.