Calculate the geometric center point for each feature in a vector layer.
Computes the representative center point for each polygon or line feature.
Files are processed in your browser and are not uploaded to servers.
Results are exported as standard GeoJSON FeatureCollections.
Upload the GeoJSON layer to compute centroids.
The Centroid tool computes the geometric center point of every feature in a layer and returns a clean point layer. For each polygon or line it calculates a representative center, so a file of parcels becomes a file of parcel center-points with the same attribute table attached.
Converting areas to representative points is a daily task in cartography and analysis: label placement on administrative regions, finding the center of a service district, generating point-of-interest data from building footprints, or preparing inputs for nearest-neighbor studies. The computation runs locally in your browser, and the result downloads as GeoJSON.
Upload your GeoJSON or Shapefile layer; both polygon and line features are supported, and attributes are previewed after loading.
Run the centroid computation — each feature is processed in the browser and replaced by its geometric center point, with all original attributes preserved.
Check the resulting point layer in the preview and download it as a GeoJSON FeatureCollection.
ANot necessarily. The centroid is the geometric center of the shape, so for crescent- or L-shaped polygons it can land outside the boundary. If you strictly need an inside point, run the result through further processing or use representative-point logic in your downstream tool.
AEvery attribute is copied from the source feature to its centroid point, so you can keep names, IDs, and any other properties in the output point layer.
AThis tool works per feature, producing one centroid for each polygon or line. To get a single center for the entire dataset, first dissolve the layer into one feature with the Vector Dissolve tool and then compute its centroid here.