Random Location Generator

This random location generator picks a point anywhere on Earth or near one of about 330 big cities and shows its random coordinates in two formats, with links that open the place on a map. Use it for geography games, virtual travel or deciding where to explore next. Every point is drawn by your browser's cryptographic generator, and on the whole planet each square kilometre has exactly the same chance.

Press “Pick a place”
Where

About 71% of the Earth's surface is water, so the point often lands in the sea.

or press Space

History

    Your results will appear here

    How to pick a random location

    1. Choose Where: Anywhere on Earth or Near a big city.
    2. For a city, you can limit the choice with Part of the world and set the Distance from the city: up to 1, 10 or 50 km.
    3. Press Pick a place or hit the Space key.
    4. Read the coordinates in decimal degrees and in degrees, minutes and seconds; near a city you also see something like "7.3 km from Lyon, France".
    5. Open the point in OpenStreetMap or Google Maps, or copy the coordinates. Recent places stay in the history.

    What random coordinates are useful for

    • Geo-guessing games. Pick a point near a city, open it in street view on the map and let your friends guess where in the world they are.
    • Virtual travel. Drop into a random spot and look around on the satellite map: deserts, villages, ports and mountain roads you would never search for.
    • Real-life exploration. Set a city near you and a distance of 1 or 10 km, and go and see what is at the point: a park, a café, an old street.
    • Writing and drawing prompts. Set a story or a sketch in the place the generator picks.
    • Geography lessons. Name the country, the climate zone or the nearest sea for each point.

    To pick a whole country instead of a point, try the random country generator, and the random city generator picks one of the same big cities this page uses.

    Why a fair point on a sphere is not two random numbers

    The obvious way to get random coordinates is to draw a latitude from −90 to 90 and a longitude from −180 to 180. It gives a wrong answer. Circles of latitude get shorter towards the poles: the equator is about 40,000 km long, while the circle at 80° north is less than 7,000 km. With uniform latitude, the strip near 80° gets as many points as the strip along the equator, so the poles end up crowded with points.

    This generator picks a point uniform over the surface of the sphere. Longitude is uniform, but latitude is drawn so that each band gets points in proportion to its area. A neat consequence: half of the Earth's surface lies between 30° south and 30° north, so about half of all points land in the tropics and subtropics, and only about 6% land beyond 70° north or south.

    Since about 71% of the Earth's surface is water, most points in Anywhere on Earth land in an ocean or a sea, and the page reminds you of it. For a point on land, choose Near a big city. The point is then spread evenly over a circle around the city, which means more of the points lie near the edge than near the centre: within 50 km, half of them are farther than 35 km from the city.

    What the location generator shows

    • Two modes. Anywhere on Earth for a truly uniform point on the planet, Near a big city for one of about 330 large cities, optionally limited to a part of the world.
    • Distance from the city. Up to 1 km for a walk, up to 10 km for a bike ride, up to 50 km for a day trip.
    • Coordinates in two formats. Decimal degrees for maps and apps, and degrees, minutes and seconds with N, S, E and W.
    • Map links. OpenStreetMap and Google Maps open the point in a new tab.
    • Copying, history and the Space key. Everything stays in your browser; nothing is sent to a server.

    Is the location really random?

    Yes. The numbers come from crypto.getRandomValues(), the cryptographically secure generator built into every modern browser and seeded by your operating system, and the point is computed on your device. With uniform sampling over the sphere, a square kilometre of the Sahara is exactly as likely as a square kilometre of the Pacific. More in the article on how the randomness works.

    Frequently asked questions

    Why does the random point so often land in the sea?

    Because about 71% of the Earth's surface is water. A fair point on the whole planet lands in an ocean or a sea about seven times out of ten. If you want land, choose Near a big city.

    How do I get a random location on land?

    Choose Near a big city: the point lies within the distance you set from one of about 330 big cities. Close to the coast it can still land in water, so pick a smaller distance if that matters.

    Can I get a random location in one part of the world?

    Yes, in the Near a big city mode: set Part of the world to Europe, Asia, Africa, North America, South America or Oceania, and only cities from that region are used.

    What do the coordinate formats mean?

    Decimal degrees, such as 48.8566, 2.3522, are what maps and phones understand; negative numbers mean south and west. Degrees, minutes and seconds write the same place the classic way, with the letters N or S for latitude and E or W for longitude. One degree of latitude is about 111 km.

    Can I open the point on a map?

    Yes. Under the coordinates there are links to OpenStreetMap and Google Maps; each opens the point in a new tab, where you can switch to the satellite view or street view where it is available.

    Is my location used?

    No. The generator does not ask for your position and does not know where you are. The random point is computed in your browser, and nothing is sent to a server.

    Other generators

    Random CountryOne of 195 countries with its flag and capital — for quizzes, trips and school projects Number GeneratorRandom numbers in any range: no repeats, exclusions, decimals, lottery sets Wheel SpinnerAdd your own options, spin the wheel and let it pick a winner Password GeneratorStrong random passwords, passphrases and PINs, made right in your browser Yes or NoAsk a question and get a random yes or no in one click Dice RollerRoll 1 to 10 dice — D6, D20, D100 — or a formula like 2d6+3 Coin FlipHeads or tails in one click, plus series of flips and statistics Random WordsRandom nouns, adjectives and verbs, plus a team game mode for Charades and Pictionary Username GeneratorCool, cute and funny usernames and gamertags with fancy fonts and a length limit Name GeneratorRandom first and last names, fantasy names by race, and names for cats and dogs Random PickerPick names from a list, shuffle the order or split people into teams Giveaway PickerDraw giveaway winners and get a public protocol anyone can check Truth or DareOver 400 clean truth questions and dares for kids, friends and parties Name IdeasName ideas for a team, a channel, a business or a brand — 12 per click Team GeneratorPaste a list of names and split it into random teams or groups of equal size Random LetterA random letter from A to Z, or up to 20 at once: vowels, consonants, no repeats Random ColorA random color with HEX, RGB and HSL codes, or a matching palette of up to 8 colors Random AnimalOne of 220+ animals in a click — to draw, act out or guess Random QuestionConversation starters and icebreaker questions — a new one with every click Secret SantaDraw names for a gift exchange and send everyone a private link — no sign-up Would you ratherTwo options, one choice: would you rather questions for kids, friends and parties What to drawRandom drawing ideas by theme and difficulty, with challenges and a timer Random objectOne random object per click — for drawing, writing prompts, improv and party games Fancy fontsYour text in about 25 fancy styles — tap one to copy it into a bio, chat or game Random CardDraw a playing card from a 52, 36 or 54-card deck — up to 10 at a time Bingo CallerCalls 75-ball or 90-ball bingo with a board, auto call and voice Bingo CardsPrintable 75-ball, 90-ball or word bingo cards — up to 60 different, numbered cards Lottery NumbersRandom lines for Powerball, EuroMillions, 6/49 and other lotteries, with honest odds Random dateRandom dates in your range, plus a random time, weekday or month Rock paper scissorsPlay against a fair computer, keep score and try the Lizard and Spock variant Magic 8 ballAsk a yes-or-no question, shake the ball and read your answer RouletteSpin a European or American wheel for a random number — no bets, no money Tournament BracketA knockout bracket or round robin for 2–64 players or teams, with random seeding What to Do When BoredA random idea from about 200 activities, filtered by company, place, cost and time Random EmojiOne random emoji or up to 20 from about 400, by category, with names and copying Random FactOne interesting fact per click about animals, space, the body, history, science and more Random Sports TeamA random team from the NBA, NFL, MLB, NHL or six football leagues — up to 10 at once Tarot CardDraw one tarot card, a three-card spread or your card of the day, with short meanings Student PickerCall on students fairly, hand out exam tickets or spread test variants across the class