MapTools
gisPro GISFree · No signup

GeoJSON Viewer, Validator & Geometry Editor

Inspect, edit, validate, and style RFC 7946 compliant GeoJSON datasets directly on an interactive map canvas with live syntax verification and attribute table inspection.

Spatial Operations:
Valid GeoJSON FeatureCollection
Loading Google Maps JavaScript Canvas...
Updates in real-time as you edit or apply spatial vector operators.

Runs entirely in your browser — your inputs never leave this page.

How this tool works

  1. 1

    Validates GeoJSON against RFC 7946 schema specifications entirely in-browser.

  2. 2

    Computes bounding boxes, feature counts, and topology health checks with zero server transfer.

Common uses

  • Inspecting GIS vector data before ingestion into databases
  • Sanitizing third-party polygon exports
  • Urban planning spatial previews

Frequently asked questions

Yes! It checks exterior ring right-hand rule and interior hole winding compliance according to RFC 7946.

More in GIS Analysis

View all →
Worked example

Fixing a Broken Park Boundary File in Portland, Oregon

A parks volunteer in Portland, Oregon, receives a GeoJSON file from a friend who mapped the boundary of a neighborhood dog park. She pastes it into the editor to check it before the file goes on the community website, and the validator immediately complains. The file has two classic problems, and the map preview shows nothing at all over Portland. The first problem is coordinate order. One corner is written as [45.5152, -122.6784], which is latitude first. GeoJSON always uses [longitude, latitude], so the file is really claiming a latitude of -122.6784, which is impossible because latitude cannot go beyond -90. She swaps the pair to [-122.6784, 45.5152] and that error clears.

The second problem is the polygon ring. A Polygon ring must end where it started, but the last coordinate in the file is [-122.6790, 45.5160] while the first is [-122.6784, 45.5152]. She copies the first pair onto the end of the ring to close it. The validator now passes, and the preview draws the boundary exactly over the park, a rough rectangle a few hundred feet across. With the geometry fixed, she uses the editor's attribute table to rename the park in the properties and adds one more feature: a Point at [-122.6779, 45.5148] marking the park entrance, with its own name property. The file now holds two features, the boundary and the entrance, and both show correctly in the table with their types side by side.

She sets a friendlier fill color so the boundary stays visible over satellite imagery and exports the corrected file. The whole repair took a handful of edits, and the website map works the first time because the file was validated before it was uploaded, not debugged after visitors complained. Out of curiosity she measures the finished boundary. Its sides run about 600 feet by 350 feet, so the perimeter is roughly 2 times 600 plus 2 times 350, which is 1,900 feet of fencing, and the enclosed area is about 210,000 square feet. Dividing by 43,560 square feet per acre gives roughly 4.8 acres of dog park. Those two numbers go straight into the neighborhood association's grant application, which had been waiting on exactly this file.

The same afternoon she checks a second file in the editor: the park's walking path, stored as a LineString of 14 coordinate pairs tracing about 0.6 miles of trail. This time the geometry is fine, but the JSON has a missing comma after the ninth pair, and the validator points at the exact line. She adds the comma, watches the path draw along the creek, and exports it to sit alongside the boundary on the website, both files now clean.

Common mistakes to avoid

  • Writing coordinates as [latitude, longitude]. GeoJSON follows the [longitude, latitude] order, the reverse of how most people say coordinates aloud. Swapped pairs are the single most common reason a file plots in the ocean or fails validation.
  • Leaving a polygon ring open. If the first and last coordinates of a ring differ even slightly, strict parsers reject the whole geometry. Always repeat the first pair at the end to close the shape.
  • Trailing commas in the JSON. A comma after the last item in an array or object is legal in some languages but not in JSON. The validator will flag the file, and browsers will refuse to load it.

Pro tips

  • Run validation after every edit, not just at the end, so you know exactly which change broke or fixed the file.
  • Keep an untouched backup of the original file before editing, especially when the data came from someone else.
  • Put human-readable names in the properties of each feature; future editors will thank you when the attribute table makes sense.
Geospatial Engineering Reference & Field Manual

GIS Files & Interoperability: Speaking Every Map Format

GeoJSON, KML, GPX, Shapefiles — what each format is for, how to convert between them without losing data, and how to fix the files that refuse to open. Written for GeoJSON Viewer, Validator & Geometry Editor and the everyday mapping tasks around it.

1

Vector vs. Raster: The Two Tribes

Every map file belongs to one of two families. Vector formats store geometry as math: points with coordinates, lines as point sequences, polygons as closed rings. They scale forever, stay tiny, and carry attributes like names and populations. GeoJSON, KML, and Shapefiles are all vector.

Raster formats store grids of cells, like digital photos. Satellite imagery, scanned paper maps, and elevation models are raster. They capture continuous reality beautifully but balloon in size and pixelate when zoomed. GeoTIFF is the GIS world's raster workhorse.

Choose vector when your data is discrete things — stores, boundaries, routes. Choose raster when it is continuous — imagery, terrain, temperature surfaces. Converting vector to raster is easy (just draw it); going the other way needs tracing, by hand or with image-processing algorithms.

2

GeoJSON: The Web's Native Tongue

GeoJSON is a map format written as JSON, the same notation web developers use for data. A point looks like this — readable by humans and parseable by every browser with zero libraries. That simplicity made it the default for web maps.

{"type": "Point", "coordinates": [-74.006, 40.7128]}

Its structure is small but complete: Feature objects pair geometry with a properties dictionary, and FeatureCollections bundle many features into one file. The properties can hold anything — names, dates, measurements — which makes GeoJSON a fine carrier for analysis results, not just shapes.

GeoJSON has quirks to respect. Coordinates are always longitude-first, which trips up everyone once. It officially supports only the WGS84 datum, so reproject anything else before exporting. And it has no built-in styling — colors and icons live in a separate layer of your application, not in the file.

For big data, look at its cousins: newline-delimited GeoJSON streams features one per line for huge datasets, and FlatGeobuf packs the same model into a fast binary format. But for files under a few megabytes, plain GeoJSON remains unbeatable for simplicity.

This page shows the first two chapters. Read the complete this category field guide →