KunYu

GeoJSON Editor

Edit GeoJSON with a code editor and live map preview. Draw features directly on the map, validate structure, and export your data.

Live Map Preview
Draw on Map
Import & Export

Edit GeoJSON Like a Pro

A full-featured GeoJSON editor with real-time map preview, drawing tools, and validation — right in your browser.

Live Map Preview

See your GeoJSON rendered on an interactive map as you type. Points, lines, and polygons are displayed with automatic styling. Edit the code and watch the map update in real time.

Draw on the Map

Create Point, LineString, and Polygon features by clicking directly on the map. Drawn features are automatically added to your GeoJSON code. Double-click to complete lines and polygons.

Real-time Validation

JSON syntax errors are highlighted inline as you type. GeoJSON structure validation checks for missing fields, invalid types, and unclosed polygon rings with clear error messages.

How to Use the GeoJSON Editor

1

Paste or Write GeoJSON

Enter your GeoJSON in the code editor on the left. The editor supports syntax highlighting, auto-formatting, and error detection. You can also import a .geojson file.

2

Preview on Map

Your GeoJSON is automatically rendered on the map on the right. Points appear as circles, lines as paths, and polygons as filled areas. Click 'Fit to Bounds' to zoom to your data.

3

Draw Features

Use the drawing tools to add Point, LineString, or Polygon features directly on the map. Each drawn feature is automatically added to your GeoJSON code.

4

Export Your Data

Copy the GeoJSON to your clipboard or export it as a .geojson file. Use the format button to pretty-print or the minify button to compress your data.

Why Use Our GeoJSON Editor

Syntax Highlighting

Full JSON syntax highlighting with bracket matching, line numbers, and code folding for easy navigation of large GeoJSON files.

Bidirectional Sync

Edit code to update the map, or draw on the map to update the code. Both directions work seamlessly in real time.

Drag & Drop Import

Drag a .geojson or .json file directly onto the editor to load it. No file upload dialogs needed.

Resizable Panels

Drag the divider between editor and map to adjust the layout. Give more space to whichever panel you need.

100% Free

No usage limits, no account required. Professional GeoJSON editing at zero cost.

Privacy First

All editing and rendering happens in your browser. No data is sent to any server. No tracking, no cookies.

Frequently Asked Questions

What is GeoJSON?

What GeoJSON types are supported?

How do I draw features on the map?

Can I import existing GeoJSON files?

Is there a file size limit?

Is my data sent to a server?

Related Tools