dgMaster logo:dice dgMaster: data generator, simple.

Welcome to project's dgMaster web page

is a simple, free, extensible and open source data generator released under the GPL license. It is currently under development, (for now, only text format is supported), and the plan is to extend it with many features (database, xml and more).

The data generator has built-in support for a number of simple java data types, as well as some higher-level data types:

  • Boolean
  • Date
  • Numeric (Integer, Double, Float, Long)
  • String
  • SQLDate
  • SQLTimestamp
  • SQLTime
  • English text
  • Dictionary usage
  • English first names
  • English last names
  • English full names (with title, etc.)
  • emails

Support for more data types is in the upgrades list. Although having as many data type generators is nice, it is not the primary goal of (at least in this phase). The reason is that it is very hard to match everyone's needs and this is often a never-ending task. To this end, is really easy to extend with new user-custom data types.

The project's main goals are to:

  • Generate data in different formats and with different options: text file (csv, fixed width, enclosing characters, etc), database (support for different database types, referential integrity),  xml (support for elements with/without attributes, dtd).
  • Provide primitive as well as higher-level data types. By primitive data types, I mean the ones that are available in the java language; I regard high-level data types to be the ones that are not built in the language such as names, post codes, emails, etc.
  • Offer an easy to use GUI.
  • Use from the command line.
  • Be extensible by allowing developers to write their own generators.
  • Evolve into a data generation framework, (ok, this is an ambitious one), allowing the developer to have full control on the generation of the data.


Future upgrades will include support for:

  • Databases and xml.
  • More data generators (Post codes, pronounceable text in different languages, names in different languages, etc.).
  • Event listeners pre/post the generation of data.
  • Compound or composite generators.
  • Entity beans generator.
  • Auto-increment keys for databases.
  • Sequence fields for Oracle.
  • Help files.
  • and more, stay tuned...