CDCodDepot
Categories

Β© 2026 CodDepot. All rights reserved.

HomeCategoriesPrivacy PolicyTerms
  1. Home
  2. /
  3. Developer
  4. /
  5. GeoJSON Viewer & Validator
πŸ—ΊοΈ

GeoJSON Viewer & Validator

Visualize, validate and inspect GeoJSON data on an interactive map.

Share𝕏Post on XinLinkedIn
Samples

Code

70 lines Β· 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "name": "NYC"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          -74.006,
          40.7128
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "NYC ↔ Boston"
      },
      "geometry": {
        "type": "LineString",
        "coordinates": [
          [
            -74.006,
            40.7128
          ],
          [
            -71.0589,
            42.3601
          ]
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "Test polygon"
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              -74.05,
              40.7
            ],
            [
              -73.95,
              40.7
            ],
            [
              -73.95,
              40.78
            ],
            [
              -74.05,
              40.78
            ],
            [
              -74.05,
              40.7
            ]
          ]
        ]
      }
    }
  ]
}

Map

3 features

Validation

βœ… Valid

No issues found.

Inspector

Type
FeatureCollection
Features
3
Coordinates
8
Size
1.13 KB

Geometries

  • Point1
  • LineString1
  • Polygon1

Bounding box

[-74.050000, 40.700000, -71.058900, 42.360100]

Features (3)

Export

WKT (Well-Known Text)

GEOMETRYCOLLECTION (POINT (-74.006 40.7128), LINESTRING (-74.006 40.7128, -71.0589 42.3601), POLYGON ((-74.05 40.7, -73.95 40.7, -73.95 40.78, -74.05 40.78, -74.05 40.7)))

Was this tool useful?

Your vote is saved on this device only.

About GeoJSON Viewer & Validator

Paste or upload GeoJSON and instantly see it drawn on an interactive map, with points, lines and polygons rendered exactly where they fall. The tool parses your data, flags syntax errors and structural problems, and lets you click any feature to inspect its geometry type, coordinates and properties so you can confirm the file says what you think it does.

It is built for developers, GIS analysts and mapping engineers who need to sanity-check FeatureCollections, debug a malformed export or eyeball coordinate order before shipping. Because it runs entirely in your browser, your GeoJSON never leaves your machine and nothing is uploaded to a server, making it safe for proprietary or sensitive geometry. It is completely free, with no sign-up and no limits.

How to use

  1. Paste your GeoJSON into the editor, or upload a .geojson/.json file.
  2. Watch the features render automatically on the interactive map.
  3. Review the validation panel for any syntax or structure errors.
  4. Click a feature on the map to inspect its geometry and properties.
  5. Fix flagged issues in the editor and confirm the map updates.

Features

  • βœ“Live map preview of every feature
  • βœ“Validates GeoJSON syntax and structure
  • βœ“Supports all geometry types and FeatureCollections
  • βœ“Click features to inspect properties
  • βœ“Runs fully in-browser, nothing uploaded
  • βœ“Free with no sign-up or limits

Frequently asked questions

Is my GeoJSON uploaded anywhere?+

No. Parsing, validation and map rendering all happen locally in your browser, so your data never touches a server. It is free to use with no account required.

Which GeoJSON geometry types are supported?+

All standard types are handled: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, plus Feature and FeatureCollection wrappers.

What kinds of problems does the validator catch?+

It reports invalid JSON syntax and structural issues such as missing or malformed type fields and bad coordinate arrays, so you can pinpoint why a file fails to load.

Why does my data appear in the wrong place on the map?+

GeoJSON uses [longitude, latitude] order. If your features land in the ocean or off the expected region, your coordinates are likely swapped to [latitude, longitude].

Can I inspect the properties attached to a feature?+

Yes. Click any rendered feature on the map to view its geometry type, coordinates and the full set of properties stored on it.

Related tools

🧾

JSON Formatter / Validator

Format, minify, and validate JSON with syntax highlighting.

πŸ”

Base64 Encoder / Decoder

Encode plain text to Base64 or decode it back.

πŸ”—

URL Encoder / Decoder

Percent-encode and decode URL components.