Geographic Utility
Random Location Generator
Generate real city locations or random geographic coordinates for map testing, geography games, writing prompts, travel challenges, and location-aware QA.
How to Generate a Random Location
- Choose Real Cities when you need a known populated place, or Random Coordinates for an arbitrary point.
- Select a continent or leave the region set to anywhere in the world.
- Choose Decimal Degrees, DMS, or GeoJSON output, then set the result count.
- Generate, copy individual locations, download the batch, or open a point in OpenStreetMap.
Real City Location Data
City mode draws from 1,000 populated places in the GeoNames cities15000 extract. Each bundled record includes a city, country, continent, latitude, longitude, population, and time zone.
GeoNames data is provided under CC BY 4.0 and is included locally, so generating a city does not send your choices to a third-party location API.
How Random Coordinates Are Selected
Coordinate mode samples longitude inside the selected region and samples the sine of latitude rather than latitude directly. This produces a more even distribution over the curved surface of the Earth.
Continental bounds are approximate rectangles, not coastlines. A coordinate can therefore fall in an ocean, on an island, or near a regional border.
Decimal, DMS, and GeoJSON Formats
- Decimal Degrees works well for map URLs, spreadsheets, databases, and most APIs.
- Degrees, Minutes, Seconds is useful for traditional geographic notation and classroom exercises.
- GeoJSON Point returns coordinates in longitude-latitude order for mapping software and geospatial fixtures.