Free, open-source alternatives to Mapbox

Maps, geocoding and routing APIs. 5 apps you can run yourself instead of Mapbox, sorted by how well they replace it. Each one is open source, so your data stays with you.

  1. TileServer GLBest match

    Vector and raster maps with GL styles. Server side rendering by Mapbox GL Native. Map tile server for Mapbox GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.

    2.9k starsBSD-2-ClauseUpdated 13 October 2026
  2. Nominatim

    Server application for geocoding (address -> coordinates) and reverse geocoding (coordinates -> address) on OpenStreetMap data.

    4.5k starsGPL-2.0Updated 12 October 2026
  3. GraphHopper

    Fast routing library and server using OpenStreetMap.

    6.7k starsApache-2.0Updated 7 October 2026
  4. OpenRouteService

    Route service with directions, isochrones, time-distance matrix, route optimization, etc.

    2k starsGPL-3.0Updated 12 October 2026
  5. Open Source Routing Machine (OSRM)

    High performance routing engine designed to run on OpenStreetMap data and offering an HTTP API, C++ library interface, and Nodejs wrapper.

    8.1k starsBSD-2-ClauseUpdated 12 October 2026

Side by side

AppStarsLicenseActivityRuns on
TileServer GL2,909BSD-2-ClauseNode.js, Docker
Nominatim4,514GPL-2.0C
GraphHopper6,728Apache-2.0Java
OpenRouteService1,980GPL-3.0Docker, Java
Open Source Routing Machine (OSRM)8,135BSD-2-ClauseC++

Why replace Mapbox?

Mapbox works, but your data lives in someone else's account, the price can change at any time, and features can disappear. An open-source app you run yourself is yours: you choose where it runs, who can see the data, and when to update.

Questions

What is the best free alternative to Mapbox?

TileServer GL is the closest open-source replacement for Mapbox in our list. Nominatim and GraphHopper are worth a look too, depending on what you need.

Can I self-host an alternative to Mapbox?

Yes. All 5 apps on this page are open source and can run on your own server, usually with Docker, or on a managed host that installs them for you.