GeoJSON Viewer & Validator

Paste or drop GeoJSON to validate it, see it on a map, and read a feature summary — right in your browser.

Your GeoJSON is validated, summarized, and drawn in your browser and is never uploaded. Only OpenStreetMap map tiles are loaded over the network to render the base map; the geometries you view are not stored on a server.

Need a table instead? Convert GeoJSON to CSV.

About GeoJSON Viewer & Validator

This GeoJSON viewer and validator checks your data and draws it on a map without leaving your browser. Paste GeoJSON, or drop a .geojson or .json file, and it first confirms the text is well-formed JSON and then a valid GeoJSON object — a FeatureCollection, a single Feature, or a bare geometry like Point, LineString, or Polygon. Anything wrong gets a precise message: a JSON syntax position, an unknown geometry type, missing or non-array coordinates, or a ring with too few positions. Valid geometries are rendered with a Leaflet map that auto-fits to the data, and you get a summary of the total features, a breakdown by geometry type, and the overall bounding box. Pretty-print or minify with one click. Coordinates are parsed and drawn on your device, so your data stays with you.

Features

How to use the GeoJSON Viewer & Validator

  1. Paste GeoJSON into the input, or drop a .geojson / .json file (or load the example).
  2. Read the validation banner: a green result, or a precise error to fix.
  3. See valid geometries drawn on the map, which fits itself to the data.
  4. Check the feature count, geometry breakdown, and bounding box in the summary.
  5. Copy the pretty-printed or minified GeoJSON, or copy the bounding box.

Example

Input

{"type":"Feature","geometry":{"type":"Point","coordinates":[2.2945,48.8584]},"properties":{"name":"Eiffel Tower"}}

Output

Valid Feature · 1 feature
Point: 1
Bounding box: [2.2945, 48.8584, 2.2945, 48.8584]

A single Point Feature validates and drops a pin at the Eiffel Tower in Paris.

Common errors & troubleshooting

Frequently asked questions

What counts as valid GeoJSON in this viewer?
Input must be well-formed JSON and a GeoJSON object: a FeatureCollection with a features array, a single Feature with a geometry, or a bare geometry like Point, LineString, or Polygon. The viewer checks the type and every coordinate array before drawing it.
Why does my point appear in the wrong place on the map?
GeoJSON stores coordinates as [longitude, latitude], the opposite of the lat/long order many maps and APIs use. If a point lands in the sea or another country, your longitude and latitude are almost certainly swapped.
How is the bounding box calculated?
The viewer walks every coordinate in the data and tracks the minimum and maximum longitude and latitude, returning [west, south, east, north]. Features with a null geometry contribute no coordinates, so the box covers only the located geometries.
Which geometry types can it render and count?
Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection. Points are drawn as pins; lines and polygons are drawn as shapes. The summary shows how many of each geometry type your data contains.
Does viewing GeoJSON here upload my coordinates anywhere?
No. Parsing, validation, and the summary run in your browser, so the GeoJSON you paste stays on your device. Only OpenStreetMap map tiles are fetched over the network to draw the base map behind your geometries.

Related tools

All ArrayKit tools