SelfHostHub

Open-source alternatives to Google Maps

The most popular self-hosted, open-source alternatives to Google Maps (maps and GPS tracking) are Dawarich (10,695 GitHub stars), Open Source Routing Machine (OSRM) (8,151 GitHub stars) and GraphHopper (6,732 GitHub stars). SelfHostHub lists 12 options below, taken from its Maps and Global Positioning System category; 7 support Docker and all of them can run on your own server.

Comparison of self-hosted Google Maps alternatives

ProjectGitHub starsLicenceLanguage / platformWhat it does
Dawarich10,695AGPL-3.0DockerVisualize your location history, track your movements, and analyze your travel patterns with complete privacy and control (alternative to Google Timeline a.k.a. Google Location History).
Open Source Routing Machine (OSRM)8,151BSD-2-ClauseC++High performance routing engine designed to run on OpenStreetMap data and offering an HTTP API, C++ library interface, and Nodejs wrapper.
GraphHopper6,732Apache-2.0JavaFast routing library and server using OpenStreetMap.
Nominatim4,521GPL-2.0CServer application for geocoding (address -> coordinates) and reverse geocoding (coordinates -> address) on OpenStreetMap data.
wanderer4,010AGPL-3.0Docker, Go, NodejsTrail database where you can upload your recorded tracks or create new ones and add various metadata to build an easily searchable catalogue.
AdventureLog3,821GPL-3.0DockerTravel tracker and trip planner.
TileServer GL2,910BSD-2-ClauseNodejs, DockerVector 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.
OpenStreetMap2,853GPL-2.0RubyCollaborative project to create a free editable map of the world.
OpenTripPlanner2,760LGPL-3.0Java, JavascriptMultimodal trip planning software based on OpenStreetMap data and consuming published GTFS-formatted data to suggest routes using local public transit systems.
OpenRouteService1,984GPL-3.0Docker, JavaRoute service with directions, isochrones, time-distance matrix, route optimization, etc.
TRIP1,954MITDockerMinimalist POI Map tracker and Trip planner.
AirTrail1,647GPL-3.0Docker, NodejsPersonal flight tracking system.

Star counts and licences come from the awesome-selfhosted dataset and may lag GitHub slightly.

Browse the full categories

All self-hosted Maps and Global Positioning System (GPS)

Frequently asked questions

What is the best open-source alternative to Google Maps?

By GitHub stars, Dawarich is the most popular self-hosted alternative to Google Maps listed here, followed by Open Source Routing Machine (OSRM) and GraphHopper. The best fit depends on the features and stack you need.

Is there a free self-hosted alternative to Google Maps?

Yes. All 12 projects on this page are open source and can be self-hosted at no licence cost; you pay only for your own server.

Which licences do these Google Maps alternatives use?

The most common licences among them are GPL-3.0 (3), AGPL-3.0 (2) and BSD-2-Clause (2).

Can I run a Google Maps alternative with Docker?

7 of the 12 alternatives list Docker as a supported platform.