GeoJSON Editor: Draw on a Map and Export
Draw points, lines, polygons, rectangles or circles on the map; edit vertices, add attributes and styles, and measure length and area. Download the result as GeoJSON, KML, Shapefile, CSV, WKT or DXF.
GeoJSON, KML/KMZ, GPX, Shapefile (.zip), CSV, Excel, WKT, GeoPackage or DXF. You can also drop a file onto the map.
Export
Add by coordinates
Session and sharing
Shortcuts: Ctrl+Z undo, Ctrl+Y redo, Delete removes the selection, Esc stops drawing, Enter finishes a line or polygon.
Drawings are processed in your browser and saved in this browser's local storage; they are not sent to a server. In a share link the data sits after the # in the address. Only the libraries (jsDelivr) and basemap tiles (Esri, OpenStreetMap) are downloaded; tile requests include the map area on screen.
Related Tools
What the GeoJSON editor does
GeoJSON is the common data format of web maps and many GIS applications. In this editor you can draw points, lines, polygons, rectangles and circles on a map, edit their vertices, add attributes, and download the result as GeoJSON, KML, Shapefile, CSV, WKT, DXF, GPX or GeoPackage. Use it to sketch a site boundary and share it as KML, to open and fix an existing file, or to build a polygon from a list of coordinates.
Drawing and editing on the map
- Drawing: pick point, line, polygon, rectangle or circle on the map toolbar. To finish a line or polygon, click the last or first point, or press Enter. A circle is stored as a 72-vertex polygon.
- Editing: click a feature with the select tool. Drag vertices to reshape it, drag a midpoint to add a vertex, and right-click a vertex to remove it. Drag the shape to move it.
- Snapping: with the magnet button on, new vertices snap to nearby vertices and edges, so neighbouring polygons share borders without gaps or overlaps.
- Undo and redo: drawing, moving, deleting, attribute and column changes can be undone with Ctrl+Z and redone with Ctrl+Y.
Attribute table and style
When you click a feature, the panel below the map shows its length, area, perimeter and attributes; you can edit values there and add new ones. In the attribute table you can add, delete and rename columns and change their type (text, number, boolean). Colours and line widths follow the simplestyle convention (marker-color, stroke, fill) and are turned into Google Earth styles when you export KML.
Creating points and polygons from coordinates
In the coordinates panel, choose WGS84 latitude and longitude (decimal or degrees, minutes and seconds), UTM, or the ITRF96 3° TM system used in Türkiye, and write one point per line. The lines can be added as separate points, as one line or as a closed polygon. For UTM and TM, the order of easting and northing is recognised from their size.
Live GeoJSON panel
The text in the GeoJSON tab stays in sync with the map. When you edit it, the text is checked as you type; syntax errors, unclosed rings and out-of-range coordinates are listed with line numbers, and the map updates once the errors are fixed.
How measurements are made
Length, area and perimeter are computed on the WGS84 ellipsoid with GeographicLib's geodesic algorithms and shown in square metres, hectares and acres. An area computed on a projected plane can differ slightly because of scale distortion. For legal or cadastral purposes an official survey applies.
Exporting
GeoJSON, KML, KMZ, GPX and TopoJSON files are written in WGS84. For Shapefile, CSV, Excel, WKT, DXF and GeoPackage you can choose a UTM zone, Web Mercator or the ITRF96 TM zones used in Türkiye, and a Shapefile includes the .prj of the chosen system. In DXF, points are written as POINT and lines and polygons as LWPOLYLINE, ready to open in CAD software. Style attributes can be written to the table as well.
Data and privacy
Drawings are processed in your browser and the session is saved automatically in this browser's local storage; the data is not sent to a server. A share link stores the data after the # in the address, and browsers do not send that part to the server. Only library files are downloaded from jsDelivr and basemap tiles from Esri and OpenStreetMap. Libraries used: Leaflet 1.9.4 (BSD-2-Clause), Leaflet-Geoman Free 2.17.0, geographiclib-geodesic 2.1.1, proj4 2.9.0, JSZip 3.10.1 and PapaParse 5.4.1 (MIT), @tmcw/togeojson 5.8.0 (BSD-2-Clause) and Lucide (ISC); shpjs, sql.js, SheetJS, dxf and topojson are loaded when another format needs them.
Limitations
- Tens of thousands of features can be drawn and edited; with hundreds of thousands the map and table slow down and the JSON panel refreshes only on request.
- MultiPoint and GeometryCollection features cannot be edited on the map, but their attributes and style can be changed.
- A share link is limited to about 8,000 characters; share large drawings as files.
For organisations
If you want drawing and attribute editing inside your organisation's own map portal, see the Rodosto Teknoloji website or get in touch.
Frequently Asked Questions
How do I draw a polygon on a map and download it as KML?
Pick the polygon tool, click the corners and click the first point to close the shape. In the Export section choose KML and press Download. The file uses WGS84 coordinates and opens directly in Google Earth; colours come from the simplestyle attributes.
How is the polygon area calculated?
The area is computed on the WGS84 ellipsoid with a geodesic method and shown in m², hectares and acres. Holes are subtracted. The result is for information and does not replace a legal survey.
Will I lose my work if I close the page?
Every change is saved in this browser's local storage within a few seconds and restored when you reopen the page. Clearing browser data or using a private window removes it, so export your work to keep it.
Which coordinate system does the Shapefile export use?
You can export in WGS84, UTM zones or other listed systems. The zip holds .shp, .shx, .dbf, .cpg and a .prj for the chosen system. Points, lines and polygons go into separate layers.