RandomCoords Logo

Get Random Geographic Coordinates Around the World

Random Point

Bangkok, Thailand
13.7481143, 100.459503
Open in Google Maps

Random Polygon

Indianapolis, Indiana, United States of America
5 vertices  267.786 km²,  103.393 mi²
[ [ 39.714, -86.291 ], [ 39.718, -86.276 ], [ 39.681, -86.088 ], [ 39.874, -86.139 ], [ 39.884, -86.258 ], [ 39.714, -86.291 ] ]

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. On the home page, point coordinates include a direct link to Google Maps. On detailed region pages, you can also click the map pin to open a popup with links to both Google Maps and OpenStreetMap. These links allow you to zoom in, explore the surrounding area, or use features such as Street View. RandomCoords only provides the geographic coordinates; imagery and map 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.