• GeoDataViewer Team
What Is GeoJSON? A Simple Format for Web Mapping
What is GeoJSON and why is it so common in web maps and APIs? Learn the structure, use cases, limitations, and how to open GeoJSON online.
GeoJSON is a JSON-based format for representing geographic features such as points, lines, and polygons. It’s widely used in web mapping, APIs, and modern GIS workflows because it is simple to parse, easy to share, and works well with JavaScript tooling.
To preview a file quickly, use the GeoJSON viewer: /open-geojson-online/.
What GeoJSON contains
GeoJSON usually contains:
- A
FeatureCollectionthat groups multiple features Featureobjects with ageometryandproperties- Geometry types such as
Point,LineString,Polygon, and multi-geometries
When GeoJSON is a good choice
Use GeoJSON when you need:
- A lightweight interchange format for web maps
- A convenient output for APIs and front-end applications
- Something easy to inspect and debug in text form
Limitations to know
- Large datasets can be heavy because JSON is verbose.
- GeoJSON does not inherently store styling; styling is usually handled by the map application.
- CRS support is limited in practice. Most web mapping assumes WGS84 / EPSG:4326 or Web Mercator for display.
How to open GeoJSON online
- Go to /open-geojson-online/.
- Upload your
.geojsonor.jsonfile (or paste the content). - Inspect the map and attribute table to confirm the data is correct.
Converting to or from GeoJSON
Common conversions include:
- Shapefile to GeoJSON: /shapefile-to-geojson/
- KML to GeoJSON: /kml-to-geojson/
- GPX to GeoJSON: /gpx-to-geojson/
Related reading
- Comparison: /blog/gml-vs-geojson/
- Comparison: /blog/kml-vs-geojson/