Zero Signup ToolsFree browser tools

Converter Tools

GeoJSON Viewer and Validator

Paste or drop a GeoJSON file to preview points, lines, and polygons on an SVG map, lint against RFC 7946, and export formatted JSON or a positions CSV.

GeoJSON viewer and validator

Valid

Valid GeoJSON

3 features, 11 positions, RFC 7946 compliant

Preview

-73.9915, 40.7580 to -73.9489, 40.7989

Equirectangular projection around the centre of the bounding box. North is up. Points are amber, lines are green, polygons are blue with even-odd fill.

Feature breakdown

#NameGeometryPositions
1Times SquarePoint1
2Broadway loopLineString5
3Central ParkPolygon5

Formatted JSON

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "name": "Times Square",
        "category": "landmark"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          -73.9855,
          40.758
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "Broadway loop",
        "category": "route"
      },
      "geometry": {
        "type": "LineString",
        "coordinates": [
          [
            -73.9855,
            40.758
          ],
          [
            -73.987,
            40.762
          ],
          [
            -73.9885,
            40.766
          ],
          [
            -73.99,
            40.77
          ],
          [
            -73.9915,
            40.774
          ]
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "Central Park",
        "category": "park"
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              -73.9818,
              40.7681
            ],
            [
              -73.9582,
              40.7989
            ],
            [
              -73.9489,
              40.7969
            ],
            [
              -73.9731,
              40.7644
            ],
            [
              -73.9818,
              40.7681
            ]
          ]
        ]
      }
    }
  ]
}

Positions CSV

feature_index,kind,ring_index,position_index,longitude,latitude,elevation
0,Point,0,0,-73.9855,40.758,
1,LineString,0,0,-73.9855,40.758,
1,LineString,0,1,-73.987,40.762,
1,LineString,0,2,-73.9885,40.766,
1,LineString,0,3,-73.99,40.77,
1,LineString,0,4,-73.9915,40.774,
2,Polygon,0,0,-73.9818,40.7681,
2,Polygon,0,1,-73.9582,40.7989,
2,Polygon,0,2,-73.9489,40.7969,
2,Polygon,0,3,-73.9731,40.7644,
2,Polygon,0,4,-73.9818,40.7681,

How to use

  1. Pick Paste GeoJSON to type or paste a document, or Upload .geojson file to drop a file from your machine.
  2. Read the verdict banner for a pass / fail signal, the feature and position counts, and a list of any RFC 7946 errors or warnings with the exact path inside the document.
  3. Inspect the SVG preview to confirm the geometry plots where you expect: points are amber, lines are green, polygons are blue with even-odd fill for holes.
  4. Open the Document summary, Geometry types, and Property keys panels to see the bounding box, the type breakdown, and the property-key coverage across every feature.
  5. Use Copy formatted JSON to get a pretty-printed RFC 7946 document, or Copy positions CSV to extract every longitude, latitude, and elevation to a spreadsheet.
  6. Try Load valid sample for a Manhattan FeatureCollection, or Load broken sample to see how the validator reports out-of-range coordinates, an invalid id, a malformed properties field, and an unclosed Polygon ring.

About this tool

GeoJSON Viewer and Validator parses any GeoJSON document, checks it against RFC 7946 (the format used by Mapbox, Leaflet, OpenLayers, OpenStreetMap exports, QGIS, Turf.js, PostGIS, and dozens of GIS pipelines), and shows you exactly what is in the file: a feature count, a position count, a bounding box in longitude and latitude, a property-key breakdown across the entire FeatureCollection, a geometry-type breakdown (Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection), a per-feature table with the chosen display name and position count, and a small SVG preview that draws every Point, every LineString, and every Polygon to the same bounding box with an equirectangular projection so north points up. The validator runs the structural rules from RFC 7946: the top-level object must be a FeatureCollection, a Feature, or a Geometry; every Feature has a Feature type, an object-or-null properties field, a Geometry-or-null geometry field, and an optional id that must be a string or number; every Geometry has one of the seven canonical types and the right coordinate shape; every Position is a finite [longitude, latitude] in the -180..180 and -90..90 range with an optional finite elevation; every Polygon ring has at least four positions and closes back on the first; bbox arrays have four or six numbers. Every problem is reported with a clear JSON pointer-style path (for example features[2].geometry.coordinates[0][3]) so you can jump straight to the bad value, and the parse error path also includes line and column when JSON parsing itself fails. Exports include a re-formatted, RFC 7946 compliant JSON string and a flat positions CSV with one row per Position carrying its feature index, geometry kind, ring index, position index, longitude, latitude, and optional elevation, ready to drop into a spreadsheet or a Pandas DataFrame. Useful for mapping engineers, GIS analysts, data scientists, geospatial QA, and any developer building with Mapbox GL JS, Leaflet, MapLibre, Deck.gl, Turf.js, or a Postgres / PostGIS pipeline. Everything runs locally in your browser; the file you paste or drop in is never uploaded.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsConverter Tools