Alternatives to GraphHopper
An OpenStreetMap routing engine and hosted Directions API with route optimization for many vehicle types. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
GraphHopper
An OpenStreetMap routing engine and hosted Directions API with route optimization for many vehicle types.
Replacements
Listings that take over the same core job as GraphHopper.
openrouteservice
An open-source routing, isochrone and geocoding service built on OpenStreetMap data, usable online or self-hosted.
openrouteservice is free and open source with directions, isochrones, matrices and geocoding in one API, plus QGIS and language clients, though its public API has daily limits.
OSRM
A C++ routing engine that computes shortest paths on OpenStreetMap road networks on your own server.
OSRM is a free C++ engine for Linux servers with very fast queries on large road networks, but has no hosted API or route optimisation service.
Valhalla
An open-source routing engine for OpenStreetMap data that you run on your own server.
Valhalla is a free, self-hosted engine offering multi-modal routing, isochrones and per-request dynamic costing, but requires building routing tiles and running a server.
BRouter
An offline OpenStreetMap routing engine with configurable profiles, aimed mainly at bike routing.
BRouter is an offline routing engine aimed mainly at cycling, with configurable profiles and elevation-aware routing, mostly used as a back end for Android map apps.
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.
Pelias
A modular open-source geocoder built on Elasticsearch that searches places worldwide using open data.
Photon
An open-source search-as-you-type geocoder for OpenStreetMap data, built on OpenSearch.
OpenMapTiles
An open-source schema, map styles and tools for generating OpenStreetMap vector tiles to self-host.
OpenTripPlanner
An open-source multimodal trip planning server that combines transit, walking, cycling and driving routes.
Headway
A self-hostable maps stack with search and routing, powered by OpenStreetMap data.