Weight Unit generator

Last modified: April 3, 2025

The Weight Unit generator creates units of measurement to define the weight of an object, in different standard formats recognized globally. It generates predefined or random weight units based on specific systems, such as the metric system, imperial system, or others.

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
Weight Unit g, lb, kg character varyingcharactertext Default

Matching rules

The generator can be assigned to a column whose name starts with ‘Weight’ and ends with ‘Unit’, with any or no characters in between, regardless of the table name.

Configure additional options

The generator produces data based on a regular expression. Since it is built on the RegExp generator, see Regular Expression generator to customize settings and understand the correct usage of syntax.

Preview of the column data generated by the Weight Unit generator

Weight Unit generator