MIME Type generator

Last modified: April 3, 2025

The MIME Type generator creates random or structured MIME (Multipurpose Internet Mail Extensions) type strings, which are used to specify the nature and format of files or data in web applications, email, and other communication protocols. This generator is suitable for software testing and data population in systems that handle or process content types defined by MIME standards.

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
MIME Type text/css, model/vnd.opengex, image/png, … character varyingcharactertext Default

Matching rules

The generator can be assigned to a column that matches any of the following rules:

  • The column name is ‘mime’, regardless of the table name.
  • The column name starts with ‘mime’ and ends with ‘type’, with any or no characters in between, 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\MIMETypes.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 MIME Type generator

MIME Type generator