mapbench

Random Location Generator

Uniform equal-area sampling on the sphere: every square kilometre of Earth is equally likely. Choose anywhere, land only (ocean points rejected against Natural Earth boundaries), or a specific country.

FreeWorldwide
Loading tool…

Quick answer: Generate a truly random point on Earth — anywhere, land only, or inside any country. Coverage: Worldwide. No account is required.

Worked examples

  • 40.7128, −74.0060 — The same Lower Manhattan point can be written as 40° 42' 46.08" N, 74° 0' 21.60" W or 18N 583959 4507351. Different formats describe the same location.
  • MGRS precision — For the same sample point, a 10-digit MGRS reference is 18?WK8395907350. More digits increase numeric precision, not the accuracy of the original measurement.
  • Decimal places — Five decimal places of latitude are roughly metre-scale. That does not mean a phone GPS measurement itself is accurate to one metre.

Limits & appropriate use

Coordinates are lossless in principle and lossy in practice, and every loss is human: swapped axes, wrong hemispheres, datum relics, precision theatre. The converters eliminate the notation problem completely — DMS, UTM, MGRS and Plus Codes are exact translations on WGS84 — but they cannot eliminate the provenance problem: a number without its datum and its source is a rumour. Old NAD27-era documents, hand-typed sheets and seven-decimal CSVs each carry their own failure signature, and the honest tool answers with validation errors and visible pins rather than silent corrections.

The practical boundary is therefore organisational, not mathematical: teams that standardise storage (decimal, WGS84, sane precision) and ritualise the map check enjoy a lossless system; teams that don't accumulate expensive folklore. For work beyond consumer frames — control points, machine guidance, legal description — the escalation is geodetic: licensed surveyors, published transformations and national datums. Everything between a pasted waypoint and that door is exactly where this toolset lives.

  • Datum-critical legacy data → published grid transformations (NTv2/HTDP).
  • Control points and machine guidance → licensed geodetic survey.
  • Aviation/marine charts → the chart's own datum and notation, verbatim.

Data & methodology

All conversions (DMS, UTM with Norway/Svalbard exceptions, MGRS, Plus Codes) run locally on WGS84 with standard geodetic series; round-trips are exact at display precision.

For source details, licences and model limitations, see Data Sources and Methodology.

Related tools

Category: Coordinates. Results are intended for everyday analysis and planning unless a page explicitly states otherwise.

How to use

  1. 1Pick a sampling mode: anywhere, land only, or inside a country.
  2. 2Type a country name if you chose country mode.
  3. 3Press Generate — a pin drops on the random point.
  4. 4Read the coordinates, country and attempt count.

Frequently asked questions

Is the sampling really uniform?

Yes — latitude is sampled via arcsine of a uniform variable, which gives true equal-area coverage. Small countries are not over-represented.

How does “land only” work?

Ocean points are rejected against Natural Earth 110m land polygons until a land point is found; the attempt count is shown for transparency.

Which countries are supported?

All countries in the Natural Earth 110m dataset — type to search the full list.

Do I need an internet connection?

Boundary data loads once from a CDN (with an offline fallback note); sampling itself runs locally.

Can I copy the result?

Yes — one click copies the coordinates for use in any other tool.