GeoJSON Studio

Open GeoJSON, TopoJSON, KML, GPX, CSV or WKT, draw the coordinates on a simple plain map, and check them against RFC 7946. You can also convert between formats and measure area and length on a sphere. Files are never sent to a server.

On-device・No uploadMobile friendlyWorks offlineBeta

Your files and input are processed only inside your browser on this device and are never uploaded to our servers.

Input

Reads GeoJSON, TopoJSON, KML, GPX, CSV (latitude and longitude columns) and WKT. Text is read as UTF-8 or Shift_JIS (detected automatically).

Drop a GeoJSON or other file here

or

Data is processed only in your browser and is not sent anywhere.Accepts: GeoJSON / TopoJSON / KML / GPX / CSV / WKT (up to 20 MB)Up to 20 MB per filePaste (Ctrl+V) also works
Preview
No data yet. Choose a file or try a sample.

How to use

  1. areas.geojson

    Open a GeoJSON file

  2. Map (no map tiles)Flags swapped lat/lng

    Show on a map and validate

  3. areas.kml
    points.csv (points only)

    Convert to another format

Draw a GeoJSON file on a map, validate it, and convert it to KML, CSV and more
  1. Paste GeoJSON or other text into “Input”, or drop a file (or use “Choose file”). “Try the sample” shows a result straight away.

  2. In “Preview”, the coordinates are drawn in Web Mercator. Drag or use the arrow keys to move, and + / − to zoom. Select a feature on the map or in the list to see its properties, area and length.

  3. In “Check”, the problems against RFC 7946 are listed as errors and warnings. Swapped longitude and latitude and open rings are found there.

  4. In “Convert”, choose GeoJSON, KML, GPX, CSV or WKT. You can reduce the decimal places and drop properties, then save the file.

  5. In “Measure”, the area, length and centre of the whole file and of the selected feature are calculated on a sphere.

What it does

Checks against RFC 7946

Finds swapped [longitude, latitude] pairs, out-of-range values, open rings, ring winding, self-intersection, bbox and the old crs member, and points to the feature number.

Plain preview without map tiles

The background is plain and the coordinates are drawn as SVG in Web Mercator. No map image is fetched, so the preview causes no network traffic. A link opens GSI Maps or OpenStreetMap only when you click it.

Six input formats and five output formats

Reads GeoJSON, TopoJSON (basic), KML, GPX, CSV (latitude and longitude columns) and WKT. Writes GeoJSON, KML, GPX (points and lines), CSV (points) and WKT.

Smaller files and closed rings

Round coordinates to 3–7 decimal places and drop properties before saving. Open rings are closed automatically for KML and WKT, and the count is shown.

Area, length and centre on a sphere

Uses a sphere of radius 6,371 km: polygon area (holes subtracted), line length, perimeter and the mean of vertices. Compared with ellipsoid results, the difference is at most about 1% for 1-degree cells (0.3% or less around Japan).

Use cases

  • Check that a GeoJSON file draws correctly and that longitude and latitude were not swapped
  • Turn latitude and longitude columns from a spreadsheet into KML or GPX for a map app or GPS device
  • Export a list of points as WKT or CSV for a database or GIS software
  • Get a quick rough area or route length (not a survey-grade value)

Supported formats

Input

GeoJSON (FeatureCollection, Feature, geometry)TopoJSON (basic Topology)KML (Placemark, MultiGeometry)GPX (wpt, rte, trk)CSV (latitude and longitude header columns)WKT (one shape per line)

Output

GeoJSONKMLGPX (points and lines; polygons are left out)CSV (points only)WKT

Capability matrix

FeatureSupportNotes
GeoJSON view, check and convertSupported—
RFC 7946 checks (order, range, rings, winding, self-intersection, bbox, crs)SupportedSelf-intersection is a planar approximation; very long rings are not checked
Reading KML, GPX, CSV and WKTPartialKML styles and images are ignored. GPX: waypoints, routes and tracks. CSV needs latitude and longitude columns
Writing KML, GPX, CSV and WKTPartialGPX takes points and lines; CSV takes points only. Other shapes are left out and counted
Reading TopoJSONPartialBasic Topology only (arcs, transform and objects)
Area, length and centre (spherical approximation)PartialTreats the Earth as a sphere. Not for survey or land-registry areas
Rounding coordinates and dropping propertiesSupported—
Showing map tilesNot supportedNo map images are fetched or shown. The background is plain
Reading shapefiles (.shp), KMZ or GeoPackageNot supportedZip and binary files cannot be read. Convert to GeoJSON or KML first
Altitude (third value) on outputPartialKept in KML and GeoJSON. GPX, CSV and WKT write latitude and longitude only
Coordinate system conversion (plane rectangular, UTM and so on to latitude and longitude)Not supportedInput is treated as latitude and longitude (WGS 84). Use the coordinate tool for conversion
Resolving XML DTDs and external entitiesNot supportedXML that contains a DTD or ENTITY declaration is refused for safety

Limits & notes

  • Up to 20 MB, 100,000 features and 2,000,000 vertices. Larger input is refused.
  • The preview draws up to 300,000 vertices and 20,000 shapes. The list, checks, measurements and conversion cover every feature.
  • Area and length assume a sphere of radius 6,371 km. Do not use them for surveying, land registration or boundary decisions.
  • Self-intersection is checked in the plane (on the raw longitude and latitude values). Rings with more than 2,000 vertices are not checked.
  • Input latitude and longitude are treated as WGS 84. Other coordinate systems are not converted.

Privacy & safety

Files you open and text you paste are processed only in your browser. Nothing is sent to or stored on a server. The GSI Maps and OpenStreetMap links open a URL with the centre coordinate only when you click them.

FAQ

What is the coordinate order in GeoJSON?
GeoJSON (RFC 7946) uses [longitude, latitude]. A place in Japan is written [139.7671, 35.6812]. If the two values are swapped, this tool reports them as an error or warning.
Can I view GeoJSON without map tiles?
Yes. The background is plain and the coordinates are drawn as SVG, so you can check the shapes without any network request. To see them over a real map, open the centre in GSI Maps or OpenStreetMap from the detail panel.
Should I convert to KML or GPX?
KML works in Google Earth and many map apps and can hold polygons. GPX is for GPS devices and hiking apps and holds points and lines (routes and tracks). Choose KML for data that contains areas.
How accurate is the area?
It assumes a sphere of radius 6,371 km. For small areas it is a usable guide, but compared with ellipsoid results the difference is at most about 1% for 1-degree cells (0.3% or less around Japan). Do not use it for surveying or land registration.
Are my files uploaded?
No. Reading, checking, converting and measuring all happen in your browser. Saving only downloads the file to your device.
Can it read shapefiles (.shp)?
No. Shapefiles, KMZ and GeoPackage are not supported. Convert them to GeoJSON or KML in a GIS application first.

Last updated: