Skip to Content
🎲 Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

postcode

// usage randBox.postcode()

Generate a random (U.K.) postcode. Returned postcode is valid with respect to the Postcode Area (first characters) and format only.

randBox.postcode(); => 'W6 9PF'