GeoDataViewer
Menu
Launch Studio
Theme
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 FeatureCollection that groups multiple features
  • Feature objects with a geometry and properties
  • 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

  1. Go to /open-geojson-online/.
  2. Upload your .geojson or .json file (or paste the content).
  3. Inspect the map and attribute table to confirm the data is correct.

Converting to or from GeoJSON

Common conversions include: