Random Location Generator

Generate random coordinates and places anywhere on Earth. Pick land or water, a country or your own area, and see every point on a map.

What to generate

About 7 of every 10 points picked from the whole planet fall in water.

From 1 to 500.

More options

Each extra place is ten times finer. Six places is about 11 cm, four is about 11 m, two is about 1.1 km.

Notation

The same seed and settings give the same list again.

Results

Choose an area and press Generate.

All points

    A random location generator that tells you what is there

    This tool picks random points on Earth and describes each one. A result has a latitude and longitude, the country or body of water, and the nearest city with 150,000 or more people. You can limit the points to land or water, a continent, an ocean, a country, a box or a circle, and open any point in Google Maps, Street View or Google Earth.

    It also draws every point on a world map, so you can see how the points spread. The map data loads once. Your settings and results stay in your browser.

    Choose the area

    Six area options cover most jobs. The last two are for areas the list does not have.

    AreaWhat the tool drawsGood for
    Whole planetPoints anywhere on Earth. You choose land, water or both.Quick picks, trivia and simple tests.
    ContinentLand points inside one of the seven continents.Regional samples.
    OceanWater points inside one of the five oceans.Sea and ocean coordinates.
    CountryLand points inside one country. Overseas territories are optional.Country-level test data.
    BoxPoints between two latitudes and two longitudes. A box can cross the 180° line.Custom regions and map tiles.
    RadiusPoints within a set distance of a center, up to 20,000 km.Near-me tests and local samples.

    How the points are picked

    Every square kilometer in the chosen area has the same chance of being picked. For the whole planet, that means the tool draws latitude so that bands near the poles are not over-represented. Plain random latitude and longitude would pile points up at the poles, and the map would show it.

    Each point is rounded to your chosen number of decimal places first and checked after. The country, the sea and the distances you see belong to the exact numbers shown. If you enter a seed, the tool starts from that seed and repeats the same list. Without a seed, it starts from your browser's secure random generator.

    Coordinate formats

    The tool shows each point in three notations. Copy the one your other tool expects. The sample below is the Eiffel Tower.

    FormatExampleWhere it is used
    Decimal degrees48.8584, 2.2945Google Maps, GPS apps, databases and most APIs.
    Degrees, minutes, seconds48°51′30.2″N 2°17′40.2″EMaps, charts and printed guides.
    Degrees, decimal minutes48°51.50′N 2°17.67′EGeocaching, sailing and aviation.

    How many decimal places do you need

    Each decimal place makes the position ten times finer. The sizes below are for latitude. Longitude shrinks toward the poles.

    Decimal placesSize on the groundFits
    0111 kmA country or a large region
    21.1 kmA town or a village
    411 mA building or a field
    611 cmDefault. A single tree or a door
    81.1 mmSurveying data. Far finer than any phone

    Famous places

    Switch to Famous places to pick UNESCO World Heritage Sites instead of random points. The list has more than 1,100 sites, from Machu Picchu to the Great Barrier Reef. Filter by continent, country and type (cultural, natural or mixed). Each result shows the coordinates, the year the site was listed and a link to its Wikipedia article.

    What people use random coordinates for

    Testing location features

    Maps, geofences, weather and delivery apps need positions that are not all in one city. Generate a few hundred points in a country, download CSV or GeoJSON and load them into your test database.

    Sampling in GIS work

    Equal-area points give an unbiased sample of a region. Use a box or a radius for a local study and set a seed so a colleague can repeat your draw.

    Geography games

    Draw a point, open Street View or Google Earth, and guess where you are. Pick a country with good coverage for the best rounds.

    Trip ideas and trivia

    Famous places gives you a heritage site to read about, with its country, its year and a link to the full article.

    Settings for stories and games

    A real spot with a country and a nearest city is a solid starting point for a writer or a game master.

    Where the data comes from

    The tool carries its own map data, so it never asks a server for a location. The data comes from three open sources and was collected in October 2026.

    • Natural Earth: Country borders, coastlines and sea names. Public domain, simplified to about 3 km.
    • GeoNames: Cities with 150,000 or more people. Licensed under CC BY 4.0 (geonames.org).
    • Wikidata: World Heritage Sites and the Spanish and German city names. Released under CC0.

    What to keep in mind

    A random point can fall on private land, in a protected area or in a country where you should not go. Treat the result as a position on a map, not as an invitation. The labels are close but not exact near coasts and borders.

    How the random location generator works

    The generator draws random points inside the area you pick. Every square kilometer has the same chance, and you can add a seed to repeat a list.

    Each point is rounded to your chosen decimal places and then checked against country and sea outlines stored in the tool. That check decides whether the point is land or water, names the country or the body of water, and finds the nearest large city or the nearest coast.

    Famous places draws from a list of UNESCO World Heritage Sites instead. Everything runs in your browser, so nothing you enter leaves your device.

    How to generate a random location

    1

    Pick an area

    Choose the whole planet, a continent, an ocean or a country. For anything else, type a box or a radius.

    2

    Set surface and amount

    Choose land, water or both, then enter how many points you want.

    3

    Press Generate

    Every point gets a dot on the map, its country or sea, and the nearest large city.

    4

    Copy, export or open

    Copy one point or the whole list, download CSV, JSON, GeoJSON or KML, or open a point in Google Maps, Street View or Google Earth.

    Example Usage

    Three random points in Brazil. The same seed returns the same lines:

    Input
    Area: Brazil, surface: land, 3 points, seed: demo
    Output
    -8.274146, -60.258343 Brazil -28.375384, -53.039109 Brazil -2.376090, -59.884793 Brazil

    Frequently Asked Questions

    Are these real places?
    Yes. Every point is a real position on Earth. A land point sits inside the outline of a real country, and the tool names that country and the nearest city with 150,000 or more people. Most points are far from any town, because most of the planet is empty. Switch to Famous places if you want named sites with a Wikipedia link.
    Why do I get so many ocean points?
    Water covers about 71% of Earth, so a fair draw from the whole planet lands in water about seven times in ten. Set the surface to Land to get land only. Set it to Water to get ocean and sea points, each with the distance to the nearest coast.
    Is the selection really random?
    Yes. The tool gives every square kilometer the same chance. It does not pick latitude and longitude as two plain random numbers, because that would crowd points near the poles. It uses your browser's secure random generator. If you enter a seed, the same seed and settings return the same list, which helps with repeatable tests.
    How do I get random coordinates in the US or another country?
    Open the Area list and choose the country. The United States entry covers the contiguous states. Tick Include overseas territories to add Alaska, Hawaii and other distant land. The same option appears for France, Spain, Portugal, the Netherlands and a few other countries.
    How accurate are the country and sea labels?
    Good enough for sampling, not for surveying. The outlines come from Natural Earth and are simplified to about 3 km. A point within a few kilometers of a coast or border can get the wrong label, and very small islands are missing, so a point on one of them reads as open water. The decimal places setting controls how fine the numbers are, not how fine the map is.
    Will Street View work for every point?
    No. Street View only exists where Google has imagery, and most random land points have none. Roads and towns in the United States, Japan and much of Europe are covered best. If a point has no imagery, use the Google Maps or Google Earth link instead, or try Famous places.
    Which coordinate format does Google Maps accept?
    Paste decimal degrees such as 48.858400, 2.294500 into the search box, with latitude first. Google Maps also reads degrees, minutes and seconds, such as 48°51'30.2"N 2°17'40.2"E. If another tool wants longitude first, as GeoJSON does, switch the Order option under More options.
    Does the tool store or send my location?
    No. Use my location asks your browser for permission and only fills in the center fields. The position stays on your device. The map data loads once and everything else runs in your browser, so nothing you type or generate goes to a server.
    Can I use the coordinates as fake data for testing?
    Yes. They are valid coordinates, so they work as sample data for maps, geofences, delivery apps and database tests. Set a seed to repeat a list and download CSV, JSON, GeoJSON or KML. A random point can fall on private land, so do not present it as a real address. When you need a street address, use the random address generator instead.

    Related Tools

    The Random Location Generator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

    As featured on

    CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge