Mac generator

Generates a random mac address.

internet.mac

Generator settings

Generate data to see results here.

Parameters & Example

Generates a random mac address.

internet.mac(options?: { separator? })
options
An options object.
options.separator
The optional separator to use. Can be either ':', '-' or ''. Defaults to ':'.

Example

"a2:91:a6:5d:22:cb"

Use synthetic data in a test environment.

Related generators

Explore scenarios