Display Name generator

Generates a display name using the given person's name as base. The resulting display name may use one or both of the provided names. If the input names include Unicode characters, the resulting display name will contain Unicode characters. It will not contain spaces.

internet.displayName

Generator settings

Generate data to see results here.

Parameters & Example

Generates a display name using the given person's name as base. The resulting display name may use one or both of the provided names. If the input names include Unicode characters, the resulting display name will contain Unicode characters. It will not contain spaces.

internet.displayName(options?: { firstName?, lastName? })
options
An options object.
options.firstName
The optional first name to use. If not specified, a random one will be chosen.
options.lastName
The optional last name to use. If not specified, a random one will be chosen.

Example

"Kyler84"

Use synthetic data in a test environment.

Related generators

Explore scenarios