MapTools
Open source Open source

Turf.js

Geospatial analysis in JavaScript, in the browser or Node

What is Turf.js?

Turf.js is a modular open-source library for spatial analysis in JavaScript: buffers, distances, areas, point-in-polygon, clustering, interpolation and more, all on GeoJSON.

Key features

  • Buffers, unions and intersections
  • Distance, area and bearing
  • Point-in-polygon and clustering
  • Works in browser and Node.js

Pricing

Model
Open source
Starts at
Free
Free tier
Free to use
Software licence
MIT

Prices change often. Check the official pricing page before you buy.

Licensing & map usage

Commercial useAllowed
Export / print map imagesAllowed
Offline use / cachingAllowed

Summary only, not legal advice. The provider's current terms always apply.

Turf.js alternatives

See all

Protomaps

protomaps.com

Self-host an entire world basemap as a single PMTiles file

Open sourceBasemaps9

Mapbox

mapbox.com

Custom map styles, vector tiles and location APIs for developers

FreemiumBasemaps8

Google Maps Platform

mapsplatform.google.com

Google's maps, places, routes and 3D tiles APIs

PaidBasemaps7

MapLibre GL JS

maplibre.org

Open-source vector map rendering for the web and mobile

Open sourceLibraries6

kepler.gl

kepler.gl

Drag-and-drop geospatial data visualization in the browser

Open sourceData Viz5

Leaflet

leafletjs.com

The lightweight open-source JavaScript library for interactive maps

Open sourceLibraries4