Alternatives to Valhalla
An open-source routing engine for OpenStreetMap data that you run on your own server. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
Valhalla
An open-source routing engine for OpenStreetMap data that you run on your own server.
Replacements
Listings that take over the same core job as Valhalla.
OSRM
A C++ routing engine that computes shortest paths on OpenStreetMap road networks on your own server.
OSRM is a C++ engine with very fast queries on large road networks and customisable car, bike and walking profiles, but it does not list isochrones or multi-modal routing.
GraphHopper
An OpenStreetMap routing engine and hosted Directions API with route optimization for many vehicle types.
GraphHopper offers a self-hostable engine plus a hosted Directions API with custom vehicle profiles, while route optimization and traffic sit in the paid hosted service.
openrouteservice
An open-source routing, isochrone and geocoding service built on OpenStreetMap data, usable online or self-hosted.
openrouteservice adds geocoding, matrices and a free public API alongside directions and isochrones, and can be self-hosted with Docker Compose or as a JAR.
BRouter
An offline OpenStreetMap routing engine with configurable profiles, aimed mainly at bike routing.
BRouter is an offline routing engine aimed at bike routing with configurable profiles and elevation-aware routes, running on Android and web rather than a Linux server.
OpenTripPlanner
An open-source multimodal trip planning server that combines transit, walking, cycling and driving routes.
OpenTripPlanner is an open-source server that combines transit with walking, cycling and driving using OpenStreetMap and GTFS data, focused on journey planning.
Similar software
Related functionality, not a direct replacement.
Nominatim
An open-source geocoder that finds places by name or address and addresses by coordinates using OpenStreetMap.
Photon
An open-source search-as-you-type geocoder for OpenStreetMap data, built on OpenSearch.
Pelias
A modular open-source geocoder built on Elasticsearch that searches places worldwide using open data.
OpenMapTiles
An open-source schema, map styles and tools for generating OpenStreetMap vector tiles to self-host.
Headway
A self-hostable maps stack with search and routing, powered by OpenStreetMap data.
TileServer GL
A self-hosted map tile server for vector and raster tiles with server-side rendering of GL styles.