New: Screen RecorderScreen + webcam, trim, save as MP4Try it now →

Add tools here by clicking the star icon.
Back to tools

Map Polygon Drawer – Draw Polygons on a Map & Export GeoJSON

Draw polygons, rectangles, circles, lines and markers on a street or satellite map, see their area and length as you go, and export them as GeoJSON, KML, Shapefile or WKT. You can also open your own GeoJSON, KML, GPX or Shapefile to view, edit or convert it — all in your browser.

Loading map editor…

How to draw a polygon on a map

  1. Find your area. Type an address, city or landmark into the search box on the map and press Enter, or use the location button to jump to where you are. For fields, roofs and property lines, switch to satellite imagery with the layers button — it is much easier to trace what you can see.
  2. Click the corners. The Polygon tool is active when the page opens. Click (or tap) each corner of the area. While you draw, the bar at the bottom of the map shows the area and perimeter so far, and Undo point removes the last corner.
  3. Close the shape. Click the first point again, press Enter, or press Finish. The polygon is selected and its measurements appear in the panel.

Need a regular shape? Rectangle takes two clicks (opposite corners) and Circle takes a centre and a radius. GeoJSON has no circle type, so circles are saved as smooth 64-point polygons that every GIS program understands. Line draws routes and distances, and Marker places points — keep clicking to drop several, then press Done.

Editing shapes

Click any shape to select it. Then you can:

  • Reshape it by dragging a vertex.
  • Add a vertex by dragging one of the small midpoint handles between two corners.
  • Delete a vertex with a right-click, or a long-press on a phone or tablet.
  • Move the whole shape by dragging it.
  • Cut a hole (or bite a piece out) with the Cut tool — useful for a pond inside a park or a building inside a lot.

Every change can be undone and redone (Ctrl/⌘+Z and Ctrl/⌘+Shift+Z), including imports and deletions. In the panel you can give each shape a name, a description, a colour and any other properties you need, such as an ID or a price zone. Your map is autosaved in your browser, so it is still there when you come back.

Measuring area and distance

Areas, perimeters and lengths are geodesic: they are calculated on the curved surface of the Earth rather than on the flat map, so a field in Canada and a field in Kenya are measured equally well. Switch between metric (m², hectares, km², m, km) and imperial (ft², acres, square miles, ft, mi) at the bottom of the panel, where the total area of all shapes is shown too. Results are as accurate as your tracing — zoom in and use satellite view for the best numbers. For legal boundaries, rely on a surveyor or the official land registry.

Exporting GeoJSON, KML, Shapefile and WKT

Open Export to download or copy everything on the map — or only the selected shape:

  • GeoJSON – a standard FeatureCollection for web maps (Leaflet, Mapbox, OpenLayers, the Google Maps and HERE JavaScript APIs), databases and APIs.
  • KML – for Google Earth and Google My Maps, with names, descriptions and colours.
  • Shapefile (.zip) – for QGIS, ArcGIS and other desktop GIS, with one layer each for points, lines and polygons.
  • WKT – Well-Known Text for PostGIS, SQL Server, MySQL or BigQuery.
  • Lat, lng list – plain coordinates, one corner per line.

You can choose the coordinate precision: six decimals (about 10 cm) is plenty for almost everything and keeps files small. Share creates a link that contains the map itself (compressed), so the person you send it to sees exactly your shapes — nothing is stored on a server.

Longitude first: coordinate order in GeoJSON

GeoJSON always writes positions as [longitude, latitude]. Google Maps and most people say "latitude, longitude", so the two are easy to mix up — a point meant for New York then lands near Antarctica. This tool always writes the correct GeoJSON order, the Copy lat, lng button gives you the everyday order, and the GeoJSON tab warns you when imported coordinates look swapped.

Importing and converting existing data

Press Import, drop files onto the map, or paste text. The editor reads GeoJSON (any geometry, including MultiPolygons, GeometryCollections and holes), KML and KMZ, GPX tracks and waypoints, zipped Shapefiles (reprojected to WGS84 using the .prj file) and WKT. If your map already has shapes, you choose whether to add the new data or replace it. The GeoJSON tab shows the whole map as editable text: fix something by hand, press Apply to map, and any errors are listed with their exact location.

What people use it for

  • Delivery zones and service areas – draw the area you serve and load the GeoJSON into your app's point-in-polygon check.
  • Geofences – create the polygons your fleet, mobile app or IoT platform needs.
  • Property and land boundaries – estimate the size of a lot, farm field or roof before a quote.
  • Sales territories and planning maps – colour-code regions and share them with a link.
  • Test data – quickly produce valid GeoJSON or WKT for development and demos.

How to use it

  1. Search for a place (or use “my location”) and switch to satellite view if you want to trace real features.
  2. The Polygon tool is already active: click (or tap) each corner, then click the first point or press Finish / Enter to close the shape.
  3. Click a shape to edit it: drag vertices, drag the small midpoints to add vertices, right-click or long-press a vertex to delete it, or drag the shape to move it. Add a name, description and colour in the panel.
  4. Use Import to open GeoJSON, KML/KMZ, GPX, Shapefile or WKT (or drop files on the map).
  5. Export GeoJSON, KML, Shapefile (.zip) or WKT, copy the coordinates, or create a share link.

Common Use Cases

  • Drawing delivery zones, sales territories and geofences
  • Measuring the area of a field, lot, garden or roof
  • Getting polygon coordinates for an app, API or SQL query
  • Converting KML, GPX and Shapefiles to GeoJSON (and back)
  • Checking and fixing a GeoJSON file on a map
  • Sharing a quick map with a colleague via a link

Frequently Asked Questions

What is a polygon map and how do I make one?
A polygon map shows areas — zones, parcels, territories — as closed shapes. Pick the Polygon tool, click each corner on the map and close the shape; repeat for more areas, give them names and colours, and export the result as GeoJSON, KML or Shapefile.
Is this a GeoJSON drawer?
Yes. Everything you draw is GeoJSON: open the GeoJSON tab to watch the FeatureCollection update live, edit the text directly, or copy and download it.
What formats can I export?
GeoJSON (.geojson), KML for Google Earth and Google My Maps, a zipped ESRI Shapefile for QGIS/ArcGIS, and WKT. You can also copy GeoJSON, WKT or a “lat, lng” coordinate list, and choose the coordinate precision.
Can I use the polygon in Google Maps, HERE or Mapbox?
Yes. Export GeoJSON: Mapbox GL, Leaflet and OpenLayers load it directly, the Google Maps JavaScript API reads it with map.data.addGeoJson(), and the HERE Maps API for JavaScript with its GeoJSON reader. For Google My Maps or Google Earth, export KML.
What can I import?
GeoJSON (Feature, FeatureCollection or bare geometries, including multi-geometries and holes), KML and KMZ, GPX tracks and waypoints, zipped Shapefiles (or .shp + .dbf + .prj together) and WKT. You can add the data to your map or replace it.
How is the area calculated?
Areas and lengths are geodesic — measured on the curved Earth, not the flat map — so they are accurate anywhere. Switch between m²/ha/km² and ft²/acres/sq mi at the bottom of the panel.
Can I search for a place?
Yes. Type an address or place name in the search box on the map and press Enter. For cities, counties and countries you can also add their boundary from OpenStreetMap with the Outline button.
Can I undo mistakes?
Yes. Undo and redo (Ctrl/⌘+Z, Ctrl/⌘+Shift+Z) work for every change: drawing, moving vertices, deleting, importing and editing properties. While drawing, Undo point removes the last vertex.
Is my map saved?
Your map is autosaved in this browser, so it is still there when you come back. Use Export to keep a file, or Share to create a link that contains the map.
Does it work on a phone?
Yes. Tap to add points, tap the first point or press Finish to close a shape, and long-press a vertex to delete it. The feature panel sits below the map.
Is it free?
Yes, completely free with no account, no watermark and no artificial limits on the number of shapes.

Why use this tool?

  • Polygons, rectangles, circles, lines, markers and holes
  • Live area, perimeter and length (metric or imperial)
  • Real undo/redo and autosave in your browser
  • Import & export GeoJSON, KML, Shapefile, GPX, WKT
  • Street map and satellite imagery, place search
  • Works on phones and tablets; free, no sign-up

Privacy

Your drawings and files never leave your device: files are read and converted in the browser, and your map is autosaved only in this browser's local storage. Map tiles come from OpenStreetMap or Esri, and searches go to OpenStreetMap Nominatim. Share links carry the data inside the link itself.

How was this tool?

Your feedback helps us make it better.

Have further opinions? Email me at hello@everythingbagel.app