FileBrixNo upload · Private
Processed locally — your file never leaves your device

GeoJSON Centroid

Find the centroid (center point) of GeoJSON, KML or GPX features — entirely in your browser.

Drop a GeoJSON, TopoJSON, KML, KMZ, GPX, zipped Shapefile or CSV file hereor click to choose a file from your deviceNothing is uploaded — the file is detected and processed entirely on your device.

How it works

  1. Select or drop a .geojson, .kml or .gpx file.
  2. Click Centroid to compute the center point of every feature locally.
  3. Preview the points on the map and download them as GeoJSON.

Frequently asked questions

What is a centroid?
The average position of a shape's geometry — its balance point. For a polygon it's the middle of its area; for a line, the middle of its vertices.
Is my file uploaded anywhere?
No. Centroids are computed on your device with Turf.js.
Can the centroid fall outside the shape?
Yes, and that's expected. A crescent or an L-shaped polygon has its centroid outside its own boundary — the centroid is a mathematical average, not a guaranteed interior point.
Does each feature get its own centroid?
Yes. Every feature in the file produces one point, keeping its original properties.