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
AdSense Placeholder β€” Leaderboard 728Γ—90
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.

AdSense Placeholder β€” Medium Rectangle 300Γ—250

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.

AdSense Placeholder β€” Leaderboard 728Γ—90