Okay, folks, let’s dive into how I messed around with generating random New Zealand addresses. It wasn’t exactly rocket science, but it was a fun little project.
So, I needed a bunch of fake New Zealand addresses for, uh, reasons. Don’t worry, it was nothing shady! I just needed them for testing something. I figured, “Hey, I can probably whip something up myself.” And so, I did.
Getting Started
First thing I did was hit up the internet and search for the structure and format of an address in New Zealand. I wanted to make a dataset that looks as realistic as possible.

Then, I wanted to see how it was done, so I searched for some sample data and found a list of New Zealand streets, suburbs, and cities. I figured that’s a good starting point. I could just randomly pick stuff from these lists and put them together.
Building the Thing
Next, I grabbed some random number generators. I mean, that’s the heart of “random,” right? I needed numbers for the street addresses, and sometimes for postcodes, because some of them are just digits.
After that, I started piecing it all together. I made a script that would:
- Pick a random street number.
- Grab a street name from my street list.
- Snag a suburb and city from those lists too.
- Get some data for the region and postcode.
- Smash it all together in the right order.
I played around with it, tweaked it a few times, and boom – I had a bunch of random New Zealand addresses! They looked pretty legit, if I do say so myself.
The Result
It was actually easier than I thought. The hardest part was probably just finding decent lists of streets and suburbs. Once I had that, the rest was just simple. I got a set of valid random New Zealand addresses that I used for my project.

So yeah, that’s how I made my own little New Zealand address randomizer. No fancy tools, no complicated code, just some basic know-how and a bit of trial and error. And that’s all.