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
| Project | GitHub stars | Licence | Language / platform | What it does |
|---|---|---|---|---|
| Dawarich | 10,695 | AGPL-3.0 | Docker | Visualize 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,151 | BSD-2-Clause | C++ | High performance routing engine designed to run on OpenStreetMap data and offering an HTTP API, C++ library interface, and Nodejs wrapper. |
| GraphHopper | 6,732 | Apache-2.0 | Java | Fast routing library and server using OpenStreetMap. |
| Nominatim | 4,521 | GPL-2.0 | C | Server application for geocoding (address -> coordinates) and reverse geocoding (coordinates -> address) on OpenStreetMap data. |
| wanderer | 4,010 | AGPL-3.0 | Docker, Go, Nodejs | Trail database where you can upload your recorded tracks or create new ones and add various metadata to build an easily searchable catalogue. |
| AdventureLog | 3,821 | GPL-3.0 | Docker | Travel tracker and trip planner. |
| TileServer GL | 2,910 | BSD-2-Clause | Nodejs, Docker | 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. |
| OpenStreetMap | 2,853 | GPL-2.0 | Ruby | Collaborative project to create a free editable map of the world. |
| OpenTripPlanner | 2,760 | LGPL-3.0 | Java, Javascript | Multimodal trip planning software based on OpenStreetMap data and consuming published GTFS-formatted data to suggest routes using local public transit systems. |
| OpenRouteService | 1,984 | GPL-3.0 | Docker, Java | Route service with directions, isochrones, time-distance matrix, route optimization, etc. |
| TRIP | 1,954 | MIT | Docker | Minimalist POI Map tracker and Trip planner. |
| AirTrail | 1,647 | GPL-3.0 | Docker, Nodejs | Personal flight tracking system. |
Star counts and licences come from the awesome-selfhosted dataset and may lag GitHub slightly.
Browse the full categories
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.