Leaflet is the more common of the two in our index: it runs on 10,125 websites against 1,570 for Mapbox GL JS, and 898 sites use both. Counts come from real scans of each site's home page, not vendor claims, and cover the sites in TechLookup.app's index rather than the whole web.
Leaflet is the open-source JavaScript library for mobile-friendly interactive maps.
Mapbox GL JS is a JavaScript library that uses WebGL to render interactive maps from vector tiles and Mapbox styles.
Among sites in the Tranco top 10,000, Leaflet appears on 31 and Mapbox GL JS on 2; across the top million it is 7,132 against 896. Within the maps sites we have indexed, Leaflet holds 23% and Mapbox GL JS 3.6%.
Leaflet: 10,125 sites, on 23% of Maps sites
Indexed sites in the countries where the two are most used. A site's country is read from its domain ending, or from its own server for .com and other generic endings. Sites behind a shared CDN or cloud on a generic ending have no country and are not counted here.
| Country | Leaflet | Mapbox GL JS |
|---|---|---|
| Germany | 1,155 | 81 |
| France | 1,014 | 68 |
| United States | 416 | 81 |
| Poland | 409 | 12 |
| Hong Kong SAR China | 103 | 262 |
| Netherlands | 291 | 42 |
898 sites run both Leaflet and Mapbox GL JS. That is 57% of the sites using Mapbox GL JS, the smaller of the two.
Want to know which one a particular site uses? Look it up and see its whole stack, or compare two sites side by side.
| Italy | 265 | 13 |
|---|
| United Kingdom | 217 | 47 |
|---|
Export all 10,125 Leaflet sites as CSV on the Pro plan, $49 a month. Export on Pro → or download a free 5-row sample CSV.
Export all 1,570 Mapbox GL JS sites as CSV on the Starter plan, $19 a month. Export on Starter → or download a free 5-row sample CSV.