Random Addresses for Map and Geocoding Demos

Generate coordinates that land in the right city — a random point within roughly 13 km of its centre — for markers, clustering and radius logic. Not for geocoder round-trips.

Updated

Random coordinates for map demos are latitude and longitude pairs that land inside the right city without pointing at a real building. Each pair here is a random point within roughly 13 kilometres of the city centre, in WGS 84 decimal degrees. That is the right level of accuracy for markers, clustering and radius queries, and the wrong level for anything that has to resolve to an address.

In short

Generated coordinates locate a region, not an address. They are a random point near the city centre, which makes them ideal for populating a map and useless for testing a geocoder against the street address printed beside them.

  • Coordinates are drawn within about 0.12 degrees of the city centre — roughly 13 kilometres — and about 0.4 degrees, or 44 kilometres, when the record is pinned to a state rather than a city.
  • They can fall outside the city limits or in open water, because the offset is a square around a centre point rather than a polygon lookup.
  • Values are WGS 84 decimal degrees rounded to five places, which is about 1.1 metres of resolution at the equator — far finer than the accuracy of the point itself.
  • The street address in the same record is invented, so no geocoder will resolve it and no reverse geocode will return it.

Custom generate

Pick a state for a matching address, choose how many you need, or leave Random. Need a specific city? Use the city links below.

Generated address

2275 Nathanial Underpass

Bowling Green, KY 42104

United States

Fictional address — valid format, no real occupant

Approx. area · 37.06915, -86.53483

Address

Street2275 Nathanial Underpass
CityBowling Green
StateKentucky
State codeKY
ZIP / postal code42104
CountryUnited States

Location & contact

Geo coordinates37.06915, -86.53483
Phone270-555-0158
One-line address2275 Nathanial Underpass, Bowling Green, KY 42104, United States

This is randomly generated fictional data for software testing, QA, and privacy. It does not describe a real person. Any resemblance to a real individual is coincidental.

Map work needs volume before it needs accuracy. A clustering algorithm cannot be evaluated with four markers, a store-locator radius query needs enough points to have edge cases, and a rendering performance test needs thousands. Generating them is the obvious answer, and the obvious mistake is to generate coordinates that are uniformly random — which puts most of your markers in the ocean and none of them in the interesting places.

The coordinates here are anchored instead. Each record picks a real city and then offsets from that city's centre by a random amount, so points cluster where cities are, in roughly the density a real customer base has. Generate a thousand and you get a map that looks like a business rather than a scatter plot.

The trade-off is stated plainly because it decides whether this data is right for your test: the point is near the city, not at the address. The street name and house number in the same record are invented, so the pair does not correspond to the address printed beside it, and no geocoder will ever agree that it does.

That makes the split clean. Anything that consumes coordinates — markers, clusters, heat maps, radius filters, viewport fitting, distance sorting — works well with this data. Anything that converts between an address and a coordinate needs real addresses, because the conversion is the thing under test.

What the coordinates are and are not fit for

The offset is a square rather than a circle, applied to latitude and longitude independently around the city centre, so the spread is not a perfect radius and a point can land just outside the city or on water beside a coastal one. For a demo that is usually fine and occasionally funny; for anything that asserts a point is inside a boundary it is disqualifying, and a polygon lookup is what you would need instead.

Radius and nearest-neighbour logic is the interesting middle case. Because the points cluster around real city centres at a realistic spread, a distance query behaves the way it will in production — there are near neighbours, far outliers and ties. Just do not assert exact distances against the address, and remember that a naive distance calculation over raw degrees is wrong at any latitude away from the equator, because a degree of longitude narrows as you move north or south. That is itself a bug worth having a fixture for.

Precision deserves its own note, because it is routinely confused with accuracy. These values are rounded to five decimal places, which resolves to a little over a metre at the equator. The point itself is accurate to a few kilometres. A coordinate can be extremely precise and completely inaccurate, and a UI that prints seven decimal places next to a city-level guess is making a claim it cannot support.

What generated coordinates are fit for

TaskFitWhy
Map markers and clusteringYesPoints cluster around real cities at a realistic density
Heat maps and density viewsYesThe spread around each centre is random rather than uniform across the map
Radius and nearest-neighbour queriesYesNear neighbours, far outliers and ties all occur naturally
Rendering and performance testsYesThe bulk exporter goes to 100,000 rows
Coordinate parsing and precision fixturesYesFive decimal places, real signs, values that survive a CSV round trip
Forward geocoding an address to a pointNoThe street name and house number are invented
Reverse geocoding a point to an addressNoThe point is near the city, not at the address in the record
Point-in-polygon or boundary assertionsNoThe offset is a square around a centre, with no boundary check
Routing or turn-by-turn directionsNoThere is no real destination to route to

The dividing line is direction: anything that consumes a coordinate works, anything that converts between an address and a coordinate does not.

Coordinate bugs worth a fixture

Latitude and longitude swaps are the classic, and they are hard to catch because they often produce a valid-looking result. Swapping a pair in the north-eastern United States gives a longitude of 40 and a latitude of -74, and -74 is out of range for a latitude, so the bug is caught. Swapping a pair near 25 degrees north and 25 degrees east gives another perfectly valid pair, in a different country. A test set drawn from several countries catches this; a test set from one city does not.

Signs are the second most common defect. The western hemisphere has negative longitudes, and a system that drops or normalises the sign moves every American point into Central Asia. The related failure is the null island — a record whose coordinates default to zero and zero rather than to nothing, which is why a map with a suspicious cluster off the coast of west Africa usually means missing data rather than customers.

Then there is formatting. Coordinates cross system boundaries as strings more often than anyone would like, and a locale that uses a comma as its decimal separator turns one number into two fields in a CSV. Storing a coordinate as a single-precision float, or in a column with two decimal places, silently rounds a street-level point to a neighbourhood-level one. Both are worth a fixture that carries a value with real decimals in it, which every record here does.

Decimal places and what they resolve to

Decimal placesResolutionWhat it identifies
1About 11 kmA city or a large district
2About 1.1 kmA neighbourhood
3About 110 mA block
4About 11 mA building footprint
5About 1.1 mA doorway — the precision used here, well beyond the accuracy of the point

Approximate ground distance for a decimal degree of latitude. Longitude narrows as you move away from the equator, which is itself worth a fixture.

Generating enough points to be useful

For a rendering or clustering test the volume matters more than any individual point. The bulk exporter goes to 100,000 rows and writes CSV, JSON or SQL, which is the fastest way to get a map full of markers into a local database. For a smaller, stable set, the JSON API takes a seed and returns byte-identical records, so a demo map can be regenerated exactly rather than re-created by hand.

Spread matters as much as volume. Pin the country or the state and you get points clustered around that region's cities; leave it unpinned and you get a national spread. A store-locator demo generally wants the first, and a performance test generally wants the second, so it is worth generating two fixtures rather than compromising with one.

If your demo shows an address beside the pin, remember what the pin means. The city is real, the postal code is real, and the street is not — so a marker's popup should show the city and region rather than imply that the street exists at that exact point. It is a small framing decision that keeps a demo honest.

How these coordinates are generated

Coordinates are derived, not drawn. The generator picks a real city first, then offsets from that city's centre by a random amount within about 0.12 degrees on each axis — roughly 13 kilometres — and rounds the result to five decimal places. When a record is pinned to a state rather than a city, the offset widens to about 0.4 degrees, or 44 kilometres, and the centre is the state's representative city. Values are WGS 84 decimal degrees, the same reference frame that consumer mapping and GPS use.

Because the offset is applied independently to latitude and longitude, the sampled area is a square rather than a circle, and no polygon check is performed afterwards — which is why a point can sit outside the city limits or in water. That is a deliberate simplicity rather than an oversight: a boundary-accurate point would require a licensed boundary dataset, and it would still not make the invented street address real.

The rest of the record is built to the same rules as everywhere else on this site. The city and its region are real, the postal code is genuinely issued for that place, and the street name and house number are both invented — so nothing in the record, coordinates included, points at a specific building.

The whole record is a pure function of its seed: the same seed returns the same coordinates through the API, which is what lets a demo map be committed as a fixture instead of regenerated on every run.

What this data is for, and what it must never be used for

Coordinates are a location claim, and a location claim made about a real person or a real device is a different thing from one made about a marker in a demo.

Appropriate uses

  • Populating maps, clusters, heat maps and store locators in demos and tests
  • Radius, nearest-neighbour and distance-sorting logic
  • Rendering and performance tests that need thousands of plausible points
  • Fixtures for coordinate parsing, storage precision and format handling

Never acceptable

  • Spoofing a device's reported location to defeat a geofence, a regional restriction or an attendance, delivery or safety check
  • Falsifying where a photo, a delivery, a journey or a person was, in any record others rely on
  • Presenting generated points as real observations — real customers, real sightings, real incidents — in research, journalism or marketing
  • Any use where a reader or a system would treat the coordinate as evidence of something that happened

These points describe nobody and nothing. Used as demo data that is their strength; presented as a record of the real world it is a fabrication. Terms of use · Data and methodology

Frequently asked questions

Do the coordinates match the street address in the same record?+

No, and they are not meant to. The coordinate is a random point within roughly 13 kilometres of the city centre, while the street name and house number are invented, so the two agree about the city and about nothing smaller. If a demo shows both, label the pin with the city and region rather than implying the street exists at that point.

What format and datum are the coordinates in?+

WGS 84 decimal degrees, rounded to five decimal places — the same reference frame consumer mapping and GPS use, so they can be handed to a mapping library without conversion. Five decimal places resolves to a little over a metre at the equator, which is far finer than the accuracy of the point itself; precision and accuracy are not the same thing here.

Can I reverse-geocode a generated coordinate?+

You can, and you will get a real result — the nearest real address to a point near a real city. It will not be the address in the generated record, because that address does not exist. If your test asserts that a reverse geocode returns the address you started with, generated data cannot satisfy it; that test needs a real address, used with permission.

Will every point land inside the city it names?+

No. The offset is applied independently to latitude and longitude, so the sampled area is a square around the centre rather than the city's actual boundary, and there is no polygon check afterwards. A point can sit just outside the city limits, or in water beside a coastal city. For anything that asserts containment within a boundary, use a real boundary dataset.

How many points can I generate for a performance test?+

The bulk exporter produces up to 100,000 rows as CSV, JSON or SQL INSERT statements, which is usually enough to make a map library complain. The JSON API returns up to 100 records per call and accepts a seed, so a smaller demo set can be committed and regenerated byte-identically instead of being rebuilt by hand.

Can I use these coordinates to change what location my device reports?+

No. Spoofing a device's reported position to defeat a geofence, a regional restriction, or an attendance, delivery or safety check is misuse of this data and generally a breach of the service involved — and where a record is relied on by someone else, it can be worse than that. These are demo points: they describe no place anyone is.

More address use cases

Related pages

More generators

Sources

  1. WGS 84 — the World Geodetic System behind decimal-degree coordinatesNGA
  2. GeoNames postal-code dataset (CC BY 4.0) — the source of our real US ZIP listsGeoNames
  3. Faker — the locale name, street and place datasets this site generates fromFaker (MIT)
  4. FakeName — Data and Methodology: sources, real-versus-invented fields, known limitsFakeName

We use cookies for analytics and ads to keep this generator free. See our Privacy Policy.