User Agent generator

Last modified: April 3, 2025

The User Agent generator creates realistic user-agent strings representing various software clients to simulate web browsers, programming languages, and other tools interacting with servers. This generator is helpful for testing applications involving HTTP headers, server logs, or client identification.

Generator properties

The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.

Short name Example of generated data Data type matching Country-specific
User Agent Java/1.6.0_26, Mozilla/5.0 (compatible; ABrowse 0.4; Syllable), PHP/5.2.9… character varyingcharactertext Default

Matching rules

The generator can be assigned to a column whose name contains ‘user’, preceded or followed by any or no characters, and then goes ‘agent’, with any or no characters after, regardless of the table name.

Configure additional settings

The tool allows you to configure the following:

  • In the File to load data from box, select to choose a file to load data from. The default path to the file is C:\Users\Public\Documents\Devart\dbForge Studio for PostgreSQL\Data Generators\UserAgents.txt.
  • Select the Trim left trailing spaces checkbox to remove spaces, tabs and other non-printing characters on the LEFT of each string.
  • Select the Trim right trailing spaces checkbox to remove spaces, tabs and other non-printing characters on the RIGHT of each string (does not remove line breaks).

Preview of the column data generated by the User Agent generator

User Agent generator