RandomCoords Logo

Get Random Geographic Coordinates Around the World

Random Point

Ibra, Oman
22.7120629, 58.5459993

Random Polygon

St. John's, Newfoundland and Labrador, Canada
5 vertices  3.825 km²,  1.477 mi²
[ [ 47.545, -52.766 ], [ 47.552, -52.723 ], [ 47.562, -52.752 ], [ 47.565, -52.752 ], [ 47.564, -52.765 ], [ 47.545, -52.766 ] ]

Or discover and download more point and polygon coordinates from the regions and countries below:


What is RandomCoords?

RandomCoords is a free online web tool to generate random geographic point or polygon coordinates anywhere in the world. You can instantly create, view on map, copy with one click, or export them in multiple formats such as JSON, CSV, GeoJSON, and KML. It's designed for developers, GIS (Geographic Information Systems) learners, and anyone who needs geospatial test data for mapping, simulations, education, or research.

Which regions and countries are supported?

RandomCoords covers the entire world, all six continents, and directly lists over 35 countries in the app. In total, random results can appear from more than 140 countries globally.

What order are latitude and longitude shown in?

By default, coordinates are displayed in the latitude, longitude order, which matches how most map tools (like Google Maps and Leaflet) expect them. But several data formats follow the geographic convention of longitude, latitude. This includes GeoJSON, KML, and WKT, where longitude (the east-west value) comes first.

Which export formats are available?

You can copy coordinates and paste them into Google Maps to explore the location. For structured data, export as CSV with WKT (Well-known Text), KML for Google My Maps, or GeoJSON for use in tools like geojson.io. A simplified JSON format is also available for easy parsing in code or scripts.

Can I view coordinates on Google Maps or OpenStreetMap?

Yes. For point coordinates, click the pin on the map to open a popup with direct links to Google Maps and OpenStreetMap. These links let you view the location, zoom in for more detail, or even explore the surrounding area (such as using Google Street View). RandomCoords only provides the coordinates; imagery and features are handled entirely by those services.

Are some countries or cities more likely to appear?

Yes. Larger countries and main cities have a slightly higher chance of appearing in random results.

Which countries include state or province information?

Currently, the United States, Canada, Australia, Pakistan, and India include state or province details along with city information.

Is the city information accurate?

The definition of administrative boundaries varies by country. Therefore, in RandomCoords, depending on the country, a "city" may represent a city, district, special administrative region, or locality.

Does RandomCoords cover entire countries or regions?

No. RandomCoords only includes cities and localities within each country or region, rather than the entire landmass.

What data does RandomCoords provide?

Each result includes the geographic coordinates for a point or polygon, along with city, state or province (if available), country, continent, and ISO2 country code (useful for displaying flags). Polygon data includes the number of vertices, area in square kilometers and square miles, and a quick data summary/highlight after each generation.

What kind of polygons does RandomCoords generate?

RandomCoords generates simple polygons. These are polygons that do not self-intersect and are without holes. Depending on the random points, the shape may be convex (outward-facing) or concave (with slight indentations). This ensures polygons remain realistic, lightweight, and compatible with most mapping tools.

How are polygons displayed and copied?

On screen, polygons are shown as an array of latitude/longitude pairs with up to three decimal places (e.g., [ [21.393, -157.972], [21.401, -157.952], [21.408, -157.950] ]) for readability. When copied, full precision is used (e.g., [[21.3934668,-157.9717324],[21.4014849,-157.9522508],[21.4080971,-157.9496015]]). This keeps previews concise and readable while providing precise data when copying or exporting.

Can I generate random coordinates within a custom area?

Not yet, but this feature is coming soon. RandomCoords will let you generate random points or polygons within your own custom boundaries and based on your configurations.