Open a .geojson file and every geometry type comes in as it is: holes, multi-geometries, GeometryCollections, feature ids, bbox and altitudes all come back out. Nothing is uploaded unless you save to an account.
The code and the map stay in sync: edit either one. Warnings show above the code, and nothing is refused.
Download saves the code as a .geojson file, named after the project when there is one.
Sign in to save projects to My Data and share them by link. What you drew comes back after signing in.
This free online GeoJSON editor pairs a map with a live code editor. Draw markers, lines and polygons on the map, cut holes out of polygons, and the GeoJSON updates as you go; edit the code and the map redraws. Open an existing .geojson file and every geometry type comes in as it is: Point, MultiPoint, LineString, MultiLineString, Polygon with holes, MultiPolygon and GeometryCollection, with feature ids, properties, bbox and altitudes kept. Give each feature its properties, download your work, or save projects to an account and share them with a link.
GeoJSON (RFC 7946) is the standard JSON format for geographic data. It represents points, lines and polygons as features with coordinates and properties, and is supported by practically every mapping library and GIS tool: Leaflet, Mapbox, Google Maps, QGIS, PostGIS and more.
Pick a tool in the panel: Marker, Line or Polygon. Click the map to place a marker, or click the points of a line or the corners of a polygon and press Finish, press Enter, double-click, or click the first point again to close it. The GeoJSON appears in the code under the map as you draw, ready to copy or download. In Select & edit, click a feature to drag a point, drag a midpoint to add one, right-click a point to remove it, or drag the whole feature, and the code stays in sync.
Pick Hole and click inside the polygon, then click the corners of the hole and press Finish or click its first point again. The polygon's GeoJSON gains a second ring, and a polygon pasted or opened with inner rings shows its holes on the map.
Yes. The code panel under the map is a full editor with syntax highlighting. Paste any GeoJSON, a single Feature or a bare geometry, edit coordinates and properties by hand, and the map updates as the code changes. The editor checks the document as you type and lists what it finds: a ring that is not closed, a latitude out of range, a coordinate pair that looks swapped, a line with one point. Nothing is refused, and what it cannot draw it keeps as it is.
Every geometry type in the standard: Point, MultiPoint, LineString, MultiLineString, Polygon with holes, MultiPolygon and GeometryCollection, plus features with no geometry. A feature's id, its bbox, altitudes in the coordinates and any extra members come back out of the editor as they went in, and the simplestyle properties stroke, stroke-width, stroke-opacity, fill, fill-opacity and marker-color style the map the way geojson.io and GitHub do.
Use Open in the panel to load a .json or .geojson file and Download to save your work as a file. With a free account you can also save projects online, reopen them anywhere, and share a read-only link.
Yes. Paste a lat,lng list or CSV into our Plot Points tool and press Open in GeoJSON Editor: the points arrive here as a FeatureCollection ready to edit.