
Or discover and download more point and polygon coordinates from the regions and countries below:
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.
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.
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.
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.
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.
Yes. Larger countries and main cities have a slightly higher chance of appearing in random results.
Currently, the United States, Canada, Australia, Pakistan, and India include state or province details along with city information.
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.
No. RandomCoords only includes cities and localities within each country or region, rather than the entire landmass.
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.
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.
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.
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.